Pages:
Author

Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner - page 28. (Read 444103 times)

newbie
Activity: 7
Merit: 0
Okay, thanks for the info. I was going by this list: http://pools.garlicoin.fun/ and choosing pools where it said "Allium ready: yes".


Yeah, that just means they're ready for the switchover this Friday. Should be seamless. Until then, you have to use scrypt:2048.
newbie
Activity: 28
Merit: 0
Okay, thanks for the info. I was going by this list: http://pools.garlicoin.fun/ and choosing pools where it said "Allium ready: yes".
newbie
Activity: 7
Merit: 0
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


You can't mine Garlicoin with Allium until the fork. You have to use -a scrypt:2048 until then.
You can try mining on a testnet pool like stratum+tcp://testnet.garlic-factory.fun:3333
newbie
Activity: 28
Merit: 0
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
newbie
Activity: 7
Merit: 0
Got a Garlicoin wallet I can donate to?
legendary
Activity: 1470
Merit: 1114
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.
newbie
Activity: 2
Merit: 0
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!
newbie
Activity: 7
Merit: 0
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!
legendary
Activity: 1470
Merit: 1114
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?
newbie
Activity: 7
Merit: 0
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?
newbie
Activity: 7
Merit: 0
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.
legendary
Activity: 1470
Merit: 1114
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.
newbie
Activity: 7
Merit: 0
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
legendary
Activity: 1470
Merit: 1114
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.
member
Activity: 473
Merit: 18
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 )
legendary
Activity: 1470
Merit: 1114
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.
newbie
Activity: 23
Merit: 0
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.
legendary
Activity: 1470
Merit: 1114
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.
member
Activity: 182
Merit: 10
good, thanks dev for new version
jr. member
Activity: 212
Merit: 6
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!
Pages:
Jump to: