[hashcash] Re: Hashcash on SMP.

Yes you could do that.  In fact the hashcash java library by Sebastian
Gesemann has an option to start multiple threads to take advantage of
SMP machines.  (it's -t #threads option).

On the other hand, if you want to avoid clobbering the machine (your
use of nice in the hashcash daemon), I wonder if an SMP machine with
one processor free of hashcash is likely to perform more interactively
and smoothly for interactive intensive applications than if one hits
both processors with a niced hashcash.

Adam

On Tue, Mar 09, 2004 at 09:50:01PM -0600, Kyle Hasselbacher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> It seems to me that searching for a stamp is something you could do on
> multiple processors at once.  If I had an SMP system, I could do this
> crudely now by forking out N hashcash minting jobs (where N is the number
> of processors) and then take the one that finishes first (killing the other
> N-1).  I don't know how hard it would be to build that into the hashcash
> tool so that one could just say "-j 4" and have it run four at a time, but
> that might be handy.
> - -- 
> Kyle Hasselbacher | Work is the only thing you do for years
> kyle@xxxxxxxxxxx  | without getting the habit. -- Bob Shaw
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> 
> iD8DBQFATpBp10sofiqUxIQRAvYFAKCGaxzel6J6Y7mcTXW/Jn2qgOviPgCgv96A
> lH5+zsxji0/RVJIdlz9e8yk=
> =lghX
> -----END PGP SIGNATURE-----

Other related posts: