[hashcash] Re: benchmark

  • From: Justin Guyett <justin@xxxxxxxx>
  • To: hashcash@xxxxxxxxxxxxx
  • Date: Wed, 15 Sep 2004 05:17:13 +0000

On 2004-09-14T22:39:38-0400, Atom 'Smasher' wrote:
> when minting stamps, i get almost a 50% failure rate:
>    $ hashcash -Xm foo
>    ERROR: requested 20 bits, reported 20 bits, got 1 bits using AMD64/x86 MMX 
> Standard 1x2-pipe minter: "1:20:040915:foo::ryzM4fvR3J/CGAf9:00002xgx"


I get that, too, when I let gentoo compile hashcash.  It ends up
building with these flags:

-O3 -march=pentium3 -pipe -fomit-frame-pointer -O3    -c

it works fine with the default flags for "make x86", namely

-DREGEXP_POSIX -O3 -funroll-loops -march=i386 -mcpu=pentium -mmmx
-D_REENTRANT -D_THREAD_SAFE -fPIC    -c

This is all with gentoo (obviously), on a dual p3-1ghz.


Other related posts: