Looking for Ryzen owners to test SHA acceleration.
Ryzen CPUs have HW accelerated SHA, something Intel's mainstream CPUs won't have until Cannonlake.
Requirements:
Ryzen CPU
Linux
Compiler version with support for sha
Openssl development package with support for sha
Cpuminer-opt source code with support for sha
I can provide the last one. GCC is supposed to have support for -msha starting in v 5, and Openssl added support in 2014
so both should be available in Ubuntu 16.04.
The following algos use sha256 and should benefit from HW acceleration: sha256t, lbry, skein, myr-groestl, m7m.
Intel J3455 ASRock J3455M with 1866 memory dual channel
--benchmark results
lbry Total: 5287.13 kH, 1341.57 kH/s, 43C
sha256t Total: 4643.44 kH, 6343.56 kH/s, 42C
skein Total: 15.05 MH, 3223.62 kH/s, 45C
myr-groestl Total: 7336.60 kH, 1480.04 kH/s, 44C
m7m Total: 254.99 kH, 38.28 kH/s, 45C
Thanks but that CPU doesn't have HW SHA. This information is displayed
when the program starts.
Compiling is still the biggest challenge to using SHA. Few Linux distros include openssl 1.1 which added SHA support.