ietf-asrg
[Top] [All Lists]

Re: [Asrg] 6. Email Path Verification (hashcash benchmarks)

2003-09-13 21:14:36
At 12:14 AM +0100 2003/09/14, Jonathan Morton wrote:

 Got it to compile on a Classic Mac, mostly by hacking out all the
 option parsing.  The below is using CodeWarrior Pro 5, optimised
 for a PPC601 or 68020.

Compiling on my PowerBook G4 only required taking the following line and moving it outside of the #ifdef:

                #include "getopt.h"


Anyway, my results. First, my PowerBook G4 (800MHz DVI, 1GB RAM, MacOS X 10.2.6):

                % ./hashcash -s -b 20
                time estimate: 2 seconds
                % ./hashcash -s
                speed: 779500 collision tests per second

On an old Compaq Armada 4131T laptop w/ Pentium-133 (not MMX), 48MB of RAM, and FreeBSD 4.6.2-REL, I get:

                % ./hashcash -s -b 20
                time estimate: 28 seconds
                % ./hashcash -s
                speed: 37400 collision tests per second

On the UltraSPARC server I previously mentioned (Sun UltraEnterprise 1, UltraSPARC-I @ 167MHz, 256MB RAM, Solaris 9), I get:

                % ./hashcash -s -b 20
                time estimate: 14 seconds
                % ./hashcash -s
                speed: 75200 collision tests per second


As soon as I can get my Soekris 4521 WiFi base stations/firewalls up and running, I can give you some benchmarks on them also. And when my Ultra 10 clones come in, and my 4-way Intel compute/fileserver arrives, I can run those as well.

Note that the UltraSPARC machine listed above is the mail server for a reasonably high-profile project that I am otherwise involved in, and I imagine it would be hurt pretty bad if we had to run a hashcash scheme on it.

--
Brad Knowles, <brad(_dot_)knowles(_at_)skynet(_dot_)be>

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
    -Benjamin Franklin, Historical Review of Pennsylvania.

GCS/IT d+(-) s:+(++)>: a C++(+++)$ UMBSHI++++$ P+>++ L+ !E-(---) W+++(--) N+
!w--- O- M++ V PS++(+++) PE- Y+(++) PGP>+++ t+(+++) 5++(+++) X++(+++) R+(+++)
tv+(+++) b+(++++) DI+(++++) D+(++) G+(++++) e++>++++ h--- r---(+++)* z(+++)

_______________________________________________
Asrg mailing list
Asrg(_at_)ietf(_dot_)org
https://www1.ietf.org/mailman/listinfo/asrg