openssl speed performance

Alexander Portnoy my-subs at
Wed Nov 24 13:26:42 GMT 2004

On Fri, 01 Oct 2004 10:35:12 +0200
"seb.arana at" <seb.arana at> wrote:

> hi everyone !
> i've read some post here and i'm very impressed with the openssl speed 
> results of one member here (called Alexander Portnoy).
> i've done a "openssl speed" test (ie: localhost# openssl speed ) and 
> here are the results :
> the sources of kernel are RELENG_5_2 (p10 applied)
> someone know why my computer (p4 2.4Ghz, 1Go, 120Go SATA RAID1 on 
> promise chipset, MB asus p4c800, FreeBSD 5.2.1R patched) cant perf any 
> more, or better than the Alexander results ?
> Thanks for ideas :)
> G'Day !
> Seb.

The difference in dsa/rsa tests is really significant.
I suggest You to run the test from FreeBSD-5.3-FixIt-CD:

This will tell You where to search the source of the problem: hardware or software misconfiguration.

There are results of my system (desktop system "Compaq Evo D310": Pentium-IV 2400MHz 
512KB L2 cache 533MHz FSB w/o HTT, 256MB DDR266 RAM, Intel-845 chipset based MB)
booted from the CD:

OpenSSL 0.9.7d 17 Mar 2004
built on: Thu Nov  4 22:14:58 UTC 2004
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial) blowfish(idx) 
compiler: cc
available timing options: USE_TOD HZ=128 [sysconf value]
timing function used: getrusage
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
md2               1362.64k     3041.19k     4259.50k     4860.64k     4996.67k
mdc2              3898.81k     4962.63k     5314.68k     5405.95k     5467.41k
md4               8146.22k    29710.53k    85335.46k   161228.01k   215170.06k
md5               6843.76k    22698.38k    60892.60k   102615.32k   135737.57k
hmac(md5)         8732.93k    27387.84k    69306.50k   107352.48k   136973.98k
sha1              6591.18k    20041.62k    47024.28k    71131.32k    83852.90k
rmd160            5325.49k    15179.73k    32200.50k    44719.27k    50435.42k
rc4              79043.08k    86925.21k    89144.49k    89913.07k    89584.36k
des cbc          40417.84k    40708.89k    40847.24k    40822.23k    40855.28k
des ede3         15917.71k    15924.98k    16021.33k    15990.69k    15991.21k
idea cbc             0.00         0.00         0.00         0.00         0.00 
rc2 cbc          11591.88k    11980.88k    12657.38k    12522.76k    12882.24k
rc5-32/12 cbc    82272.88k    84006.21k    84055.62k    84241.06k    84521.27k
blowfish cbc     70684.67k    72304.03k    72528.48k    73193.48k    72030.05k
cast cbc         55150.82k    59284.21k    60207.17k    59226.29k    59215.20k
aes-128 cbc      55924.89k    52807.86k    53857.58k    54445.88k    54388.11k
aes-192 cbc      48574.60k    46551.92k    46923.55k    47635.50k    47667.10k
aes-256 cbc      43947.24k    42262.12k    42969.64k    43403.60k    43262.21k
                  sign    verify    sign/s verify/s
rsa  512 bits   0.0010s   0.0001s    954.7  10151.5
rsa 1024 bits   0.0050s   0.0003s    200.7   3660.4
rsa 2048 bits   0.0297s   0.0009s     33.7   1129.8
rsa 4096 bits   0.1987s   0.0031s      5.0    322.7
                  sign    verify    sign/s verify/s
dsa  512 bits   0.0008s   0.0010s   1186.1    977.6
dsa 1024 bits   0.0025s   0.0031s    400.4    325.6
dsa 2048 bits   0.0083s   0.0100s    120.2     99.8

More information about the freebsd-performance mailing list