Add Broadwell performance results.
authorAndy Polyakov <appro@openssl.org>
Mon, 5 Jan 2015 22:40:10 +0000 (23:40 +0100)
committerAndy Polyakov <appro@openssl.org>
Tue, 13 Jan 2015 20:40:14 +0000 (21:40 +0100)
Reviewed-by: Emilia Käsper <emilia@openssl.org>
crypto/bn/asm/rsaz-avx2.pl
crypto/modes/asm/aesni-gcm-x86_64.pl
crypto/modes/asm/ghash-x86_64.pl

index e608cb49da4e46e49dabe9c7b62f18f1b1238b06..3b6ccf83d13e4b7c8c44cf65b1115d013ee2192c 100755 (executable)
 #
 # rsa2048 sign/sec     OpenSSL 1.0.1   scalar(*)       this
 # 2.3GHz Haswell       621             765/+23%        1113/+79%
+# 2.3GHz Broadwell(**) 688             1200(***)/+74%  1120/+63%
 #
 # (*)  if system doesn't support AVX2, for reference purposes;
+# (**) scaled to 2.3GHz to simplify comparison;
+# (***)        scalar AD*X code is faster than AVX2 and is preferred code
+#      path for Broadwell;
 
 $flavour = shift;
 $output  = shift;
index cfc856cf35e4d07979701218dfbf028c6de37571..7e4e04ea25300d2bae95694110773cb5d8d359f3 100644 (file)
 # [1] and [2], with MOVBE twist suggested by Ilya Albrekht and Max
 # Locktyukhin of Intel Corp. who verified that it reduces shuffles
 # pressure with notable relative improvement, achieving 1.0 cycle per
-# byte processed with 128-bit key on Haswell processor.
+# byte processed with 128-bit key on Haswell processor, and 0.74 -
+# on Broadwell. [Mentioned results are raw profiled measurements for
+# favourable packet size, one divisible by 96. Applications using the
+# EVP interface will observe a few percent worse performance.]
 #
 # [1] http://rt.openssl.org/Ticket/Display.html?id=2900&user=guest&pass=guest
 # [2] http://www.intel.com/content/dam/www/public/us/en/documents/software-support/enabling-high-performance-gcm.pdf
index ce7d1cb8baca6a6988aff9400d1f42240ab7de22..6e656ca13b8029cdf105cdd92df58b4e21d0d938 100644 (file)
@@ -63,6 +63,7 @@
 # Sandy Bridge 1.80(+8%)
 # Ivy Bridge   1.80(+7%)
 # Haswell      0.55(+93%) (if system doesn't support AVX)
+# Broadwell    0.45(+110%)(if system doesn't support AVX)
 # Bulldozer    1.49(+27%)
 # Silvermont   2.88(+13%)
 
@@ -73,7 +74,8 @@
 # CPUs such as Sandy and Ivy Bridge can execute it, the code performs
 # sub-optimally in comparison to above mentioned version. But thanks
 # to Ilya Albrekht and Max Locktyukhin of Intel Corp. we knew that
-# it performs in 0.41 cycles per byte on Haswell processor.
+# it performs in 0.41 cycles per byte on Haswell processor, and in
+# 0.29 on Broadwell.
 #
 # [1] http://rt.openssl.org/Ticket/Display.html?id=2900&user=guest&pass=guest