After compiling 1.0.0-stable-SNAP-20090705 I ran a couple of "openssl speed aes"
runs to lightly test the new code, and discovered a massive slowdown in small
bytesize AES compared to 0.9.8k, in some cases more than 50%. Is this known /
expected?
SunOS gandalf 5.10 Generic_138889-08 i86pc i386 i86pc
cc: Sun Ceres C 5.10 SunOS_i386 2009/03/06
Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz J3E1
OpenSSL 0.9.8k 25 Mar 2009
built on: Sun Mar 29 01:14:36 PDT 2009
options:bn(64,64) md2(int) rc4(1x,char) des(idx,cisc,16,int) aes(partial)
idea(int) blowfish(ptr2)
compiler: cc -KPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -fast -xregs=no%frameptr -m64 -xO5 -xtarget=native64 -xstrconst
-Xa -DL_ENDIAN -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
-DMD5_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
aes-128 cbc 94831.48k 129853.92k 143755.64k 148283.10k 148949.19k
aes-192 cbc 84238.07k 111794.94k 121016.41k 123522.05k 124600.59k
aes-256 cbc 76767.07k 98170.97k 105189.20k 107409.72k 108211.37k
OpenSSL 1.0.0-beta3-dev xx XXX xxxx
built on: Sun Jul 5 02:17:12 PDT 2009
options:bn(64,64) md2(int) rc4(1x,char) des(idx,cisc,16,int) aes(partial)
idea(int) blowfish(ptr2)
compiler: cc -KPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -fast -xregs=no%frameptr -m64 -xO5 -xtarget=native64 -xstrconst
-Xa -DL_ENDIAN -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM
-DSHA512_ASM -DMD5_ASM -DAES_ASM -DWHIRLPOOL_ASM
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-128 cbc 61707.79k 68382.02k 69846.02k 148577.23k 150757.46k
aes-192 cbc 52640.66k 57384.69k 58351.73k 125591.37k 126411.60k
aes-256 cbc 45788.29k 49243.79k 49864.60k 107354.03k 108159.06k
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org