[hashcash] Re: Low end benchmarks

  • From: "John Honan" <jhonan@xxxxxxxxxxxxxxx>
  • To: hashcash@xxxxxxxxxxxxx
  • Date: Sat, 28 Aug 2004 18:25:58 -0500 (CDT)

> John: for what you're doing you need to run hashcash_benchtest, the
> hashcash -s code is busted in hashcash-1.03p4* (all of the 1.03
> versions).
>
> Adam
>

Do you mean fastmint_benchtest? - I think this is what I'm looking for -
The results look about right for a P4 2GHz anyway;

knoppix@ttyp0[hashcash-1.03]$ fastmint_benchtest
    Rate  Name (* machine default)

   766681 ANSI Compact 1-pipe
    Solution:   1:22:040404:foo::0123456789abcdef:0000000JaED
    Iterations: 5129101
    Time taken: 6.690

   805196 ANSI Standard 1-pipe
    Solution:   1:22:040404:foo::0123456789abcdef:0000000JaED
    Iterations: 5129101
    Time taken: 6.370

   811566 ANSI Ultra-Compact 1-pipe
    Solution:   1:22:040404:foo::0123456789abcdef:0000000JaED
    Iterations: 5129101
    Time taken: 6.320

  1171027 ANSI Compact 2-pipe
    Solution:   1:22:040404:foo::0123456789abcdef:0000000JaED
    Iterations: 5129101
    Time taken: 4.380

  1227057 ANSI Standard 2-pipe
    Solution:   1:22:040404:foo::0123456789abcdef:0000000JaED
    Iterations: 5129101
    Time taken: 4.180

   ---    PowerPC Altivec Standard 1x4-pipe  (Not available on this machine)
   ---    PowerPC Altivec Compact 2x4-pipe  (Not available on this machine)
   ---    PowerPC Altivec Standard 2x4-pipe  (Not available on this machine)
  1928233 AMD64/x86 MMX Compact 1x2-pipe
    Solution:   1:22:040404:foo::0123456789abcdef:0000000JaED
    Iterations: 5129101
    Time taken: 2.660

  2396776 AMD64/x86 MMX Standard 1x2-pipe *
    Solution:   1:22:040404:foo::0123456789abcdef:0000000JaED
    Iterations: 5129101
    Time taken: 2.140

Best minter: AMD64/x86 MMX Standard 1x2-pipe (2396776 hashes/sec)
Projected average times to mint:
  8 bits:     0.000 seconds (106.8 microseconds)
 10 bits:     0.000 seconds (427.2 microseconds)
 16 bits:     0.027 seconds
 20 bits:     0.437 seconds
 22 bits:     1.750 seconds
 24 bits:     7.000 seconds
 26 bits:    28.000 seconds
 28 bits:   111.999 seconds (1.9 minutes)
 30 bits:   447.994 seconds (7.5 minutes)


Other related posts: