tech-net archive

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

Re: scp performance



On Jan 17, 2008 8:55 PM, Steven M. Bellovin <smb%cs.columbia.edu@localhost> 
wrote:
> After that, perhaps run
>
>         openssl speed
>
> to see if the crypto performance is seriously mismatched.

I've made some tests:
Linux:

OpenSSL 0.9.8g 19 Oct 2007
built on: Sun Nov  4 22:05:55 CET 2007
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long)
aes(partial) blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3
-march=i686 -Wa,--noexecstack -g -Wall -DOPENSSL_BN_ASM_PART_WORDS
-DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_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
md2                655.86k     1412.29k     1989.89k     2206.19k     2283.42k
mdc2                 0.00         0.00         0.00         0.00         0.00
md4               5059.02k    18241.45k    57111.73k   120965.36k   179736.83k
md5               4408.26k    15380.70k    44968.74k    86139.02k   117792.77k
hmac(md5)         6156.01k    20009.42k    54049.17k    94867.31k   121435.48k
sha1              4118.37k    13093.27k    32829.66k    52553.31k    63993.17k
rmd160            3821.37k    11405.08k    25952.62k    38543.70k    44593.33k
rc4              79280.68k    89224.58k    96647.48k    98792.79k    97242.58k
des cbc          15648.94k    16048.27k    16279.30k    16394.92k    16351.34k
des ede3          5570.91k     5710.38k     5783.72k     5770.48k     5772.50k
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           7079.84k     7327.06k     7401.38k     7417.71k     7421.79k
rc5-32/12 cbc        0.00         0.00         0.00         0.00         0.00
blowfish cbc     23706.44k    25177.09k    25942.50k    26115.40k    26214.40k
cast cbc         13247.27k    14046.81k    14341.61k    14414.93k    14477.99k
aes-128 cbc      21271.44k    28059.45k    30584.18k    31360.94k    31692.12k
aes-192 cbc      12041.74k    20540.96k    24835.32k    26303.53k    26766.88k
aes-256 cbc      11279.90k    18372.10k    21828.95k    22815.81k    23158.05k
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            3013.38k     6873.09k    12097.06k    14937.13k    16089.09k
sha512             872.42k     3484.71k     5328.03k     7512.78k     8510.43k
aes-128 ige      24473.63k    26976.09k    27636.94k    27876.95k    27889.21k
aes-192 ige      21390.94k    23430.19k    23959.98k    24131.36k    24143.27k
aes-256 ige      19189.68k    20705.34k    21107.58k    21248.17k    21323.78k
                  sign    verify    sign/s verify/s
rsa  512 bits 0.002288s 0.000182s    437.1   5509.5
rsa 1024 bits 0.010810s 0.000509s     92.5   1964.4
rsa 2048 bits 0.061534s 0.001653s     16.3    604.8
rsa 4096 bits 0.395385s 0.005684s      2.5    175.9
                  sign    verify    sign/s verify/s
dsa  512 bits 0.001821s 0.002110s    549.2    473.9
dsa 1024 bits 0.005000s 0.005793s    200.0    172.6
dsa 2048 bits 0.016207s 0.019437s     61.7     51.4


NetBSD:

OpenSSL 0.9.8e 23 Feb 2007
built on: NetBSD 4.99.45
options:bn(32,32) md2(int) rc4(ptr,int) des(ptr,risc2,16,long)
aes(partial) blowfish(ptr2)
compiler: gcc version 4.1.3 20070620 (prerelease) (NetBSD nb1 20070620)
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                343.01k      750.87k     1070.51k     1197.80k     1240.93k
mdc2                 0.00         0.00         0.00         0.00         0.00
md4               2782.98k    10405.32k    34428.58k    81073.96k   134638.71k
md5               2267.12k     8480.15k    28255.66k    67132.29k   112983.57k
hmac(md5)         5960.67k    19920.40k    54120.23k    94934.39k   120055.53k
sha1              2381.94k     7870.96k    21100.68k    36375.90k    46124.61k
rmd160            2255.79k     7601.37k    20273.15k    34559.73k    43553.84k
rc4              28759.60k    31325.85k    32406.46k    32711.89k    32776.24k
des cbc           7849.09k     8244.36k     8350.75k     8377.68k     8383.01k
des ede3          2886.79k     2947.20k     2966.63k     2971.45k     2972.20k
idea cbc             0.00         0.00         0.00         0.00         0.00
rc2 cbc           6169.94k     6324.21k     6376.67k     6389.97k     6393.49k
rc5-32/12 cbc        0.00         0.00         0.00         0.00         0.00
blowfish cbc     21298.12k    23139.53k    23786.69k    23954.20k    23981.00k
cast cbc         14260.53k    15073.41k    15357.83k    15429.19k    15438.05k
aes-128 cbc      13096.45k    13832.38k    14034.33k    14096.25k    14101.97k
aes-192 cbc      11280.65k    11840.68k    11980.98k    12026.15k    12023.77k
aes-256 cbc      10082.14k    10442.50k    10544.86k    10577.60k    10582.66k
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            1844.90k     5076.16k    10497.85k    14314.96k    16019.51k
sha512             622.95k     2492.41k     4305.89k     6366.48k     7393.15k
                  sign    verify    sign/s verify/s
rsa  512 bits 0.002332s 0.000216s    428.8   4623.2
rsa 1024 bits 0.010791s 0.000563s     92.7   1775.3
rsa 2048 bits 0.061433s 0.001737s     16.3    575.6
rsa 4096 bits 0.389058s 0.005833s      2.6    171.4
                  sign    verify    sign/s verify/s
dsa  512 bits 0.001813s 0.002199s    551.7    454.7
dsa 1024 bits 0.004968s 0.006068s    201.3    164.8
dsa 2048 bits 0.016115s 0.019358s     62.1     51.7


What is most intresting:
L: aes-128 cbc      21271.44k    28059.45k    30584.18k    31360.94k
 31692.12k
N: aes-128 cbc      13096.45k    13832.38k    14034.33k    14096.25k
 14101.97k

So its not an network issue...



Home | Main Index | Thread Index | Old Index