Please run the C hashcash code found at hashcash.org. I would
appreciate seeing
the performance numbers. I would also like to see them for any non
Intel
machines as well like Sparc and Alpha.
I'll see what I can pull together.
First, a 1600MHz Athlon-XP:
chromi(_at_)hydrogen hashcash-0.27 $ ./hashcash -s -b 20
time estimate: 2 seconds
chromi(_at_)hydrogen hashcash-0.27 $ ./hashcash -s
speed: 649351 collision tests per second
Second, a 200MHz Pentium-MMX:
chromi(_at_)lithium hashcash-0.27 $ ./hashcash -s -b 20
time estimate: 15 seconds
chromi(_at_)lithium hashcash-0.27 $ ./hashcash -s
speed: 69396 collision tests per second
Both of the above are using GCC3 with default compile options, no
architecture or CPU specific stuff. Surprisingly, the scaling looks
linear with clock speed, an old Pentium isn't usually this good when
compared with an Athlon. I'll have to examine the algorithm and figure
out why.
It doesn't compile first time on the Macs, will need to hack on it a
bit.
--------------------------------------------------------------
from: Jonathan "Chromatix" Morton
mail: chromi(_at_)chromatix(_dot_)demon(_dot_)co(_dot_)uk
website: http://www.chromatix.uklinux.net/
tagline: The key to knowledge is not to rely on people to teach you it.
_______________________________________________
Asrg mailing list
Asrg(_at_)ietf(_dot_)org
https://www1.ietf.org/mailman/listinfo/asrg