
vahid.moghaddasi at gmail
Mar 13, 2013, 8:04 PM
Post #10 of 10
(437 views)
Permalink
|
On Tue, Mar 12, 2013 at 11:03 PM, Kyle Wheeler <kyle-qmail [at] memoryhole>wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > > Doing some rough calculations, there are 86400 seconds in a day, so if > you send 1 million emails per day, that's a maximum of 0.0864 seconds > per email, assuming they all had to happen one after the other. > However, on a multi-core machine, you have more flexibility. For > example, on my 6-year-old (or so) 8-core 2.4GHz Xeon, my perl-based > DKIM signer took 0.176 seconds to compute a signature. That means it > can process just over 490,000 emails per day using a single core. If > all eight cores are pegged, my little server can process nearly 4 > million messages per day. Granted, half of those cores are > hyperthreaded cores, but even if we halve the performance, my old > server can sign approximately 2 million messages per day. Now, > granted, I'm not leaving any time for the other things that have to be > done (I/O, for example), but you get the idea. > > I imagine your server is faster than mine, possibly newer. I'd be > surprised if it choked on 1 million signatures per day. If you had a > balanced approach, with multiple servers sending messages instead of > just one, I don't think you'd have any problem at all. You might have > some higher latencies, especially if you tried to shove all of the > emails through a single server, but it sounds like you already have a > bunch of email processing machines to handle your load. > > Of course, your mileage may vary, and that's just rough calculating. > My server might be a bit faster, I have a few Oracle/Sun Sparc T4-4 servers, each has 4 cpu and each cpu has 8 core, each core has 8 threads, total of 256 threads. I am also thinking of porting to HP DL980 but it is way too expensive for what it offers. I am using "Manuel Mausz" qmail-remote perl wrapper for DKIM, not sure if this is the best one but I found this a few years ago which was easy to implement and has been working fine so far, except some cpu spike sometimes. Thank you all for the discussion and help. Vahid.
|