mru@users.sourceforge.net (M�ns Rullg�rd) wrote in news:yw1xsmszdt4g.fsf@zaphod.guide: > Here are my results on sx164 @ 533 MHz: > > OpenSSL 0.9.6g 9 Aug 2002 > compiler: gcc -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN > -DHAVE_DLFCN_H -mcpu=ev56 -O3 -DL_ENDIAN -DTERMIO > sign/s verify/s > rsa 512 bits 337.9 4365.4 > rsa 1024 bits 81.9 1691.7 > rsa 2048 bits 15.3 548.0 > rsa 4096 bits 2.4 153.9 > > OpenSSL 0.9.7a Feb 19 2003 > compiler: ccc -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN > -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -fast -readonly_strings > -DL_ENDIAN -DTERMIO available timing options: TIMES TIMEB HZ=1024 > [sysconf value] timing function used: times > sign/s verify/s > rsa 512 bits 320.2 4075.8 > rsa 1024 bits 99.8 1792.1 > rsa 2048 bits 18.0 629.4 > rsa 4096 bits 3.0 191.7 > > It's odd that the 512-bit test runs slower when compiled with ccc, > but the rest are 20% faster. > > As comparison I ran it on a dual p4 xeon @2.4 GHz: > > OpenSSL 0.9.7 31 Dec 2002 > compiler: gcc -fPIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT > -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO > -O3 -fomit-frame-pointer -mcpu=pentium -Wall -DSHA1_ASM -DMD5_ASM > -DRMD160_ASM available timing options: TIMES TIMEB HZ=100 [sysconf > value] timing function used: times > sign/s verify/s > rsa 512 bits 1002.3 10307.1 > rsa 1024 bits 195.5 3492.0 > rsa 2048 bits 31.2 1052.4 > rsa 4096 bits 4.6 298.6 > > That's only 1.5 times faster than the sx164 at 4.5 times faster > clock. > > And here's p3 @600 MHz: > > OpenSSL 0.9.7 31 Dec 2002 > compiler: gcc -fPIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT > -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO > -O3 -fomit-frame-pointer -mcpu=pentium -Wall -DSHA1_ASM -DMD5_ASM > -DRMD160_ASM available timing options: TIMES TIMEB HZ=100 [sysconf > value] timing function used: times > sign verify sign/s verify/s > rsa 512 bits 0.0023s 0.0002s 432.6 4369.4 > rsa 1024 bits 0.0115s 0.0006s 86.9 1596.0 > rsa 2048 bits 0.0686s 0.0020s 14.6 488.8 > rsa 4096 bits 0.4591s 0.0071s 2.2 141.7 > > Here's my trusty old PWS 500au running FreeBSD :) OpenSSL 0.9.7a Feb 19 2003 built on: Sun Mar 16 01:13:48 EST 2003 options:bn(64,64) md2(int) rc4(ptr,int) des(ptr,risc2,4,int) aes(partial) idea(int) blowfish(idx) compiler: cc available timing options: USE_TOD HZ=100 [sysconf value] timing function used: getrusage sign verify sign/s verify/s rsa 512 bits 0.0030s 0.0003s 334.2 3888.4 rsa 1024 bits 0.0122s 0.0007s 82.2 1466.2 rsa 2048 bits 0.0721s 0.0022s 13.9 461.0 rsa 4096 bits 0.4788s 0.0075s 2.1 133.4 The compiler is actually gcc 2.95.4 and I compiled OpenSSL using -mcpu=ev56 -O -pipe -funroll-loops -fforce-mem -fforce-addr cheers, Rob