3 ms·
I haven't been able to test any Zen 3 CPUs. Now I'm curious! From benchmarks listed here: https://calomel.org/aesni_ssl_performance.html https://calomel.org/a
by bradfa 6y ago
I haven't been able to test any Zen 3 CPUs. Now I'm curious!
From benchmarks listed here: https://calomel.org/aesni_ssl_performance.html https://calomel.org/aesni_ssl_performance.html
it seems that Intel had similar performance in their 2015 release of the i7-6700 as AMD's 2017 release of Ryzen 7 1800X.
Raw general purpose benchmarks I found via Google put the Ryzen 7 1800X at about twice the compute capability as an i7-6700, but their AES performance is quite even.
- dragontamer 6y agoCBC mode cannot be parallelized. That is a sequential-only algorithm, and none of the stuff I talked about before can take advantage of CBC mode. GCM mode can be parallelized. Notice AES-128-GCM (which can take advantage of 2x pipelines) really flies on Zen1 compared to 6700.
- bradfa 6y agoRegardless, it does really all come down to what your compute need is, and specialized metrics for somewhat odd-ball cases can sometimes still heavily favor Intel for the money. Thanks for your comments! I didn't previously fully comprehend how the AVX modes and pipeline widths mattered for AES.
- dragontamer 6y agoYeah, this is super-specialized. I just happen to have studied the AES instructions to a ridiculous degree a few years ago... (https://github.com/dragontamer/AESRand https://github.com/dragontamer/AESRand) You don't come up with 32-bytes of random numbers every 4-clock ticks unless you understand this stuff. :-)