[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian vs Gentoo



On Fri, Aug 16, 2002 at 09:42:35AM -0700, nate wrote:
> David Teague said:
> then linuxfromscratch. I would be curious with some stats
> on exactly how much faster things can be. For me anything
> less then 20-25% I wouldn't notice. If things can be 50-75% faster
> then I would be real interested in looking into it more, but
> from the discussions I've read over the years its unlikely in
> most cases to get more then say 10-15% performance boost in
> optimal conditions.

I was reading some "openssl speed rsa" benchmarks. I was noticing my
Sarge Athlon 2100+ was about the same speed as some 800MHz G4 systems.
I then downloaded the current openssl source and compiled with the
default ./config command options. There was a doubling of speed.
Of course, this synthetic benchmark is quite narrow in it's
measurements.
 
Here's the speed from the current sarge openssl:

OpenSSL 0.9.6e 30 Jul 2002
built on: Tue Jul 30 18:39:21 CEST 2002
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long)
blowfish(idx) 
compiler: gcc -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H
-DNO_IDEA -DNO_MDC2 -DNO_RC5 -DL_ENDIAN -DTERMIO -O3
-fomit-frame-pointer -Wall
                  sign    verify    sign/s verify/s
rsa  512 bits   0.0012s   0.0001s    810.0   9803.7
rsa 1024 bits   0.0068s   0.0003s    146.9   2978.8
rsa 2048 bits   0.0419s   0.0011s     23.9    898.6
rsa 4096 bits   0.2695s   0.0039s      3.7    257.7

Here's the speed of openssl compiled on the same system:

OpenSSL 0.9.6e 30 Jul 2002
built on: Thu Aug 15 17:04:08 MDT 2002
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long)
idea(int) blowfish(idx) 
compiler: gcc -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H
-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM
                  sign    verify    sign/s verify/s
rsa  512 bits   0.0006s   0.0001s   1578.0  18891.7
rsa 1024 bits   0.0031s   0.0002s    324.6   6430.8
rsa 2048 bits   0.0183s   0.0005s     54.8   1921.6
rsa 4096 bits   0.1214s   0.0018s      8.2    541.2

-- 
       Kevin Rosenberg        |  .''`.  ** Debian GNU/Linux **
  http://b9.com/debian.html   | : :' :      The  universal
  GPG signed and encrypted    | `. `'      Operating System
     messages accepted.       |   `-    http://www.debian.org/



Reply to: