Re: benchmark

Atom 'Smasher' <[email protected]>
Newsgroups gmane.mail.spam.hashcash
Message-ID <20040915022416.W52683@willy_wonka>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, 15 Sep 2004, Justin Guyett wrote:

> 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.
===============


hhmmm... my build is with different flags (on freeBSD)...

# make x86
make "CFLAGS=-DREGEXP_POSIX -O3 -funroll-loops -march=i386 -mcpu=pentium -mmmx  -D_REENTRANT -D_THREAD_SAFE -fPIC " build


# make [generic]
make "CFLAGS=-DREGEXP_POSIX -O3 " build



 	...atom

  _________________________________________
  PGP key - http://atom.smasher.org/pgp.txt
  762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
  -------------------------------------------------

 	"The two most common elements in the universe
 	 are hydrogen and stupidity."
 		-- Harlan Ellison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.6 (FreeBSD)
Comment: What is this gibberish?
Comment: http://atom.smasher.org/links/#digital_signatures

iQEcBAEBCAAGBQJBR+DmAAoJEAx/d+cTpVcif1cIALEtjJOuWXViO4QGG5SX5FwZ
WVxTZf02DVZQC2p8RwYHv9KISSdj8uiJm8F7RieC0s8WF6CpzpFyGpCZv5eojDvi
sOZec6CfuIy7e1w4kYvunFoV+sBMta05ktVPJFiEKslQd3iv9qzUhslAnhIJOcpi
no/xNnENS16sWu95PBfE/UZKN4xKl9H1rmd5oy8uv6lRZn0ng7im1/DDeWV8drHT
8752P9IeBrdthNlMqXU+gKWJhsusxluz4FfP825lUH9lpA4D2aUUcBkL9Szg/L/w
/veTV7I1CXE1xr2o6V0SV2mYMpBigR0j8G+4OOj6mLRf0LO5eLhojmdEn/p5nWE=
=AS2n
-----END PGP SIGNATURE-----
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.