На работе есть сервак: 1 проц Xeon E5620 на ядре i7, 2.4Ггц, 12Мб кэша. И есть дома сервак: Старенький Core 2 Quad Q6600 2.4Ггц, 8Мб кэша.
На обоих стоит генту с ядром 2.6.38, OpenSSL 1.0.0d
Меряю скорости шифрования на том и на другом:
corei7# openssl speed aes
OpenSSL 1.0.0d 8 Feb 2011
built on: Wed Mar 30 14:57:19 MSD 2011
options:bn(64,64) rc4(1x,char) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(idx)
compiler: x86_64-pc-linux-gnu-gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -Wall -DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DWHIRLPOOL_ASM -O3 -march=core2 -mtune=generic -mfpmath=sse -mcx16 -msahf -mpclmul -maes -mpopcnt -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -fomit-frame-pointer -pipe
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-128 cbc 71252.78k 76119.74k 77265.41k 77717.49k 77600.09k
aes-192 cbc 60186.34k 63458.69k 64601.47k 64834.56k 64807.21k
aes-256 cbc 52133.24k 54800.87k 55458.33k 55625.80k 55598.75k
core2quad# openssl speed aes
OpenSSL 1.0.0d 8 Feb 2011
built on: Fri Feb 18 13:47:37 MSK 2011
options:bn(64,64) rc4(1x,char) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(idx)
compiler: x86_64-pc-linux-gnu-gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -Wall -DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DWHIRLPOOL_ASM -O2 -march=core2 -mtune=core2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -mssse3 -msahf -mcx16 -fomit-frame-pointer -pipe -fno-strict-aliasing -Wa,--noexecstack
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-128 cbc 70263.75k 77108.56k 78429.48k 165245.39k 168088.02k
aes-192 cbc 59363.92k 64024.06k 65624.60k 140857.51k 140510.97k
aes-256 cbc 50643.91k 55779.68k 55850.96k 120444.57k 121844.04k