Pages:
Author

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

legendary
Activity: 1470
Merit: 1114
I can not use this miner at all. I have windows 10 build 1803 (no choice hardware change + new install) and a Ryzen 5 2400G with 8GB DDR4 2400MHz.

Everytime I launch the miner, the window closes at once, even while running as admin or with compatibility mode activated.

How could I solve this issue ?

Thanks.

README.txt:
Quote
cpuminer is a console program that is executed from a DOS command prompt.
There is no GUI and no mouse support.
newbie
Activity: 7
Merit: 0
Thank you very much, but if i dont use -t option, all threads are still doing job. I got i5-5200u - 2 cores 4threads so i use affinity 0x5, same thing on another pc with i3-380m also 2 cores 4 threads and still all threads work anyway.
https://i.imgur.com/wEdm2NK.jpg
jr. member
Activity: 93
Merit: 7
Hey
Sory for the noob question, but is there option to lower cpu usage during mining other than setting number of threads?
You can try/use
Quote
--cpu-priority    set process priority (default: 0 idle, 2 normal to 5 highest)
(and set affinity or threads also)

I'm using --cpu-priority 0 - so you will not feel any performance issue while you are working, CPU pumps and dumps hash rate automatically
It's quite the same as you will set "priority usage" on windows taskmanger (process) but you don't need to because it's already in your command line (bat-file)

Thanks, very usefull Smiley

Edit: Could someone help me setup affinity for i5-5200u?
I would recommend to use only "real" cores, so no hyperthreads.
That means, you first have to know how much cores your CPU has. Then, you can choose on which and how many cores you want to mine with. This is in binary form and you have to "convert" this into hex.
Sounds difficult, but quite easy...

Example for my CPU:
I'm using a i8700k, 6 cores - 12 threads. - each core is followed by it's hyperthread
I'm mining on all 6 "real" cores...so it looks like this:
10101010101
1 = core and using for mining
0 = hyperthread and not used for mining

"converting" this (10101010101) into hex: 555
so my --cpu-affinity for 6 cores without hyperthreads is: --cpu-affinity 0x555

If want to mine only on 4 cores it would be:
1010101
converted to hex: 55

ergo: --cpu-affinity 0x55


Because it's my "working" PC and I don't want to get laggy I lowered the intensitiy to 0 - which means idle-power.
So, if I need more cpu power on demand the miner throttles down

All in all my command line in my bat-file looks like this:
Quote
cpuminer-xxxx -a algo --cpu-affinity 0x555 --cpu-priority 0 -o stratum+tcp://pool:port -u wallet-or-name -p x -q

-q is for not spamming every core's hash Wink


With --cpu-affinity you can set/select the cores directly. Using -t for threads isn't necessary anymore
If you only using -t it usually uses the number  in sum, so core and it's hyperthread. Ergo less hash-rate for the same power-usage

You can check this or look it up in any hardware monitoring tool like "HWMonitor", there you can see the wattage the cpu consumes, what cores are working etc.

Play around with that and your cores/intensity to get the best you want. It's also different from coin (algo) to another and can be laggy if your working on your PC, so lower intensity or threads. Some algos are "heavier" then others Wink

full member
Activity: 1120
Merit: 131
I can not use this miner at all. I have windows 10 build 1803 (no choice hardware change + new install) and a Ryzen 5 2400G with 8GB DDR4 2400MHz.

Everytime I launch the miner, the window closes at once, even while running as admin or with compatibility mode activated.

How could I solve this issue ?

Thanks.
newbie
Activity: 7
Merit: 0
Hey
Sory for the noob question, but is there option to lower cpu usage during mining other than setting number of threads?
You can try/use
Quote
--cpu-priority    set process priority (default: 0 idle, 2 normal to 5 highest)
(and set affinity or threads also)

I'm using --cpu-priority 0 - so you will not feel any performance issue while you are working, CPU pumps and dumps hash rate automatically
It's quite the same as you will set "priority usage" on windows taskmanger (process) but you don't need to because it's already in your command line (bat-file)

Thanks, very usefull Smiley

Edit: Could someone help me setup affinity for i5-5200u?
jr. member
Activity: 93
Merit: 7
Hey
Sory for the noob question, but is there option to lower cpu usage during mining other than setting number of threads?
You can try/use
Quote
--cpu-priority    set process priority (default: 0 idle, 2 normal to 5 highest)
(and set affinity or threads also)

I'm using --cpu-priority 0 - so you will not feel any performance issue while you are working, CPU pumps and dumps hash rate automatically
It's quite the same as you will set "priority usage" on windows taskmanger (process) but you don't need to because it's already in your command line (bat-file)
newbie
Activity: 7
Merit: 0
Hey
Sory for the noob question, but is there option to lower cpu usage during mining other than setting number of threads?
member
Activity: 473
Merit: 18
cpuminer-opt-3.8.8.1

API displays hashrate before shares are submitted.


Thank you for this, it is helpful Smiley


In case you plan to implement Large/Huge pages (and I hope you do Wink ),
Verium miner which is based on cpuminer-multi, have implemented it for both Linux and Windows
Assuming code efficiency for Verium is roughly the same, performance improvement is from 35h/s to 48h/s, which is ~37%

Take a look https://github.com/fireworm71/veriumMiner/commit/d02684e361ccf1842402d08fc8cb406fcd3fbb36
legendary
Activity: 1470
Merit: 1114
help plz  i don,t know why it show that my cpu not support avx2 using ubuntu 16.04
https://prnt.sc/jgjhjd

Your CPU supports AVX, not AVX2.
my cpo e5-2690 v4 its support AVX2

Windows or Linux? If Linux how did you compile? If Windows did you try the AVX2 build?
legendary
Activity: 1470
Merit: 1114
cpuminer-opt-3.8.8.1

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

Fixed x16r.
Removed cryptonight variant check due to false positives.
API displays hashrate before shares are submitted.
newbie
Activity: 23
Merit: 0
help plz  i don,t know why it show that my cpu not support avx2 using ubuntu 16.04
https://prnt.sc/jgjhjd

Your CPU supports AVX, not AVX2.
my cpo e5-2690 v4 its support AVX2
member
Activity: 388
Merit: 13
help plz  i don,t know why it show that my cpu not support avx2 using ubuntu 16.04
https://prnt.sc/jgjhjd

Your CPU supports AVX, not AVX2.
newbie
Activity: 23
Merit: 0
help plz  i don,t know why it show that my cpu not support avx2 using ubuntu 16.04
https://prnt.sc/jgjhjd
legendary
Activity: 1470
Merit: 1114

Thanks, but neither is cpuminer compatible. Both are written in an OO language I'm not
famliar with. I'd have to learn either PHP or Java before I could determine if I could
convert it to cpuminer compatible C.
hey maybe this one

https://bitbucket.org/cryptogone/ariocppminer/src

Arionum CPU miner implemented in C++

That helps but still a lot of uncertainty. Arionum is more complex than the other argon2 coins so a lot more work.
I'm not ready to go there yet.
legendary
Activity: 1470
Merit: 1114
Hello.
I tried to build with Ubuntu 18.04 LTS, but I could not.

/usr/bin/x86_64-linux-gnu-ld: cannot find -lz
...

What should I do?

sudo apt-get install zlib1g-dev
full member
Activity: 239
Merit: 100

Thanks, but neither is cpuminer compatible. Both are written in an OO language I'm not
famliar with. I'd have to learn either PHP or Java before I could determine if I could
convert it to cpuminer compatible C.
hey maybe this one

https://bitbucket.org/cryptogone/ariocppminer/src

Arionum CPU miner implemented in C++
newbie
Activity: 11
Merit: 0
Hello.
I tried to build with Ubuntu 18.04 LTS, but I could not.

/usr/bin/x86_64-linux-gnu-ld: cannot find -lz
...

What should I do?
legendary
Activity: 1470
Merit: 1114
Algo request: argon2id

Coin & pools for testing: https://bitcointalksearch.org/topic/annevmargon2idaquachain-aquaprogrammable-money-3138231

Original generic CPU miner source code: https://github.com/aquanetwork/aquachain/archive/aquaminer-v0.3.2.zip

Generic miner supports AVX/AVX2, so it may be added w/ less problems (if it's enough optimized, of course).

Coin releases @ github: https://github.com/aquanetwork/aquachain/releases

---

Is this a good example of exact request? Thanks.

It's a good effort but unfortunately the miner is written in GO.
full member
Activity: 187
Merit: 100
Cryptocurrency enthusiast
Algo request: argon2id

Coin & pools for testing: https://bitcointalksearch.org/topic/annevmargon2idaquachain-aquaprogrammable-money-3138231

Original generic CPU miner source code: https://github.com/aquanetwork/aquachain/archive/aquaminer-v0.3.2.zip

Generic miner supports AVX/AVX2, so it may be added w/ less problems (if it's enough optimized, of course).

Coin releases @ github: https://github.com/aquanetwork/aquachain/releases

---

Is this a good example of exact request? Thanks.



legendary
Activity: 1470
Merit: 1114
Anyone using cpuminer-opt to mine cryptonight may be seeing variant mismatch warnings.

https://github.com/JayDDee/cpuminer-opt/issues/136

I'm still investigating but I have seen it intermittantly at Nicehash. I don't know if it's
Nicehash only or related to a specific coin. I suspect it happens at Nicehash when  it switches
orders, likely mining a different coin.

The V7 spec states that byte zero of the data blob is the version byte. A version less than 7 is the old
cryptonight and 7 is V7. However I've seen version 9 while mining V7 at Nicehash. In spite of the
warning the shares were accepted.

I inserted the warning based on the spec to help users make sure they are using the correct variant.
However, it seems to have backfired.

If anyone has any more info whether it happens at other pools using either the original or V7 and whether
the shares are accepted it might help better understand the issue.

Also, if anyone has any useful info about the other cryptonight variants, or any of the other requested algos (sigh) ...
Pages:
Jump to: