The RSA
benchmarks consist of a set of 32-bit and 64-bit executables that measure the
performance of key RSA cryptography routines. The 64-bit executables use RSA
code that has been optimized for AMD64. There are a set of 32-bit executables
that have also been optimized for AMD64 as well.
RSA
AES-128
Encrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
3.17
WindowsXP 64 (32
bit Mode)
3.187
WindowsXP 64 (64
bit Mode)
1.78
AES-128 Decrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
3.24
WindowsXP 64 (32
bit Mode)
3.188
WindowsXP 64 (64
bit Mode)
2.36
Triple-DES Encrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
6.36
WindowsXP 64 (32
bit Mode)
6.36
WindowsXP 64 (64
bit Mode)
6.22
Triple-DES Decrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
6.25
WindowsXP 64 (32
bit Mode)
6.38
WindowsXP 64 (64
bit Mode)
6.25
RC4 Encrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
2.05
WindowsXP 64 (32
bit Mode)
2.05
WindowsXP 64 (64
bit Mode)
1.81
RC4 Decrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
2.05
WindowsXP 64 (32
bit Mode)
2.05
WindowsXP 64 (64
bit Mode)
1.81
RSA Key
256 Optimized 2 Primes Encrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
3.81
WindowsXP 64 (32
bit Mode)
4.13
WindowsXP 64 (64
bit Mode)
3.31
RSA Key
256 Optimized 2 Primes Decrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
4.03
WindowsXP 64 (32
bit Mode)
4.11
WindowsXP 64 (64
bit Mode)
4.7
RSA Key
512 Optimized 2 Primes Encrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
3.34
WindowsXP 64 (32
bit Mode)
3.33
WindowsXP 64 (64
bit Mode)
2.44
RSA Key
512 Optimized 2 Primes Decrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
2.72
WindowsXP 64 (32
bit Mode)
2.73
WindowsXP 64 (64
bit Mode)
1.56
RSA Key
1024 Optimized 3 Primes Encrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
2.83
WindowsXP 64 (32
bit Mode)
2.86
WindowsXP 64 (64
bit Mode)
1.52
RSA Key
1024 Optimized 3 Primes Decrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
2.42
WindowsXP 64 (32
bit Mode)
2.44
WindowsXP 64 (64
bit Mode)
1.19
RSA Key
1024 Optimized 2 Primes Encrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
3.02
WindowsXP 64 (32
bit Mode)
3.05
WindowsXP 64 (64
bit Mode)
1.47
RSA Key
1024 Optimized 2 Primes Decrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
2.47
WindowsXP 64 (32
bit Mode)
2.44
WindowsXP 64 (64
bit Mode)
0.92
RSA Key
2048 Optimized 2 Primes Encrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
3.99
WindowsXP 64 (32
bit Mode)
4
WindowsXP 64 (64
bit Mode)
1.48
RSA Key
2048 Optimized 2 Primes Decrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
2.64
WindowsXP 64 (32
bit Mode)
2.72
WindowsXP 64 (64
bit Mode)
0.64
RSA Key
4096 Optimized 2 Primes Encrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
4.94
WindowsXP 64 (32
bit Mode)
4.11
WindowsXP 64 (64
bit Mode)
1.27
RSA Key
4096 Optimized 2 Primes Decrypt
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
12.75
WindowsXP 64 (32
bit Mode)
12.73
WindowsXP 64 (64
bit Mode)
2.97
SHA-1 Digest
Seconds
Ranking
WindowsXP Pro
w/SP1 (32 bit Mode)
3.41
WindowsXP 64 (32
bit Mode)
3.41
WindowsXP 64 (64
bit Mode)
3.17
This benchmark provides the
best straight illustration of the mathematical and data handling capabilities of
the AMD Athlon 64 platform running in 64-bit mode. The more complicated the
encryption gets, the better 64-bit does in comparison with the same operations
in 32-bit mode.
The most obvious example here
is the 'RSA Key 4096 Optimized 2 Primes Decrypt' test (second up from the
bottom), which the Athlon 64 in full 64-bit mode completed four times faster
than in either 32-bit mode. This particular test involves decrypting RSA
encrypted files with huge 4096 bit numerical keys. In a case like this, the more
register space your processor has to store values, the better.
The boost in 64-bit mode
certainly proves this to be true. When dealing with numbers too large to store
in its registers, the processor must split them up and store them in individual
cache or system memory locations. This takes precious time. Obviously, doubling
the space available in the registers and increasing the number of registers
available will result in less data needing to be shuffled off to the cache or
system memory for storage, increasing performance.