From: Rob B <rbyrnes@ozemail.comdotau.invalid>
Subject: Re: OpenSSL RSA speed test
Date: Sat, 05 Apr 2003 06:59:13 GMT [thread overview]
Message-ID: <Xns9354AC3CD9871rbyrnesozemailcomau@203.2.194.51> (raw)
In-Reply-To: yw1xsmszdt4g.fsf@zaphod.guide
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2982 bytes --]
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
next prev parent reply other threads:[~2003-04-05 6:59 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-03 8:29 Hey M�ns, Heres a Speed Comparison Between Alpha, AMD, Celeron DiskMan
2003-04-03 18:33 ` Hey Måns, " Falk Hueffner
2003-04-03 22:34 ` Hey M�ns, " DiskMan
2003-04-03 22:49 ` Hey Måns, " Falk Hueffner
2003-04-03 23:00 ` Hey M�ns, " DiskMan
2003-04-03 23:43 ` Hey Måns, " Måns Rullgård
2003-04-03 22:56 ` Just ran the 'test' on my AMD 1.47 (oc'd 1.55) DiskMan
2003-04-07 20:15 ` peter.watkinson1
2003-04-09 14:59 ` Hey M�ns, Heres a Speed Comparison Between Alpha, AMD, Celeron Matt Simis
2003-04-04 0:05 ` OpenSSL RSA speed test Måns Rullgård
2003-04-04 13:19 ` Falk Hueffner
2003-04-05 6:59 ` Rob B [this message]
2003-04-05 8:47 ` Måns Rullgård
2003-04-06 23:46 ` Rob B
2003-04-07 8:58 ` Måns Rullgård
2003-04-09 11:41 ` Rob B
2003-04-09 12:06 ` Måns Rullgård
2003-04-12 12:38 ` Rob B
2003-04-12 14:42 ` Måns Rullgård
2003-04-07 21:29 ` Måns Rullgård
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox