From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 111c93,c35beb5cfecf9692 X-Google-Attributes: gid111c93,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.bahnhof.se!195.197.54.117.MISMATCH!feeder1.news.jippii.net!news.cc.tut.fi!news.helsinki.fi!not-for-mail From: Atro Tossavainen Newsgroups: comp.os.linux.alpha Subject: Re: Alpha 1000 4/233 Performance ? Date: 14 Feb 2005 10:10:31 +0200 Organization: Puutavarakartelli (EOMPTK) Message-ID: References: <5ZzHnejzNdCCFwVk@wookie.demon.co.uk> <6d157297.0502131919.40131e9a@posting.google.com> NNTP-Posting-Host: kruuna.helsinki.fi Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Trace: oravannahka.helsinki.fi 1108368632 22627 128.214.205.14 (14 Feb 2005 08:10:32 GMT) X-Complaints-To: abuse@helsinki.fi NNTP-Posting-Date: 14 Feb 2005 08:10:32 GMT Mail-Copies-To: nobody X-Newsreader: Gnus v5.3/Emacs 19.34 Xref: g2news1.google.com comp.os.linux.alpha:650 jalyvr@hotmail.com (John) writes: > > aes-256 cbc (P4)63333.60k 60046.31k 60300.46k 62145.54k 60896.60k > > Is this right? 60 megabytes/sec on a 3Gig PC? I'll repeat the test for you. OpenSSL> speed aes-256-cbc Doing aes-256 cbc for 3s on 16 size blocks: 11989878 aes-256 cbc's in 3.00s Doing aes-256 cbc for 3s on 64 size blocks: 2783465 aes-256 cbc's in 3.00s Doing aes-256 cbc for 3s on 256 size blocks: 689818 aes-256 cbc's in 3.00s Doing aes-256 cbc for 3s on 1024 size blocks: 178203 aes-256 cbc's in 3.00s Doing aes-256 cbc for 3s on 8192 size blocks: 21937 aes-256 cbc's in 3.00s OpenSSL 0.9.7e 25 Oct 2004 built on: Mon Jan 3 15:51:10 EET 2005 options:bn(32,32) md2(int) rc4(ptr,int) des(ptr,risc1,16,long) aes(partial) idea(int) blowfish(idx) compiler: gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM available timing options: TIMES TIMEB HZ=100 [sysconf value] timing function used: times The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-256 cbc 63946.02k 59380.59k 58864.47k 60826.62k 59902.63k > I tried some simple Itanium2 (1.5GHz) software (SSH) and got only 1/4 > of that. > > What is your secret sauce? SSH does a lot more than just encrypt traffic with AES (or any given cipher, for that matter), which means you're comparing apples with oranges. Run the corresponding test to see corresponding values. Also, there are likely no assy optimisations at all for the Itanic in either OpenSSL or any brand of SSH. Also, your software may have been compiled with gcc, whose Itanic performance is unknown to me, but at any rate, you probably have access to better compilers, so you should try recompiling speed-hungry apps with them. -- Atro Tossavainen (Mr.) / The Institute of Biotechnology at Systems Analyst, Techno-Amish & / the University of Helsinki, Finland, +358-9-19158939 UNIX Dinosaur / employs me, but my opinions are my own. < URL : http : / / www . helsinki . fi / %7E atossava / > NO FILE ATTACHMENTS