Re: benchmark

Justin Guyett <[email protected]>
Newsgroups gmane.mail.spam.hashcash
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.