On Wed, Feb 11, 2004 at 12:29:29PM -0600, wayne wrote:
I disagree that this factor of two is significant. Shevek points out
that "I can perform 100,000 HMAC SHA1 encryptions in Perl on my
desktop PC in 1.4 seconds. In C, the performance will double or
treble." Until MTAs can accept 100,000 messages in around 1.4
seconds, using SHA1 isn't a problem.
Shevek's data is good enough proof for me that speed isn't an issue.
I bet he ran a for loop inside perl. Here is a more real data:
Do one hundred transformations:
time for i in `awk 'BEGIN{ for(i=1;i<=100;i++) print i}'`; do
/usr/bin/srs --address(_at_)8#²Qõ --hashlength=20 --forward --secret=secret
--alias=alias
done
[...]
real 0m25.675s
user 0m18.790s
sys 0m1.430s
This means 25 seconds. For 100K trafo, this is 25000s or almost 7 hours.
If I redirect to /dev/null, it completes in 20 seconds---still 5.5 hours.
This is on 650MHz low end (though not busy) Linux system.
Mate
--
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html