Bitcoin Forum
August 14, 2018, 02:41:38 PM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 183 184 185 186 187 188 189 190 191 »
  Print  
Author Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner  (Read 412292 times)
im10er
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 11, 2018, 11:45:28 AM
 #3421

I keep running into this issue when I try to run cpuminer.. anyone have any ideas?

Code:
        **********  cpuminer-opt 3.8.1.1  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz.
SW built on Feb 11 2018 with GCC 5.4.0.
CPU features: SSE2 AVX AVX2.
SW features: SSE2 AVX AVX2.
Algo features: SSE2 AES.
The SW build requires a CPU with AES and AVX2!

This is what I do to compile it..


Code:
apt-get update && apt-get -qy install \
 automake \
 build-essential \
 libcurl4-openssl-dev \
 libssl-dev \
 git \
 ca-certificates \
 libjansson-dev libgmp-dev g++ --no-install-recommends

./autogen.sh
CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11"
./configure --with-curl
make


This was my run
Code:
./cpuminer -a cryptonight -o stratum+tcp://cryptonight.usa.nicehash.com:3355 -u <wallet>.crypto-1

Any ideas on what's going wrong? I'm using this repo: https://github.com/JayDDee/cpuminer-opt
1534257698
Hero Member
*
Offline Offline

Posts: 1534257698

View Profile Personal Message (Offline)

Ignore
1534257698
Reply with quote  #2

1534257698
Report to moderator
1534257698
Hero Member
*
Offline Offline

Posts: 1534257698

View Profile Personal Message (Offline)

Ignore
1534257698
Reply with quote  #2

1534257698
Report to moderator
1534257698
Hero Member
*
Offline Offline

Posts: 1534257698

View Profile Personal Message (Offline)

Ignore
1534257698
Reply with quote  #2

1534257698
Report to moderator
BOUNTY PORTALS
BLOG
WHERE BOUNTY MANAGEMENT
MEETS AUTOMATION
SIGNATURE CAMPAIGNS
TWITTER
FACEBOOK
MEDIA CAMPAIGNS
AND MORE!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
im10er
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 11, 2018, 12:31:30 PM
 #3422

I keep running into this issue when I try to run cpuminer.. anyone have any ideas?

Code:
        **********  cpuminer-opt 3.8.1.1  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz.
SW built on Feb 11 2018 with GCC 5.4.0.
CPU features: SSE2 AVX AVX2.
SW features: SSE2 AVX AVX2.
Algo features: SSE2 AES.
The SW build requires a CPU with AES and AVX2!

This is what I do to compile it..


Code:
apt-get update && apt-get -qy install \
 automake \
 build-essential \
 libcurl4-openssl-dev \
 libssl-dev \
 git \
 ca-certificates \
 libjansson-dev libgmp-dev g++ --no-install-recommends

./autogen.sh
CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11"
./configure --with-curl
make


This was my run
Code:
./cpuminer -a cryptonight -o stratum+tcp://cryptonight.usa.nicehash.com:3355 -u <wallet>.crypto-1

Any ideas on what's going wrong? I'm using this repo: https://github.com/JayDDee/cpuminer-opt

ooo maybe it's because this 2630 for some reason doesn't have AES? But according to specs it should: https://ark.intel.com/products/64593/Intel-Xeon-Processor-E5-2630-15M-Cache-2_30-GHz-7_20-GTs-Intel-QPI
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1016


View Profile
February 11, 2018, 01:26:29 PM
 #3423

I keep running into this issue when I try to run cpuminer.. anyone have any ideas?
Code:
        **********  cpuminer-opt 3.8.1.1  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz.
SW built on Feb 11 2018 with GCC 5.4.0.
CPU features: SSE2 AVX AVX2.
SW features: SSE2 AVX AVX2.
Algo features: SSE2 AES.
The SW build requires a CPU with AES and AVX2!

ooo maybe it's because this 2630 for some reason doesn't have AES? But according to specs it should: https://ark.intel.com/products/64593/Intel-Xeon-Processor-E5-2630-15M-Cache-2_30-GHz-7_20-GTs-Intel-QPI

Maybe AES is disabled in the BIOS. Xeons being server CPUs may have that capability to reduce power
in applications where encryption is not required. Just guessing.

Edit: regardless of why your CPU doesn't have AES, if you can't enable it, the only recourse is to compile
with -march=core2.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
somaton
Jr. Member
*
Offline Offline

Activity: 42
Merit: 0


View Profile
February 12, 2018, 11:49:55 PM
 #3424

Hello, here are some results from myr-gr with 3.8.1.1 and 3.8.0.1, same Ryzen 1800x with Win 8.1 64-bit, cpuminer-avx2-sha:

[2018-02-13 01:04:09] myr-gr block 1875839, diff 568884.412
[2018-02-13 01:04:09] CPU #3: 4045.67 kH, 482.97 kH/s
[2018-02-13 01:04:09] CPU #4: 3807.94 kH, 454.54 kH/s
[2018-02-13 01:04:09] CPU #5: 3983.73 kH, 475.52 kH/s
[2018-02-13 01:04:09] CPU #11: 4013.04 kH, 479.08 kH/s
[2018-02-13 01:04:09] CPU #12: 3937.05 kH, 470.06 kH/s
[2018-02-13 01:04:09] CPU #15: 4067.70 kH, 485.60 kH/s
[2018-02-13 01:04:09] CPU #2: 4058.00 kH, 484.44 kH/s
[2018-02-13 01:04:09] CPU #6: 3925.32 kH, 468.55 kH/s
[2018-02-13 01:04:09] CPU #0: 4011.98 kH, 478.89 kH/s
[2018-02-13 01:04:09] CPU #10: 4042.91 kH, 482.64 kH/s
[2018-02-13 01:04:09] CPU #7: 4059.21 kH, 484.53 kH/s
[2018-02-13 01:04:09] CPU #13: 4017.46 kH, 479.66 kH/s
[2018-02-13 01:04:09] CPU #9: 4046.48 kH, 483.07 kH/s
[2018-02-13 01:04:09] CPU #14: 4017.24 kH, 479.64 kH/s
[2018-02-13 01:04:09] CPU #1: 4026.06 kH, 480.63 kH/s
[2018-02-13 01:04:09] CPU #8: 3781.78 kH, 451.47 kH/s
[2018-02-13 01:04:15] CTRL_C_EVENT received, exiting

C:\cpuminer-opt-3.8.1.1-windows>

---

[2018-02-13 01:08:37] myr-gr block 2336945, diff 99474.286
[2018-02-13 01:08:39] CPU #5: 15.59 MH, 695.65 kH/s
[2018-02-13 01:08:39] CPU #7: 15.43 MH, 688.54 kH/s
[2018-02-13 01:08:39] CPU #6: 15.43 MH, 688.56 kH/s
[2018-02-13 01:08:39] CPU #10: 15.33 MH, 684.17 kH/s
[2018-02-13 01:08:39] CPU #14: 15.40 MH, 687.02 kH/s
[2018-02-13 01:08:39] CPU #4: 14.03 MH, 625.81 kH/s
[2018-02-13 01:08:39] CPU #12: 13.11 MH, 584.91 kH/s
[2018-02-13 01:08:39] CPU #1: 15.50 MH, 691.68 kH/s
[2018-02-13 01:08:39] CPU #2: 15.41 MH, 687.30 kH/s
[2018-02-13 01:08:39] CPU #0: 14.62 MH, 652.03 kH/s
[2018-02-13 01:08:39] CPU #15: 15.49 MH, 691.23 kH/s
[2018-02-13 01:08:39] CPU #8: 14.21 MH, 633.89 kH/s
[2018-02-13 01:08:39] CPU #11: 15.40 MH, 687.28 kH/s
[2018-02-13 01:08:39] CPU #9: 15.36 MH, 685.27 kH/s
[2018-02-13 01:08:39] CPU #3: 15.42 MH, 688.01 kH/s
[2018-02-13 01:08:39] CPU #13: 15.06 MH, 672.08 kH/s
[2018-02-13 01:08:44] CTRL_C_EVENT received, exiting

C:\cpuminer-opt-3.8.0.1-windows>


---

here is output for neoscrypt, no errors given, same story with 3.8.1.1:

         **********  cpuminer-opt 3.8.0.1  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: AMD Ryzen 7 1800X Eight-Core Processor         .
SW built on Feb  5 2018 with GCC 5.3.1.
CPU features: SSE2 AES AVX AVX2 SHA.
SW features: SSE2 AES AVX AVX2 SHA.
Algo features: None.
Start mining with no optimizations.

[2018-02-13 01:15:46] Starting Stratum on stratum+tcp://neoscrypt.mine.ahashpool.com:4233
[2018-02-13 01:15:46] 16 miner threads started, using 'neoscrypt' algorithm.
[2018-02-13 01:15:47] Stratum difficulty set to 2048
[2018-02-13 01:15:57] neoscrypt block 116272, diff 163.966

C:\cpuminer-opt-3.8.0.1-windows>


Thanks!
phuocduong
Member
**
Offline Offline

Activity: 182
Merit: 10


View Profile
February 13, 2018, 01:37:09 AM
 #3425

good, thanks dev for new version
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1016


View Profile
February 13, 2018, 02:22:15 AM
 #3426

Hello, here are some results from myr-gr with 3.8.1.1 and 3.8.0.1, same Ryzen 1800x with Win 8.1 64-bit, cpuminer-avx2-sha:

You're myr-gr test shows nothing, no share was ever submitted. If it had it would have been rejected.
I discovered this when optimizing it for 4 way. Next release it will be fixed and faster.

But I have reproduced that neoscrypt is broken on Windows, it works on Linux I will investigate.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
mangoo
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
February 13, 2018, 05:26:49 AM
 #3427

Does cpuminer-opt support CPU SHA functions for sha256d algo? Below, it doesn't seem to be the case.


Code:
# ./cpuminer --benchmark -a sha256d

         **********  cpuminer-opt 3.8.0  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: AMD EPYC 7401P 24-Core Processor               .
SW built on Jan 25 2018 with GCC 7.2.0.
CPU features: SSE2 AES AVX AVX2 SHA.
SW features: SSE2 AES AVX AVX2.
Algo features: None.
Start mining with no optimizations.

[2018-02-13 05:20:19] 48 miner threads started, using 'sha256d' algorithm.
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1016


View Profile
February 13, 2018, 06:39:22 AM
 #3428

Does cpuminer-opt support CPU SHA functions for sha256d algo? Below, it doesn't seem to be the case.


Code:
# ./cpuminer --benchmark -a sha256d

         **********  cpuminer-opt 3.8.0  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: AMD EPYC 7401P 24-Core Processor               .
SW built on Jan 25 2018 with GCC 7.2.0.
CPU features: SSE2 AES AVX AVX2 SHA.
SW features: SSE2 AES AVX AVX2.
Algo features: None.
Start mining with no optimizations.

[2018-02-13 05:20:19] 48 miner threads started, using 'sha256d' algorithm.


No, sha256d doesn't use the SHA extension. I'm doing some 4 way work with sha256
and sha512. 4 way sha256 might actually be faster than SHA. However, sha256d has
not been on my radar because it is hopelessly uncompetitive on a CPU. I might take a
look at it eventually but, so many more things to do.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
4ward
Member
**
Online Online

Activity: 343
Merit: 14


View Profile
February 13, 2018, 12:06:30 PM
 #3429

Hello, here are some results from myr-gr with 3.8.1.1 and 3.8.0.1, same Ryzen 1800x with Win 8.1 64-bit, cpuminer-avx2-sha:
But I have reproduced that neoscrypt is broken on Windows, it works on Linux I will investigate.

Neoscrypt is broken since the cross-compile, I believe you said that you will have to rewrite it, but since its not very useful on cpu, its low on the priority list )

joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1016


View Profile
February 13, 2018, 12:40:46 PM
 #3430

Hello, here are some results from myr-gr with 3.8.1.1 and 3.8.0.1, same Ryzen 1800x with Win 8.1 64-bit, cpuminer-avx2-sha:
But I have reproduced that neoscrypt is broken on Windows, it works on Linux I will investigate.

Neoscrypt is broken since the cross-compile, I believe you said that you will have to rewrite it, but since its not very useful on cpu, its low on the priority list )

It looks like yet another alignment issue on Windows. I'll be testing a potential fix later today.
About the rewrite, That has been delayed and will more likely be done incrementally instead
of a complete rewrite.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
gingerbutt
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 13, 2018, 11:07:42 PM
 #3431

Hey there. I sent you an email yesterday about adding an algorithm. Did you get a chance to see it? I'd gladly tip you for your help.
I stayed up pretty late last night troubleshooting, and I've already added the algo, but I can't get CPU temps or accepted/rejected hashes to show up when actually connected to a testnet pool.
https://github.com/TheDankstoneMemery/cpuminer-opt
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1016


View Profile
February 13, 2018, 11:39:33 PM
 #3432

Hey there. I sent you an email yesterday about adding an algorithm. Did you get a chance to see it? I'd gladly tip you for your help.
I stayed up pretty late last night troubleshooting, and I've already added the algo, but I can't get CPU temps or accepted/rejected hashes to show up when actually connected to a testnet pool.
https://github.com/TheDankstoneMemery/cpuminer-opt

There was no link in the email, not that I had already read it.

Try using LYRA2REV2 instead of LYRA2RE. I'm not sure why it makes a difference but it does.
You'll need to add another argument for the matrix, take a look at lyra2rev2.c for how it's done.

You left a lot of defaults for gate functions. are you sure that's correct?

I can add the algo, when it's working, and it will be much faster (with AVX2) compared to the your
fork. CPU temps are only avaiable on Linux.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
gingerbutt
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 13, 2018, 11:44:04 PM
 #3433

Hey there. I sent you an email yesterday about adding an algorithm. Did you get a chance to see it? I'd gladly tip you for your help.
I stayed up pretty late last night troubleshooting, and I've already added the algo, but I can't get CPU temps or accepted/rejected hashes to show up when actually connected to a testnet pool.
https://github.com/TheDankstoneMemery/cpuminer-opt

There was no link in the email, not that I had already read it.

Try using LYRA2REV2 instead of LYRA2RE. I'm not sure why it makes a difference but it does.
You'll need to add another argument for the matrix, take a look at lyra2rev2.c for how it's done.

You left a lot of defaults for gate functions. are you sure that's correct?

I can add the algo, when it's working, and it will be much faster (with AVX2) compared to the your
fork. CPU temps are only avaiable on Linux.

Currently working in Linux Mint 18. Will try your suggestion and give it a shot. Thank you! The source I used for Allium came from github.com/GarlicoinOrg/cpuminer-multi. After reading more about the algo itself, I did switch it over to LYRA2REV2 like you suggested, but I haven't taken a look at the extra args yet. Probably why I'm getting "too few arguments to function" when building.

As for the gate functions, I really don't know. I haven't dived into C for a couple years, and I just wanted to add the algo to the miner I prefer.
gingerbutt
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 14, 2018, 12:11:17 AM
 #3434

I added null and 1 in the matrix, and now it builds, but it gives me a segmentation fault with either option. I think I'm missing something. Is there a chance I could chat with you through discord or something like that? Do you have time?
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1016


View Profile
February 14, 2018, 12:34:12 AM
 #3435

I added null and 1 in the matrix, and now it builds, but it gives me a segmentation fault with either option. I think I'm missing something. Is there a chance I could chat with you through discord or something like that? Do you have time?

You need to allocate the matrix when you register the algo, take a look at lyra2rev2-gate.c.
You're also missing some non-default gate functions. Take a look at the allium hooks in cpu-miner.c

Or do you just want me to do it?

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
gingerbutt
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 14, 2018, 12:40:16 AM
 #3436

If you can do it, I'll gladly tip in GRLC if you'll accept. I'll still try my hand at hacking it together with my fork. I want to learn. Will try figuring this out on my end. Thanks!
theboymaker
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 14, 2018, 10:29:57 AM
 #3437

Hi there,

I'm mining on x17 and I have this:

Code:
localhost:9286 detected new block, diff 15.186, target 0.000

is the fact of having target at 0 a problem?
what does it mean?

Thanks for your answers!
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1016


View Profile
February 15, 2018, 08:01:31 PM
 #3438

cpuminer-opt-3.8.2

https://github.com/JayDDee/cpuminer-opt/releases/tag/v3.8.2

Fixed and faster myr-gr.
Added x12 algo (Galaxie Cash), allium algo (Garlicoin).
Faster lyra2rev2, lbry, skein.
Large reduction in compiler warnings.

The Windows binaries crash mining neoscrypt, use the legacy version instead.
There is no estimate for resolution.

4 way has been implemented for sha256 and will be used instead of the SHA extension
on ryzen CPUs, as well as all CPUs with AVX2. Performance of sha256-4way is expected
to be better than SHA. Please report if otherwise. Affected algos are skein, lbry & myr-gr.

Garlicoin is  about to do a hard fork to switch to the allium algo. Please ensure the fork has
occurred before using allium.

There are occasional rejects mining allium (testnet) reporting low difficulty share. Based
on when they occur they appear to be stale instead of low diff. Low diff rejects are usually
a SW bug and affect all shares. Stale shares can occur and can sometimes occur in groups
until a new block is issued by the pool.

I messed up build.sh, changed to link to my local libraries and forgot to change it back.
It needs to be editted before using.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
gingerbutt
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 15, 2018, 08:41:23 PM
 #3439

Got a Garlicoin wallet I can donate to?
wildzer0
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
February 15, 2018, 10:16:53 PM
 #3440

Can't mine any Garlicoin, shares are always rejected (tried 3 different pools):

Code:
[2018-02-15 23:16:32] Share submitted.
[2018-02-15 23:16:32] CPU #1: 107.11 kH, 113.17 kH/s
[2018-02-15 23:16:32] Rejected 14/14 (100.0%), diff 0.0294, 883.56 kH/s
[2018-02-15 23:16:32] reject reason: low difficulty share of 0.000040906673679398166
Pages: « 1 ... 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 183 184 185 186 187 188 189 190 191 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!