Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: mru@users.sourceforge.net (Måns Rullgård)
Subject: OpenSSL RSA speed test
Date: 04 Apr 2003 02:05:35 +0200	[thread overview]
Message-ID: <yw1xsmszdt4g.fsf@zaphod.guide> (raw)
In-Reply-To: ZhSia.7149$Je.59741@twister.rdc-kc.rr.com

" DiskMan" <nobody@thewheel.com> writes:

> Well I was looking for some information regarding the soon to be released
> AMD Opteron (rel. 04/22/03) and I stumbled up on some comparisons and
> decided to 'join in the mix'. The first time I ran the Openssl test, the
> results were DISMAL! It was actually slightly slower than the Celery 400mhz
> but after recompiling and optimizing, I damn near doubled the speed [;-)
> You're notice, the larger the key, the more of a speed difference there is.
> I assume this is due to the large caches the Alpha runs...

Could you give the compiler and flags used to compile openssl?

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


-- 
M�ns Rullg�rd
mru@users.sf.net


  parent reply	other threads:[~2003-04-04  0:05 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 ` Måns Rullgård [this message]
2003-04-04 13:19   ` OpenSSL RSA speed test Falk Hueffner
2003-04-05  6:59   ` Rob B
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