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-06 16:51:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!news.linkpendium.com!ken-transit.news.telstra.net!news.telstra.net!snewsf0.syd.ops.aspac.uu.net!nnrp1.ozemail.com.au!53ab2750!not-for-mail Newsgroups: comp.os.linux.alpha Subject: Re: OpenSSL RSA speed test From: Rob B References: Message-ID: User-Agent: Xnews/5.04.25 Date: Sun, 06 Apr 2003 23:46:36 GMT NNTP-Posting-Host: 63.34.228.119 X-Trace: nnrp1.ozemail.com.au 1049672796 63.34.228.119 (Mon, 07 Apr 2003 09:46:36 EST) NNTP-Posting-Date: Mon, 07 Apr 2003 09:46:36 EST Xref: archiver1.google.com comp.os.linux.alpha:7536 mru@users.sourceforge.net (M�ns Rullg�rd) wrote in news:yw1xisttgwl7.fsf@nogger.e.kth.se: > Rob B writes: > >> > Here are my results on sx164 @ 533 MHz: >> > >> > 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 >> > 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 > > It looks like some more optimization could do you some good. Absolutely, unfortunately optimisations over -O on FreeBSD/Alpha are known to cause problems in various areas of the OS and is not supported by the development teams. > Btw, it would be interesting to compare the cache sizes and not only > clock frequency. My Miata has 2MB bcache. cheers, Rob