tech-security archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
openssl speed part 2
Hello, I've updated system to the NetBSD-current (with opencrypto improvement).
I didn't notice significant performance improvement as a matter of
fact OpenSSL with perl is still two times better than one without. So
ssh transfer rates are still low.
Cheers...
With perl:
OpenSSL 0.9.8g 19 Oct 2007
built on: Wed Apr 9 19:09:48 CEST 2008
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long)
aes(partial) blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -pthread
-D_THREAD_SAFE -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O2 -mmmx -msse
-mtune=pentium3 -march=pentium3 -pipe -O2 -DL_ENDIAN -DTERMIOS -O3
-fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS
-DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
available timing options: USE_TOD HZ=100 [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 434.55k 938.39k 1322.92k 1474.75k 1525.56k
mdc2 0.00 0.00 0.00 0.00 0.00
md4 2936.95k 10678.82k 33880.37k 73907.26k 112942.80k
md5 2446.63k 8884.57k 27089.53k 54867.74k 77392.82k
hmac(md5) 4300.14k 14269.69k 37790.81k 64430.43k 78934.13k
sha1 2330.37k 7787.09k 20313.70k 33964.94k 42288.17k
rmd160 2176.58k 6816.74k 16250.08k 24889.27k 29489.08k
rc4 54190.07k 59411.69k 64501.92k 65627.58k 65356.25k
des cbc 10401.24k 10936.55k 11114.07k 11159.79k 11172.15k
des ede3 3812.78k 3877.46k 3892.22k 3895.63k 3902.02k
idea cbc 0.00 0.00 0.00 0.00 0.00
seed cbc 0.00 0.00 0.00 0.00 0.00
rc2 cbc 4541.74k 4685.71k 4730.38k 4741.90k 4745.03k
rc5-32/12 cbc 0.00 0.00 0.00 0.00 0.00
blowfish cbc 16107.71k 17396.00k 17788.75k 17846.96k 17860.44k
cast cbc 10813.95k 11496.37k 11741.26k 11802.92k 11818.63k
aes-128 cbc 14118.30k 18684.01k 20378.22k 20882.26k 21036.99k
aes-192 cbc 12594.25k 16125.21k 17368.75k 17739.90k 17856.18k
aes-256 cbc 7513.70k 12240.35k 14472.07k 15195.73k 15428.80k
camellia-128 cbc 0.00 0.00 0.00 0.00
0.00
camellia-192 cbc 0.00 0.00 0.00 0.00
0.00
camellia-256 cbc 0.00 0.00 0.00 0.00
0.00
sha256 2093.47k 4898.16k 8788.32k 10959.06k 11818.32k
sha512 536.20k 2145.43k 3209.75k 4469.84k 5047.97k
aes-128 ige 16487.53k 18226.46k 18649.77k 18805.12k 18899.45k
aes-192 ige 14482.32k 15786.88k 16132.04k 16246.87k 16308.83k
aes-256 ige 12930.88k 13914.39k 14192.73k 14283.42k 14307.47k
sign verify sign/s verify/s
rsa 512 bits 0.003371s 0.000284s 296.7 3523.5
rsa 1024 bits 0.016012s 0.000761s 62.5 1313.7
rsa 2048 bits 0.091035s 0.002473s 11.0 404.4
rsa 4096 bits 0.591455s 0.008494s 1.7 117.7
sign verify sign/s verify/s
dsa 512 bits 0.002714s 0.003152s 368.4 317.3
dsa 1024 bits 0.007396s 0.008811s 135.2 113.5
dsa 2048 bits 0.024191s 0.029415s 41.3 34.0
Without perl:
OpenSSL 0.9.8e 23 Feb 2007
built on: NetBSD 4.99.59
options:bn(32,32) md2(int) rc4(ptr,int) des(ptr,risc2,16,long)
aes(partial) blowfish(ptr2)
compiler: gcc version 4.1.3 20080202 (prerelease) (NetBSD nb1 20080202)
available timing options: USE_TOD HZ=100 [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 228.05k 499.68k 712.55k 797.22k 825.35k
mdc2 0.00 0.00 0.00 0.00 0.00
md4 1746.84k 6542.36k 22014.26k 53183.88k 90428.89k
md5 1433.61k 5388.23k 18128.71k 44047.33k 75136.59k
hmac(md5) 3702.16k 12634.40k 34891.58k 62310.31k 79734.67k
sha1 1460.68k 4869.97k 13367.11k 23700.13k 30590.60k
rmd160 1428.36k 4807.77k 13057.14k 22848.22k 29218.87k
rc4 19089.83k 20811.86k 21556.17k 21749.32k 21821.01k
des cbc 5253.60k 5499.35k 5570.91k 5588.37k 5588.48k
des ede3 1939.70k 1980.33k 1994.29k 1997.85k 1998.19k
idea cbc 0.00 0.00 0.00 0.00 0.00
rc2 cbc 4107.53k 4211.94k 4245.59k 4254.05k 4256.66k
rc5-32/12 cbc 0.00 0.00 0.00 0.00 0.00
blowfish cbc 14113.05k 15338.91k 15796.57k 15885.73k 16023.06k
cast cbc 9524.42k 10050.52k 10228.36k 10272.19k 10274.89k
aes-128 cbc 8614.42k 9246.85k 9407.47k 9454.91k 9460.08k
aes-192 cbc 7309.99k 7928.38k 8080.99k 8125.00k 8131.64k
aes-256 cbc 6633.21k 7040.17k 7138.77k 7166.86k 7170.47k
camellia-128 cbc 0.00 0.00 0.00 0.00
0.00
camellia-192 cbc 0.00 0.00 0.00 0.00
0.00
camellia-256 cbc 0.00 0.00 0.00 0.00
0.00
sha256 1230.40k 3402.23k 7052.89k 9629.27k 10784.97k
sha512 416.97k 1668.30k 2893.17k 4286.26k 4981.62k
sign verify sign/s verify/s
rsa 512 bits 0.003501s 0.000317s 285.6 3155.6
rsa 1024 bits 0.016374s 0.000833s 61.1 1200.9
rsa 2048 bits 0.093267s 0.002599s 10.7 384.7
rsa 4096 bits 0.593716s 0.008713s 1.7 114.8
sign verify sign/s verify/s
dsa 512 bits 0.002751s 0.003364s 363.5 297.3
dsa 1024 bits 0.007536s 0.009037s 132.7 110.7
dsa 2048 bits 0.024395s 0.029390s 41.0 34.0
Home |
Main Index |
Thread Index |
Old Index