Bitcoin Forum
October 04, 2024, 06:33:17 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 [132] 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 ... 197 »
  Print  
Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 444042 times)
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 15, 2017, 12:14:24 AM
 #2621


Preliminary results:

Ryzen 1700X @ stock settings with 8 threads set in the batch file.

Lyra2v2 = 1001 Kh/s on avx2
             = 1016 Kh/s on avx
Timetravel = 799 Kh/s on avx2
                = 843 Kh/s on avx
X11          = 686 Kh/s on avx2
                = 711 Kh/s on avx
X17          = 294 Kh/s on avx2
                = 294 Kh/s on avx

X17 was the same for both options, but I was surprised to see avx beating avx2 for the other algorithms tested. My understanding was that it would likely be the other way around....


Disappointing results. AVX2 provides 256 bit vectors vs 128 bit for AVX. Ignoring any memory accesses the AVX2
code uses half the instructions to do the same processing so should be twice as fast.

Most of the AVX2 code is in the x11 chain so it should see a bigger difference than x17.

I had heard that Ryzen had a "faked" AVX2 and your test seems to prove it and that it performs worse than AVX.
I was concerned it wouldn't be any faster than AVX but never considered that it would be slower.
The only reason I can think of to include it is for compatibility with any hard coded AVX2. IMO they should have
left it out.

It appears that AVX2 should continue to be avoided on AMD CPUs.

Thanks for testing.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
dunedainbob
Full Member
***
Offline Offline

Activity: 322
Merit: 100


View Profile
July 21, 2017, 09:06:14 PM
 #2622

Any plans to add the skunk algorithm from SIGT?  https://bitcointalk.org/index.php?topic=2030529.0

   SEMUX   -   An innovative high-performance blockchain platform   
▬▬▬▬▬      Powered by Semux BFT consensus algorithm      ▬▬▬▬▬
Github    -    Discord    -    Twitter    -    Telegram    -    Get Free Airdrop Now!
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 22, 2017, 09:43:53 PM
 #2623

Any plans to add the skunk algorithm from SIGT?  https://bitcointalk.org/index.php?topic=2030529.0

Looking at it.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
July 22, 2017, 09:49:23 PM
 #2624

Any thoughts on AMD Threadripper for mining?
Elder III
Sr. Member
****
Offline Offline

Activity: 1246
Merit: 274


View Profile
July 22, 2017, 10:07:18 PM
 #2625

Any thoughts on AMD Threadripper for mining?

It should be the equivalent of 2 Ryzen 1700X or 1800X CPUs, so a pretty darned good miner if you can afford the price. Smiley
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
July 22, 2017, 10:30:36 PM
 #2626

Any thoughts on AMD Threadripper for mining?

It should be the equivalent of 2 Ryzen 1700X or 1800X CPUs, so a pretty darned good miner if you can afford the price. Smiley
An advertised feature of Ryzen PRO is "Built-in AES 128-bit Encryption engine" which I wonder if it will benefit mining.
ken-ray
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
July 23, 2017, 04:57:35 PM
 #2627

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
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 23, 2017, 06:09:18 PM
 #2628

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.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ken-ray
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
July 23, 2017, 07:23:39 PM
Last edit: July 23, 2017, 09:15:24 PM by ken-ray
 #2629

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
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
July 23, 2017, 07:31:19 PM
 #2630

What about shipping a Docker image or atleast a Dockerfile with all the latest dependencies self contained?
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.
What about shipping a Docker image or atleast a Dockerfile with all the latest dependencies self contained?
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 23, 2017, 09:27:03 PM
Last edit: July 23, 2017, 09:38:01 PM by joblo
 #2631


It looks like hw sha to me?

         **********  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


That's very interesting. SHA is not mentioned here...

https://ark.intel.com/products/95594/Intel-Celeron-Processor-J3455-2M-Cache-up-to-2_3-GHz

But here it is...

https://en.wikipedia.org/wiki/Goldmont

OK so you have a Goldmont and it is the only Intel CPU to support SHA at this time.

It looks like all the boxes are checked, CPU, compiler, build and algo. The only question seems to be
the version of openssl. Cpuminer doesn't check the version but it needs to be 1.1 to have HW SHA support.
The only way to be sure is to compare the hash rate with a non-SHA compile.

Edit: strictly speaking, when cpuminer says it's mining with SHA it means it is using the openssl version
instead of its own SW version, but it's no guarantee that openssl is using the HW SHA instructions.


AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ken-ray
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
July 23, 2017, 09:51:12 PM
 #2632


It looks like hw sha to me?

         **********  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


That's very interesting. SHA is not mentioned here...

https://ark.intel.com/products/95594/Intel-Celeron-Processor-J3455-2M-Cache-up-to-2_3-GHz

But here it is...

https://en.wikipedia.org/wiki/Goldmont

OK so you have a Goldmont and it is the only Intel CPU to support SHA at this time.

It looks like all the boxes are checked, CPU, compiler, build and algo. The only question seems to be
the version of openssl. Cpuminer doesn't check the version but it needs to be 1.1 to have HW SHA support.
The only way to be sure is to compare the hash rate with a non-SHA compile.

Edit: strictly speaking, when cpuminer says it's mining with SHA it means it is using the openssl version
instead of its own SW version, but it's no guarantee that openssl is using the HW SHA instructions.



Which package needs to version 1.1?
libssl-dev or libcurl4-openssl-dev?

I have Ubuntu 16.04

How do I compile without SHA?

I thought the hash rate was pretty good for a 10w CPU.

I just enjoy playing, not any profit really.
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 23, 2017, 11:53:33 PM
Last edit: July 24, 2017, 12:04:12 AM by joblo
 #2633


Which package needs to version 1.1?
libssl-dev or libcurl4-openssl-dev?

I have Ubuntu 16.04

How do I compile without SHA?

I thought the hash rate was pretty good for a 10w CPU.

I just enjoy playing, not any profit really.

libssl-dev 1.1 is needed but Ubuntu 16.04 has 1.0.2. None of the major distributions seem to have it yet.

How did you compile, did you change any options or just use the build script?
The option to add sha is "-msha" but the default compile probably includes it.
You might have to do something like "-maes -mavx" "-maes -msse4.2" instead
of the default "-march=native" to compile without sha.

Edit: correction, Goldmont doesn't have AVX.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
July 24, 2017, 12:08:47 AM
 #2634


Which package needs to version 1.1?
libssl-dev or libcurl4-openssl-dev?

I have Ubuntu 16.04

How do I compile without SHA?

I thought the hash rate was pretty good for a 10w CPU.

I just enjoy playing, not any profit really.

libssl-dev 1.1 is needed but Ubuntu 16.04 has 1.0.2. None of the major distributions seem to have it yet.

How did you compile, did you change any options or just use the build script?
The option to add sha is "-msha" but the default compile probably includes it.
You might have to do something like "-maes -mavx" "-maes -msse4.2" instead
of the default "-march=native" to compile without sha.

Edit: correction, Goldmont doesn't have AVX.
Debian 9 has libssl-dev 1.1.
ken-ray
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
July 24, 2017, 01:29:38 AM
Last edit: July 24, 2017, 02:32:32 AM by ken-ray
 #2635


Which package needs to version 1.1?
libssl-dev or libcurl4-openssl-dev?

I have Ubuntu 16.04

How do I compile without SHA?

I thought the hash rate was pretty good for a 10w CPU.

I just enjoy playing, not any profit really.

libssl-dev 1.1 is needed but Ubuntu 16.04 has 1.0.2. None of the major distributions seem to have it yet.

How did you compile, did you change any options or just use the build script?
The option to add sha is "-msha" but the default compile probably includes it.
You might have to do something like "-maes -mavx" "-maes -msse4.2" instead
of the default "-march=native" to compile without sha.

Edit: correction, Goldmont doesn't have AVX.

I used the ./build.sh script to compile with HW SHA enabled and libssl-dev 1.0.2g-1ubuntu4.6 installed.

It is slower without the HW SHA.

./cpuminer -a m7m --benchmark

         **********  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 23 2017 with GCC 5.4.0
SW features: SSE2 AES
Algo features: SSE2 AES AVX SHA
Start mining with SSE2 AES

[2017-07-23 21:24:36] 4 miner threads started, using 'm7m' algorithm.
[2017-07-23 21:24:55] CPU #2: 131.07 kH, 6991.75 H/s
[2017-07-23 21:24:55] CPU #3: 131.07 kH, 6983.48 H/s
[2017-07-23 21:24:55] Total: 262.14 kH, 13.98 kH/s, 40C
[2017-07-23 21:24:55] CPU #0: 131.07 kH, 6799.19 H/s
[2017-07-23 21:24:55] CPU #1: 131.07 kH, 6794.54 H/s
[2017-07-23 21:25:00] CPU #3: 34.92 kH, 7024.97 H/s
[2017-07-23 21:25:00] Total: 428.13 kH, 27.61 kH/s, 40C
[2017-07-23 21:25:00] CPU #2: 34.96 kH, 6746.14 H/s
[2017-07-23 21:25:00] CPU #0: 34.00 kH, 6795.39 H/s
[2017-07-23 21:25:00] CPU #1: 33.97 kH, 6724.83 H/s
[2017-07-23 21:25:05] CPU #3: 35.12 kH, 6922.89 H/s
[2017-07-23 21:25:05] Total: 138.05 kH, 27.19 kH/s, 39C
[2017-07-23 21:25:05] CPU #2: 33.73 kH, 6864.23 H/s
[2017-07-23 21:25:05] CPU #0: 33.98 kH, 6790.99 H/s
[2017-07-23 21:25:05] CPU #1: 33.62 kH, 6689.45 H/s
[2017-07-23 21:25:10] CPU #3: 34.62 kH, 6955.82 H/s
[2017-07-23 21:25:10] Total: 135.95 kH, 27.30 kH/s, 40C

I used debian 9 with openssl 1.1 and got the same speed as ubuntu with the libssl-dev 1.0.2g-1ubuntu4.6 installed.

./cpuminer -a m7m --benchmark

         **********  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 24 2017 with GCC 6.3.0
SW features: SSE2 AES SHA
Algo features: SSE2 AES AVX SHA
Start mining with SSE2 AES SHA

[2017-07-24 02:23:37] 4 miner threads started, using 'm7m' algorithm.
[2017-07-24 02:23:50] CPU #3: 131.07 kH, 10.00 kH/s
[2017-07-24 02:23:50] Total: 131.07 kH, 10.00 kH/s, 37C
[2017-07-24 02:23:50] CPU #2: 131.07 kH, 9817.99 H/s
[2017-07-24 02:23:51] CPU #1: 131.07 kH, 9474.24 H/s
[2017-07-24 02:23:51] CPU #0: 131.07 kH, 9293.29 H/s
[2017-07-24 02:23:55] CPU #0: 37.17 kH, 9407.19 H/s
[2017-07-24 02:23:55] CPU #1: 37.90 kH, 8790.50 H/s
[2017-07-24 02:23:55] CPU #3: 50.01 kH, 9838.35 H/s
[2017-07-24 02:23:55] Total: 256.15 kH, 37.85 kH/s, 38C
[2017-07-24 02:23:55] CPU #2: 49.09 kH, 9702.19 H/s
[2017-07-24 02:24:00] CPU #1: 43.95 kH, 9022.16 H/s
[2017-07-24 02:24:00] CPU #3: 49.19 kH, 9912.67 H/s
[2017-07-24 02:24:00] Total: 179.41 kH, 38.04 kH/s, 38C

joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 24, 2017, 02:23:08 AM
 #2636


Which package needs to version 1.1?
libssl-dev or libcurl4-openssl-dev?

I have Ubuntu 16.04

How do I compile without SHA?

I thought the hash rate was pretty good for a 10w CPU.

I just enjoy playing, not any profit really.

libssl-dev 1.1 is needed but Ubuntu 16.04 has 1.0.2. None of the major distributions seem to have it yet.

How did you compile, did you change any options or just use the build script?
The option to add sha is "-msha" but the default compile probably includes it.
You might have to do something like "-maes -mavx" "-maes -msse4.2" instead
of the default "-march=native" to compile without sha.

Edit: correction, Goldmont doesn't have AVX.

I used the ./build.sh script to compile with HW SHA enabled and libssl-dev 1.0.2g-1ubuntu4.6 installed.

It is slower without the HW SHA.

./cpuminer -a m7m --benchmark

         **********  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 23 2017 with GCC 5.4.0
SW features: SSE2 AES
Algo features: SSE2 AES AVX SHA
Start mining with SSE2 AES

[2017-07-23 21:24:36] 4 miner threads started, using 'm7m' algorithm.
[2017-07-23 21:24:55] CPU #2: 131.07 kH, 6991.75 H/s
[2017-07-23 21:24:55] CPU #3: 131.07 kH, 6983.48 H/s
[2017-07-23 21:24:55] Total: 262.14 kH, 13.98 kH/s, 40C
[2017-07-23 21:24:55] CPU #0: 131.07 kH, 6799.19 H/s
[2017-07-23 21:24:55] CPU #1: 131.07 kH, 6794.54 H/s
[2017-07-23 21:25:00] CPU #3: 34.92 kH, 7024.97 H/s
[2017-07-23 21:25:00] Total: 428.13 kH, 27.61 kH/s, 40C
[2017-07-23 21:25:00] CPU #2: 34.96 kH, 6746.14 H/s
[2017-07-23 21:25:00] CPU #0: 34.00 kH, 6795.39 H/s
[2017-07-23 21:25:00] CPU #1: 33.97 kH, 6724.83 H/s
[2017-07-23 21:25:05] CPU #3: 35.12 kH, 6922.89 H/s
[2017-07-23 21:25:05] Total: 138.05 kH, 27.19 kH/s, 39C
[2017-07-23 21:25:05] CPU #2: 33.73 kH, 6864.23 H/s
[2017-07-23 21:25:05] CPU #0: 33.98 kH, 6790.99 H/s
[2017-07-23 21:25:05] CPU #1: 33.62 kH, 6689.45 H/s
[2017-07-23 21:25:10] CPU #3: 34.62 kH, 6955.82 H/s
[2017-07-23 21:25:10] Total: 135.95 kH, 27.30 kH/s, 40C


That's a pretty big difference, big enough to convince me. Maybe SHA was back ported to some later 1.0 releases.
That's great if Ubuntu 16.04 etc have full support already.

Good work.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ken-ray
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
July 24, 2017, 02:34:46 AM
 #2637


Which package needs to version 1.1?
libssl-dev or libcurl4-openssl-dev?

I have Ubuntu 16.04

How do I compile without SHA?

I thought the hash rate was pretty good for a 10w CPU.

I just enjoy playing, not any profit really.

libssl-dev 1.1 is needed but Ubuntu 16.04 has 1.0.2. None of the major distributions seem to have it yet.

How did you compile, did you change any options or just use the build script?
The option to add sha is "-msha" but the default compile probably includes it.
You might have to do something like "-maes -mavx" "-maes -msse4.2" instead
of the default "-march=native" to compile without sha.

Edit: correction, Goldmont doesn't have AVX.

I used the ./build.sh script to compile with HW SHA enabled and libssl-dev 1.0.2g-1ubuntu4.6 installed.

It is slower without the HW SHA.

./cpuminer -a m7m --benchmark

         **********  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 23 2017 with GCC 5.4.0
SW features: SSE2 AES
Algo features: SSE2 AES AVX SHA
Start mining with SSE2 AES

[2017-07-23 21:24:36] 4 miner threads started, using 'm7m' algorithm.
[2017-07-23 21:24:55] CPU #2: 131.07 kH, 6991.75 H/s
[2017-07-23 21:24:55] CPU #3: 131.07 kH, 6983.48 H/s
[2017-07-23 21:24:55] Total: 262.14 kH, 13.98 kH/s, 40C
[2017-07-23 21:24:55] CPU #0: 131.07 kH, 6799.19 H/s
[2017-07-23 21:24:55] CPU #1: 131.07 kH, 6794.54 H/s
[2017-07-23 21:25:00] CPU #3: 34.92 kH, 7024.97 H/s
[2017-07-23 21:25:00] Total: 428.13 kH, 27.61 kH/s, 40C
[2017-07-23 21:25:00] CPU #2: 34.96 kH, 6746.14 H/s
[2017-07-23 21:25:00] CPU #0: 34.00 kH, 6795.39 H/s
[2017-07-23 21:25:00] CPU #1: 33.97 kH, 6724.83 H/s
[2017-07-23 21:25:05] CPU #3: 35.12 kH, 6922.89 H/s
[2017-07-23 21:25:05] Total: 138.05 kH, 27.19 kH/s, 39C
[2017-07-23 21:25:05] CPU #2: 33.73 kH, 6864.23 H/s
[2017-07-23 21:25:05] CPU #0: 33.98 kH, 6790.99 H/s
[2017-07-23 21:25:05] CPU #1: 33.62 kH, 6689.45 H/s
[2017-07-23 21:25:10] CPU #3: 34.62 kH, 6955.82 H/s
[2017-07-23 21:25:10] Total: 135.95 kH, 27.30 kH/s, 40C


That's a pretty big difference, big enough to convince me. Maybe SHA was back ported to some later 1.0 releases.
That's great if Ubuntu 16.04 etc have full support already.

Good work.

I used debian 9 with openssl 1.1 and got the same speed as ubuntu with the libssl-dev 1.0.2g-1ubuntu4.6 installed.

./cpuminer -a m7m --benchmark

         **********  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 24 2017 with GCC 6.3.0
SW features: SSE2 AES SHA
Algo features: SSE2 AES AVX SHA
Start mining with SSE2 AES SHA

[2017-07-24 02:23:37] 4 miner threads started, using 'm7m' algorithm.
[2017-07-24 02:23:50] CPU #3: 131.07 kH, 10.00 kH/s
[2017-07-24 02:23:50] Total: 131.07 kH, 10.00 kH/s, 37C
[2017-07-24 02:23:50] CPU #2: 131.07 kH, 9817.99 H/s
[2017-07-24 02:23:51] CPU #1: 131.07 kH, 9474.24 H/s
[2017-07-24 02:23:51] CPU #0: 131.07 kH, 9293.29 H/s
[2017-07-24 02:23:55] CPU #0: 37.17 kH, 9407.19 H/s
[2017-07-24 02:23:55] CPU #1: 37.90 kH, 8790.50 H/s
[2017-07-24 02:23:55] CPU #3: 50.01 kH, 9838.35 H/s
[2017-07-24 02:23:55] Total: 256.15 kH, 37.85 kH/s, 38C
[2017-07-24 02:23:55] CPU #2: 49.09 kH, 9702.19 H/s
[2017-07-24 02:24:00] CPU #1: 43.95 kH, 9022.16 H/s
[2017-07-24 02:24:00] CPU #3: 49.19 kH, 9912.67 H/s
[2017-07-24 02:24:00] Total: 179.41 kH, 38.04 kH/s, 38C
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
July 24, 2017, 09:02:26 AM
 #2638

With Ubuntu 16.04 container:

Code:
..[$] <()> for i in sha256t lbry skein myr-gr m7m; do docker run --rm miner --quiet --time-limit=30 --benchmark -a $i; done
                                                                                               
         **********  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: AMD Ryzen 5 1400 Quad-Core Processor                                                     
CPU features: SSE2 AES AVX AVX2 SHA           
SW built on Jul 24 2017 with GCC 5.4.0                                                         
SW features: SSE2 AES AVX AVX2 SHA                                                             
Algo features: SSE2 SHA                                                                       
Start mining with SSE2 SHA                     

[2017-07-24 08:57:26] 8 miner threads started, using 'sha256t' algorithm.                     
[2017-07-24 08:57:26] Total: 1048.58 kH, 15.86 MH/s, 0C                                       
[2017-07-24 08:57:32] Total: 152.66 MH, 33.09 MH/s, 0C                                         
[2017-07-24 08:57:36] Total: 147.99 MH, 33.09 MH/s, 0C                                         
[2017-07-24 08:57:41] Total: 165.43 MH, 33.17 MH/s, 0C                                         
[2017-07-24 08:57:46] Total: 165.86 MH, 33.18 MH/s, 0C                                         
[2017-07-24 08:57:51] Total: 165.90 MH, 33.18 MH/s, 0C                                         
[2017-07-24 08:57:56] Total: 165.89 MH, 33.18 MH/s, 0C                                         
[2017-07-24 08:57:56] Total: 145.83 MH, 33.27 MH/s, 0C                                         
[2017-07-24 08:57:56] Total: 145.83 MH, 33.28 MH/s, 0C                                         
[2017-07-24 08:57:56] Total: 125.27 MH, 32.99 MH/s, 0C                                         
[2017-07-24 08:57:56] Total: 104.64 MH, 33.27 MH/s, 0C                                         
[2017-07-24 08:57:56] Total: 84.01 MH, 33.28 MH/s, 0C                                         
[2017-07-24 08:57:56] Total: 84.01 MH, 32.99 MH/s, 0C                                         
[2017-07-24 08:57:56] Total: 84.02 MH, 33.28 MH/s, 0C                                         
[2017-07-24 08:57:56] Total: 63.39 MH, 32.98 MH/s, 0C                                         
[2017-07-24 08:57:56] Total: 42.77 MH, 33.23 MH/s, 0C                                         
[2017-07-24 08:57:56] Total: 22.15 MH, 33.27 MH/s, 0C                                         
[2017-07-24 08:57:56] Total: 22.16 MH, 32.95 MH/s, 0C                                         
[2017-07-24 08:57:56] Total: 2097.15 kH, 33.40 MH/s, 0C                                       
[2017-07-24 08:57:56] Total: 2097.15 kH, 33.11 MH/s, 0C                                       
[2017-07-24 08:57:56] Total: 2097.15 kH, 33.02 MH/s, 0C                                       
[2017-07-24 08:57:57] Benchmark: 33.02 MH/s   
33016420                                                                                       
                                                                                               
         **********  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: AMD Ryzen 5 1400 Quad-Core Processor     
CPU features: SSE2 AES AVX AVX2 SHA           
SW built on Jul 24 2017 with GCC 5.4.0                                                         
SW features: SSE2 AES AVX AVX2 SHA                                                             
Algo features: SSE2 SHA                                                                       
Start mining with SSE2 SHA                                                                     
                                                                                               
[2017-07-24 08:57:57] 8 miner threads started, using 'lbry' algorithm.                         
[2017-07-24 08:57:58] Total: 1048.58 kH, 5326.34 kH/s, 0C                                     
[2017-07-24 08:58:02] Total: 18.70 MH, 5537.04 kH/s, 0C                                       
[2017-07-24 08:58:06] Total: 12.34 MH, 5557.11 kH/s, 0C                                       
[2017-07-24 08:58:07] Total: 25.07 MH, 5558.93 kH/s, 0C                                       
[2017-07-24 08:58:12] Total: 24.99 MH, 5560.98 kH/s, 0C                                       
[2017-07-24 08:58:17] Total: 25.03 MH, 5556.29 kH/s, 0C                                       
[2017-07-24 08:58:22] Total: 27.78 MH, 5560.57 kH/s, 0C                                       
[2017-07-24 08:58:27] Total: 24.44 MH, 5569.10 kH/s, 0C                                       
[2017-07-24 08:58:28] Benchmark: 5569.10 kH/s                                                 
5569101                                       
                                                                                               
         **********  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: AMD Ryzen 5 1400 Quad-Core Processor     
CPU features: SSE2 AES AVX AVX2 SHA           
SW built on Jul 24 2017 with GCC 5.4.0         
SW features: SSE2 AES AVX AVX2 SHA                                                             
Algo features: SSE2 SHA                                                                       
Start mining with SSE2 SHA                                                                     
                                                                                               
[2017-07-24 08:58:28] 8 miner threads started, using 'skein' algorithm.                       
[2017-07-24 08:58:29] Total: 3670.02 kH, 9933.17 kH/s, 0C                                     
[2017-07-24 08:58:33] Total: 45.31 MH, 11.55 MH/s, 0C                                         
[2017-07-24 08:58:38] Total: 57.74 MH, 11.58 MH/s, 0C                                         
[2017-07-24 08:58:43] Total: 46.27 MH, 11.59 MH/s, 0C                                         
[2017-07-24 08:58:48] Total: 54.95 MH, 11.58 MH/s, 0C                                         
[2017-07-24 08:58:53] Total: 52.07 MH, 11.59 MH/s, 0C                                         
[2017-07-24 08:58:58] Total: 52.10 MH, 11.59 MH/s, 0C
[2017-07-24 08:58:58] Total: 11.90 MH, 11.60 MH/s, 0C
[2017-07-24 08:58:58] Total: 11.90 MH, 11.56 MH/s, 0C
[2017-07-24 08:58:59] Benchmark: 11.56 MH/s
11562248

         **********  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: AMD Ryzen 5 1400 Quad-Core Processor
CPU features: SSE2 AES AVX AVX2 SHA
SW built on Jul 24 2017 with GCC 5.4.0
SW features: SSE2 AES AVX AVX2 SHA
Algo features: SSE2 AES SHA
Start mining with SSE2 AES SHA

[2017-07-24 08:59:00] 8 miner threads started, using 'myr-gr' algorithm.
[2017-07-24 08:59:00] Total: 2097.15 kH, 5397.12 kH/s, 0C
[2017-07-24 08:59:05] Total: 17.51 MH, 5452.93 kH/s, 0C
[2017-07-24 08:59:06] Total: 21.72 MH, 5467.62 kH/s, 0C
[2017-07-24 08:59:10] Total: 25.98 MH, 5466.69 kH/s, 0C
[2017-07-24 08:59:15] Total: 25.28 MH, 5466.75 kH/s, 0C
[2017-07-24 08:59:20] Total: 24.80 MH, 5465.82 kH/s, 0C
[2017-07-24 08:59:25] Total: 26.64 MH, 5467.58 kH/s, 0C
[2017-07-24 08:59:30] Total: 12.37 MH, 5468.40 kH/s, 0C
[2017-07-24 08:59:30] Total: 5272.27 kH, 5463.15 kH/s, 0C
[2017-07-24 08:59:31] Benchmark: 5463.15 kH/s
5463145

         **********  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: AMD Ryzen 5 1400 Quad-Core Processor
CPU features: SSE2 AES AVX AVX2 SHA
SW built on Jul 24 2017 with GCC 5.4.0
SW features: SSE2 AES AVX AVX2 SHA
Algo features: SSE2 AES AVX SHA
Start mining with SSE2 AES AVX SHA

[2017-07-24 08:59:31] 8 miner threads started, using 'm7m' algorithm.
[2017-07-24 08:59:38] Total: 1048.58 kH, 159.87 kH/s, 0C
[2017-07-24 08:59:43] Total: 799.38 kH, 159.68 kH/s, 0C
[2017-07-24 08:59:48] Total: 798.43 kH, 159.47 kH/s, 0C
[2017-07-24 08:59:53] Total: 797.34 kH, 159.35 kH/s, 0C
[2017-07-24 08:59:58] Total: 796.75 kH, 159.65 kH/s, 0C
[2017-07-24 09:00:01] Total: 478.95 kH, 159.87 kH/s, 0C
159872
[2017-07-24 09:00:07] Benchmark: 159.87 kH/s
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 25, 2017, 01:51:55 AM
 #2639

cpuminer-opt v3.6.7 is released.

Added Skunk algo, Tribus a little faster and a little code cleanup.

Source tarball: https://drive.google.com/file/d/0B0lVSGQYLJIZOTZBNHNHU0h2N0E/view?usp=sharing

Windows binaries: https://drive.google.com/file/d/0B0lVSGQYLJIZRHVlV3dFZnowNEk/view?usp=sharing

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
aaronsace
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
July 29, 2017, 01:43:14 AM
 #2640

cpuminer-opt v3.6.7 is released.

Added Skunk algo, Tribus a little faster and a little code cleanup.

Source tarball: https://drive.google.com/file/d/0B0lVSGQYLJIZOTZBNHNHU0h2N0E/view?usp=sharing

Windows binaries: https://drive.google.com/file/d/0B0lVSGQYLJIZRHVlV3dFZnowNEk/view?usp=sharing

Hey joblo, are you able to upload the windows binaries to GitHub?
https://github.com/JayDDee/cpuminer-opt/releases

Hello? Are you able to read this? Guess what... the best miner ever created has arrived! https://github.com/aaronsace/MultiPoolMiner/releases
Pages: « 1 ... 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 [132] 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 ... 197 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!