I ran a few small tests on an old slow system and only looked at messages/second.
Based on my very limited testing SpeedyCGI is slightly faster than forkserver
There could easily be some problems in my test evironment, so these results are more a
starting
point for discussion than anything else.
forkserver
$ ./smtpsend -s 10 -c 1 -m 1 -b 4096 -n 100 -F [EMAIL PROTECTED] -T [EMAIL PROTECTED]
-S "SMTP Benchmark
test" -v -p 8025
Sending rate: 16.95 messages/minute, 0.28 messages/second
Average delivery time: 3.54 seconds/message
speedyCGI
$ ./smtpsend -s 10 -c 1 -m 1 -b 4096 -n 100 -F [EMAIL PROTECTED] -T [EMAIL PROTECTED]
-S "SMTP Benchmark test" -v
Sending rate: 18.63 messages/minute, 0.31 messages/second
Average delivery time: 3.22 seconds/message
Here is the benchmark system I used:
http://www.etc.msys.ch/software/smtp-benchmark/
To get smtpsend to compile on Linux I changed:
strlcat to strncat
and
strlcpy to strncpy
then did:
gcc smtpsend.c
mv a.out smtpsend
Once its compiled usage is:
$ ./smtpsend
usage: smtpsend [options] [host]
options:
-s senders Number of parallel senders
-c connections Number of connections per sender
-m messages Send n messages per connection
-b bytes Message size in bytes
operation modes (exactly one is required):
-n messages Send at least n messages
-t seconds Run for n seconds
miscellaneous:
-p port Port number to connect to
-F from_address Specify the senders e-mail address
-T to_address Specify the recipients e-mail address
-S subject Specify subject of the message
-v Be verbose (give twice to show SMTP traffic)
Jim
James H. Thompson
[EMAIL PROTECTED]