Hi,

  We tried to build 0.9.7b version of openssl on the 64-bit
  IBM eServer pSeries 6C4 with POWER4+ processor in 64-bit kernel mode
  (running AIX 5.2) and we were rather surprised to see that 32-bit
  mode executable ('openssl speed') is faster (in block ciphers) than 
  64-bit executable. (in first case everything was build with target 
  aix43-cc, in second case it was aix64-cc)

  Please can anyone comment this ? (benchmark results are below)

Thank you
Vlado

OpenSSL 0.9.7b 10 Apr 2003
built on: Fri Sep 19 15:59:20 DFT 2003
options:bn(64,32) md2(int) rc4(ptr,char) des(idx,cisc,4,long) aes(partial) idea(int) 
blowfish(idx) 
compiler: cc -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -O -DAIX 
-DB_ENDIAN -qmaxmem=16384
available timing options: TIMES 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                700.59k     1477.37k     2060.16k     2280.88k     2332.41k
mdc2              3680.97k     4415.98k     4665.79k     4729.51k     4756.82k
md4               7582.29k    25949.95k    72621.57k   131456.68k   172747.09k
md5               6276.61k    20702.15k    52944.21k    88413.67k   109076.48k
hmac(md5)         3443.63k    12216.33k    36714.41k    74616.49k   104772.95k
sha1              6947.51k    23248.40k    62335.40k   108402.64k   137431.72k
rmd160            4411.99k    12084.15k    24761.69k    33688.92k    37696.90k
rc4             132226.02k   154711.23k   162861.17k   163757.40k   164222.29k
des cbc          20714.04k    21448.83k    21562.79k    21570.10k    21697.88k
des ede3          8157.47k     8225.58k     8262.91k     8273.58k     8276.65k
idea cbc         19638.13k    20540.76k    20948.16k    20945.42k    20840.45k
rc2 cbc          12767.64k    13011.43k    13173.81k    13132.20k    13189.12k
rc5-32/12 cbc    54320.12k    57877.25k    59618.44k    59436.37k    59492.00k
blowfish cbc     37856.05k    40088.13k    40476.85k    40724.14k    40943.51k
cast cbc         32700.55k    34126.57k    34590.89k    34743.98k    34575.70k
aes-128 cbc      61401.93k    63734.59k    65079.30k    65317.89k    65848.34k
aes-192 cbc      54824.25k    56240.04k    57969.22k    58190.85k    57985.71k
aes-256 cbc      49580.79k    51100.10k    51870.89k    51957.55k    52120.23k
                  sign    verify    sign/s verify/s
rsa  512 bits   0.0017s   0.0002s    599.0   6007.5
rsa 1024 bits   0.0094s   0.0005s    105.9   2060.6
rsa 2048 bits   0.0561s   0.0016s     17.8    640.3
rsa 4096 bits   0.3611s   0.0053s      2.8    187.2
                  sign    verify    sign/s verify/s
dsa  512 bits   0.0015s   0.0019s    652.0    533.7
dsa 1024 bits   0.0046s   0.0057s    216.6    175.2
dsa 2048 bits   0.0151s   0.0188s     66.3     53.2

OpenSSL 0.9.7b 10 Apr 2003
built on: Fri Sep 19 16:14:11 DFT 2003
options:bn(64,64) md2(int) rc4(ptr,char) des(idx,cisc,4,long) aes(partial) idea(int) 
blowfish(idx) 
compiler: cc -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -O -DAIX 
-DB_ENDIAN -qmaxmem=16384 -q64
available timing options: TIMES 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                611.27k     1284.52k     1776.67k     1959.64k     2028.89k
mdc2              3309.76k     4025.99k     4254.65k     4288.85k     4322.65k
md4               7051.14k    23173.57k    61746.77k   104579.07k   131740.51k
md5               5636.76k    17586.13k    44133.63k    70154.31k    84511.40k
hmac(md5)         3083.68k    10625.82k    31027.37k    60294.42k    82846.41k
sha1              6361.24k    20516.69k    50833.49k    80598.05k    97994.40k
rmd160            4058.95k    10466.29k    20917.08k    27561.98k    30438.74k
rc4             138251.42k   158437.20k   163959.38k   164859.19k   165369.17k
des cbc          18839.59k    19307.25k    19442.73k    19476.21k    19382.27k
des ede3          7236.13k     7286.27k     7325.35k     7302.49k     7318.19k
idea cbc         18128.58k    18797.66k    18814.29k    18952.53k    18961.75k
rc2 cbc          12087.10k    12319.53k    12366.59k    12400.64k    12526.82k
rc5-32/12 cbc    36112.17k    37691.05k    38244.17k    38257.32k    38212.95k
blowfish cbc     34232.91k    35736.91k    36161.62k    36187.82k    36470.89k
cast cbc         23438.46k    24199.85k    24393.22k    24390.66k    24455.85k
aes-128 cbc      44343.18k    45433.02k    46498.47k    47071.81k    46836.39k
aes-192 cbc      39094.16k    40162.26k    40762.14k    41007.60k    40938.15k
aes-256 cbc      34608.36k    35427.37k    36433.52k    36374.60k    36599.21k
                  sign    verify    sign/s verify/s
rsa  512 bits   0.0011s   0.0001s    872.2   9046.0
rsa 1024 bits   0.0058s   0.0003s    172.8   3059.5
rsa 2048 bits   0.0380s   0.0012s     26.3    863.3
rsa 4096 bits   0.2608s   0.0041s      3.8    241.4
                  sign    verify    sign/s verify/s
dsa  512 bits   0.0010s   0.0012s   1033.0    861.5
dsa 1024 bits   0.0031s   0.0039s    319.5    256.5
dsa 2048 bits   0.0110s   0.0134s     90.6     74.5
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to