Hello,

Using the Intel 9.1 compiler on an IA64 system the performance of
AES and (to a lesser extent) other algorithms implemented in
assembly language is less than that using gcc. I've included the
speed output for several of the algorithms below.

Is this a know issue and is there a workaround other than switching
to gcc?

Thanks

--
Iain Morgan

cfe2.imorgan> apps/openssl speed aes bf rc4 md5 sha 2>/dev/null
OpenSSL 0.9.8e 23 Feb 2007
built on: Fri Jun 8 10:46:48 PDT 2007
options:bn(64,64) md2(int) rc4(ptr,int) des(idx,cisc,4,long) aes(partial) idea(int) blowfish(idx)
compiler: gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -Wall -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM
available timing options: TIMES TIMEB HZ=1024 [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
md5 8388.37k 27899.28k 73067.45k 123142.98k 153932.33k
sha1 10270.44k 33538.23k 93979.13k 171431.58k 224889.51k
rc4 248141.11k 299502.68k 312819.11k 316454.57k 317876.62k
blowfish cbc 52879.87k 56659.39k 57974.95k 58306.56k 58335.11k
aes-128 cbc 56603.67k 78418.22k 86639.62k 89007.75k 88984.23k
aes-192 cbc 53353.86k 72285.93k 79266.68k 81229.82k 81267.37k
aes-256 cbc 50445.43k 67040.72k 72999.08k 74656.43k 74604.54k
sha256 10808.77k 29896.92k 62069.85k 84877.31k 95065.43k
sha512 7113.80k 28534.17k 72103.59k 134958.08k 181021.35k

cfe2.imorgan> $NOBACKUP/build/bin/openssl speed aes bf rc4 md5 sha 2>/dev/nul >
OpenSSL 0.9.8e 23 Feb 2007
built on: Fri Jun 8 09:27:49 PDT 2007
options:bn(64,64) md2(int) rc4(ptr,int) des(idx,cisc,4,long) aes(partial) idea(int) blowfish(idx)
compiler: icc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O2 -Wall -no_cpprt -i-static -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM
available timing options: TIMES TIMEB HZ=1024 [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
md5 5835.63k 20437.19k 60845.48k 119983.98k 166928.38k
sha1 6356.02k 19805.21k 63273.44k 140241.24k 216834.46k
rc4 247902.49k 299131.32k 314115.67k 317933.50k 318111.74k
blowfish cbc 50625.69k 59182.33k 61785.80k 62476.09k 62615.65k
aes-128 cbc 47999.54k 51204.48k 52011.06k 52207.27k 51920.38k
aes-192 cbc 45619.43k 48507.73k 49234.01k 49402.50k 49119.23k
aes-256 cbc 43471.76k 46080.66k 46732.78k 46890.42k 46632.80k
sha256 6729.22k 21080.31k 50995.71k 79001.82k 94085.12k
sha512 4036.13k 16274.26k 48357.42k 109740.71k 174342.74k

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org