Post
Topic
Board Mining (Altcoins)
Re: [ANN]: cpuminer-opt v3.6.0, open source optimized multi-algo CPU miner
by
ken-ray
on 23/07/2017, 19:23:39 UTC
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.

It looks like HW SHA to me? This is only a 10w CPU.

         **********  cpuminer-opt 3.6.6  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
     Forked from TPruvot's cpuminer-multi with credits
     to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d,
     Wolf0, Jeff Garzik and Optiminer.

CPU: Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
CPU features: SSE2 AES SHA
SW built on Jul  4 2017 with GCC 5.4.0
SW features: SSE2 AES SHA
Algo features: SSE2 AES AVX SHA
Start mining with SSE2 AES SHA

[2017-07-23 15:21:13] Starting Stratum on stratum+tcp://xmg.suprnova.cc:7128
[2017-07-23 15:21:13] 4 miner threads started, using 'm7m' algorithm.

[2017-07-23 15:21:13] Stratum difficulty set to 8
[2017-07-23 15:21:17] m7m block 1418024, diff 7.180
[2017-07-23 15:21:19] m7m block 1418025, diff 7.180
[2017-07-23 15:21:19] CPU #2: 19.29 kH, 8515.43 H/s
[2017-07-23 15:21:19] CPU #0: 22.44 kH, 9851.52 H/s
[2017-07-23 15:21:19] CPU #1: 21.60 kH, 9509.43 H/s
[2017-07-23 15:21:19] CPU #3: 20.52 kH, 9059.83 H/s
[2017-07-23 15:21:27] CPU #2: 67.76 kH, 8803.45 H/s
[2017-07-23 15:21:27] Accepted 1/1 (100%), 132.33 kH, 37.22 kH/s, 44C