[hashcash] Re: cpu detection, disabling mmx code on non mmx cpu (Re: Re: status of hashcash version 1?)
- From: Jean-Luc Cooke <jlcooke@xxxxxxxxxxxxxx>
- To: hashcash@xxxxxxxxxxxxx
- Date: Thu, 5 Aug 2004 11:22:51 -0400
My my MD5 ASM libs are of any help, please use them (CVS instructions below).
I have X86 (ALU, MMX, SSE2 and interwoven mixes of the three), PPC (ALU,
AltiVec and interwoven), SPARC, Alpha.
http://www.md5crk.com/?sec=howhelp
I have MD5 rates posted here:
http://www.md5crk.com/?sec=speeds
Though I know hashcash doesn't use MD5 (good for you!) the ASM files may be
of some use to you.
Also, I wrote a JavaApplet/JavaScript implementation of Hashcash for use with
Web-Based email applications; removing the load of computing hashcash's to
the client. The Pure JavaScript version is over 100 times slower than the
"JavaScript calling a method in the Java Applet" version.
What is the performance you're getting from ANSI-C sha1 libs? I have a full
generic message digest algorithm library which computes 1.25 Million SHA-1
transforms per second (sample code below):
{ time_t start, end;
sha1_init(&CTX);
time(&start);
for (i=0; i<10000000; i++)
sha1_update(&CTX,
"0123456701234567012345670123456701234567012345670123456701234567", 64);
time(&end);
sha1_final(D, &CTX);
printf("delta = %lu\n", end-start);
}
Other than providing code which you already have. How can I help?
JLC
Other related posts:
- » [hashcash] cpu detection, disabling mmx code on non mmx cpu (Re: Re: status of hashcash version 1?)
- » [hashcash] Re: cpu detection, disabling mmx code on non mmx cpu (Re: Re: status of hashcash version 1?)
- » [hashcash] Re: cpu detection, disabling mmx code on non mmx cpu (Re: Re: status of hashcash version 1?)
- » [hashcash] Re: cpu detection, disabling mmx code on non mmx cpu (Re: Re: status of hashcash version 1?)
- » [hashcash] Re: cpu detection, disabling mmx code on non mmx cpu (Re: Re: status of hashcash version 1?)
- » [hashcash] Re: cpu detection, disabling mmx code on non mmx cpu (Re: Re: status of hashcash version 1?)
- » [hashcash] Re: cpu detection, disabling mmx code on non mmx cpu (Re: Re: status of hashcash version 1?)
- » [hashcash] Re: cpu detection, disabling mmx code on non mmx cpu (Re: Re: status of hashcash version 1?)
- » [hashcash] Re: cpu detection, disabling mmx code on non mmx cpu (Re: Re: status of hashcash version 1?)
- » [hashcash] Re: cpu detection, disabling mmx code on non mmx cpu (Re: Re: status of hashcash version 1?)
- » [hashcash] Re: cpu detection, disabling mmx code on non mmx cpu (Re: Re: status of hashcash version 1?)