> 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?


Here's what I get doing a similar test. P3-1Ghz machine.

OpenSSL 0.9.8d 28 Sep 2006
built on: Fri Jun 8 17:02:33 PDT 2007
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial)
idea(int) blowfish(idx)
compiler:
gcc420 -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -march=pent
ium3 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PAR
T_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
md5 5931.24k 20709.35k 60287.32k 116997.46k
159391.74k
sha1 5550.15k 17675.63k 44248.15k 70832.13k
85983.23k
sha512 1224.25k 4897.15k 8170.41k 11913.22k
13757.10k

OpenSSL 0.9.8d 28 Sep 2006
built on: Fri Jun 8 17:04:17 PDT 2007
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial)
idea(int) blowfish(idx)
compiler:
icc91038 -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIA
N -DTERMIO -O3 -xK -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -D
OPENSSL_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
md5 6958.21k 24528.05k 68030.50k 124347.11k
161808.25k
sha1 6404.12k 19898.15k 47526.49k 72804.35k
86343.68k
sha512 1390.74k 5584.36k 8995.75k 12954.28k
14846.63k

It could be your compiler options. It could be your choice of gcc version.
It could be something quirky about your hardware. Mostly, I think it's the
compiler flags you passed to icc.

DS


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