From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,f0a56bd4c2196da0 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-04-07 14:47:45 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1!bredband!uio.no!news.kth.se!not-for-mail From: mru@users.sourceforge.net (=?iso-8859-1?q?M=E5ns_Rullg=E5rd?=) Newsgroups: comp.os.linux.alpha Subject: Re: OpenSSL RSA speed test Date: 07 Apr 2003 23:29:22 +0200 Sender: mru@zaphod.guide Message-ID: References: NNTP-Posting-Host: manganonaujakasit.e.kth.se Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Portable Code) Xref: archiver1.google.com comp.os.linux.alpha:7546 Rob B writes: > > Here are my results on sx164 @ 533 MHz: > > > > 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 > > > > Here's my trusty old PWS 500au running FreeBSD :) > > 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 I ran it on my Miata 433 MHz, 2 MB cache: 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 verify sign/s verify/s rsa 512 bits 0.0028s 0.0002s 361.5 4384.8 rsa 1024 bits 0.0106s 0.0006s 94.3 1733.2 rsa 2048 bits 0.0593s 0.0018s 16.9 565.7 rsa 4096 bits 0.3825s 0.0061s 2.6 163.6 Note that the Miata is somewhat faster than the sx164 for 512 bits, but slower on the rest. I guess this is due to the larger cache. I also tried it on an Athlon 2000+ @ 1600 MHz laptop. I don't have the figures at hand, but they were way below the sx164. -- M�ns Rullg�rd mru@users.sf.net