Bitcoin Forum
April 25, 2024, 03:38:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 »
  Print  
Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 443960 times)
stevascha
Member
**
Offline Offline

Activity: 312
Merit: 10


View Profile
January 06, 2018, 06:21:10 PM
 #3161

Hi Joblo! 3.7.8 avx-sha is better than ever!

Im mining m7m algo, but I mine with both GPUs and Ryzen. The 16thread mining are slowing down the GPUs mining.

How could I set CPU affinity for all threads but CPU0 (or threads 0 and 1)?

I searched for an option to do it, but I havent found nothing  Undecided


EDIT:'

I found it:
https://phempshall.github.io/cpuminer-affinity-setter/

works Cheesy

i wanna ask, for ryzen 7
do you use  --cpu-affinity 255 --cpu-priority 4? or --cpu-affinity 255 --cpu-priority 2
what's different?

YENTEN - YescryptR16 - NO PREMINE - ASIC RESISTANT - WALLET MINING - COMMUNITY MANAGED - ADULT MALES
Yenten is a Japanese cryptocurrency of the cpu, by the cpu, for the cpu.
No ASIC. ASIC is for girls and kids. Join us!
1714016303
Hero Member
*
Offline Offline

Posts: 1714016303

View Profile Personal Message (Offline)

Ignore
1714016303
Reply with quote  #2

1714016303
Report to moderator
1714016303
Hero Member
*
Offline Offline

Posts: 1714016303

View Profile Personal Message (Offline)

Ignore
1714016303
Reply with quote  #2

1714016303
Report to moderator
1714016303
Hero Member
*
Offline Offline

Posts: 1714016303

View Profile Personal Message (Offline)

Ignore
1714016303
Reply with quote  #2

1714016303
Report to moderator
You can see the statistics of your reports to moderators on the "Report to moderator" pages.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 06, 2018, 07:31:42 PM
 #3162

Hi Joblo! 3.7.8 avx-sha is better than ever!

Im mining m7m algo, but I mine with both GPUs and Ryzen. The 16thread mining are slowing down the GPUs mining.

How could I set CPU affinity for all threads but CPU0 (or threads 0 and 1)?

I searched for an option to do it, but I havent found nothing  Undecided


EDIT:'

I found it:
https://phempshall.github.io/cpuminer-affinity-setter/

works Cheesy

i wanna ask, for ryzen 7
do you use  --cpu-affinity 255 --cpu-priority 4? or --cpu-affinity 255 --cpu-priority 2
what's different?

First use hex because it's easier to map the bits to cores. 255 = 0x00ff = 0b0000000011111111
Only 8 bits/cores for 16 threads?
My previous post showed how to run 14 miner threads leaving one core (2 threads) free.
Some users when mining 8 threads have reported better performance with affinity 0x5555.

Second, priority isn't very useful unless you're also running background tasks and want to
prioritize between them and mining.

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

Activity: 677
Merit: 500


View Profile
January 07, 2018, 07:49:33 AM
 #3163

Now that m7m is back (hashrefinery), some m7m numbers for cpuminer-opt v3.7.8v2 (maybe should call it 3.7.8.1, lol).

Ryzen Threadripper 1950X @ 3.7 GHz

sse2
545 kH/s

avx-sha
565 kH/s

4way-sha
545 kH/s

aes-avx
550 kH/s

aes-avx2
535 kH/s

aes-sse42
516 kH/s

sse42
580 kH/s

Put something in my tip jar if I made your day. Smiley
BTC:
1MkmBHDjonAFXui6JEx9ZmEemfMtUo9Cmu
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 07, 2018, 05:17:05 PM
 #3164

Now that m7m is back (hashrefinery), some m7m numbers for cpuminer-opt v3.7.8v2 (maybe should call it 3.7.8.1, lol).

Ryzen Threadripper 1950X @ 3.7 GHz

sse2
545 kH/s

avx-sha
565 kH/s

4way-sha
545 kH/s

aes-avx
550 kH/s

aes-avx2
535 kH/s

aes-sse42
516 kH/s

sse42
580 kH/s

Those results are very suspicious, Particularly the fastest is sse42 and the slowest is aes-sse42.There is no aes
in m7m so they should be identical. Also the sha builds are not significantly faster than the equivalent non-sha,
but are significantly slower than sse42.

I don't know why but I don't think it's due to mislabeled files.

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

Activity: 677
Merit: 500


View Profile
January 07, 2018, 05:39:02 PM
 #3165

Now that m7m is back (hashrefinery), some m7m numbers for cpuminer-opt v3.7.8v2 (maybe should call it 3.7.8.1, lol).

Ryzen Threadripper 1950X @ 3.7 GHz

sse2
545 kH/s

avx-sha
565 kH/s

4way-sha
545 kH/s

aes-avx
550 kH/s

aes-avx2
535 kH/s

aes-sse42
516 kH/s

sse42
580 kH/s

Those results are very suspicious, Particularly the fastest is sse42 and the slowest is aes-sse42.There is no aes
in m7m so they should be identical. Also the sha builds are not significantly faster than the equivalent non-sha,
but are significantly slower than sse42.

I don't know why but I don't think it's due to mislabeled files.

Probably due to background processes?  This *is* Windows we're talking about.

The first time I ran aes-sha I got 607 kH/s, but I could never reproduce it.  Ran for a few minutes for each executable.

Put something in my tip jar if I made your day. Smiley
BTC:
1MkmBHDjonAFXui6JEx9ZmEemfMtUo9Cmu
alucard20724
Sr. Member
****
Offline Offline

Activity: 703
Merit: 272


View Profile
January 08, 2018, 02:19:53 AM
 #3166

I'm trying to run lyraZ2 on an i7-7820X with 4way, avxSha, and 4waysha.  using version 3.7.8 and win10

i get constant rejects from the pool "reject reason: low difficulty share of 0.000005" or smaller
from miningpoolhub

cpu is hashing at 1.3MH/s

i tried to manually lower the difficulty to d=0.01 but didn't seem to take it.

any suggestions?
ss10miner
Member
**
Offline Offline

Activity: 115
Merit: 10


View Profile
January 08, 2018, 03:13:33 AM
 #3167

Perfect!  CPUMINER now is more and more stronger.  I will test it with YTN mining.
jbmustaq
Full Member
***
Offline Offline

Activity: 445
Merit: 100


View Profile
January 08, 2018, 03:52:20 AM
 #3168

Hi Dev,

Can you please let me know the steps to install cpuminer in centos 6 as I am getting error.

algo/m7m.c:369: warning: implicit declaration of function ‘mpz_clears’
make[2]: *** [algo/cpuminer-m7m.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f algo/.deps/cpuminer-lbry.Tpo algo/.deps/cpuminer-lbry.Po
mv -f .deps/cpuminer-util.Tpo .deps/cpuminer-util.Po
mv -f .deps/cpuminer-cpu-miner.Tpo .deps/cpuminer-cpu-miner.Po
make[2]: Leaving directory `/root/cpuminer-opt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cpuminer-opt'
make: *** [all] Error 2
strip: 'cpuminer': No such file
[root@host cpuminer-opt]#
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 08, 2018, 05:12:30 AM
 #3169

any suggestions?

Yes. Read a few posts back, it's been discussed.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 08, 2018, 05:19:11 AM
 #3170

Hi Dev,

Can you please let me know the steps to install cpuminer in centos 6 as I am getting error.

algo/m7m.c:369: warning: implicit declaration of function ‘mpz_clears’
make[2]: *** [algo/cpuminer-m7m.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f algo/.deps/cpuminer-lbry.Tpo algo/.deps/cpuminer-lbry.Po
mv -f .deps/cpuminer-util.Tpo .deps/cpuminer-util.Po
mv -f .deps/cpuminer-cpu-miner.Tpo .deps/cpuminer-cpu-miner.Po
make[2]: Leaving directory `/root/cpuminer-opt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cpuminer-opt'
make: *** [all] Error 2
strip: 'cpuminer': No such file
[root@host cpuminer-opt]#


You didn't actually show the error but Centos6 is too old.

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

Activity: 187
Merit: 100

Cryptocurrency enthusiast


View Profile
January 08, 2018, 09:12:07 AM
 #3171

-t 14 --cpu-affinity 0xfffd should mine on logical cores 2 through 15 leaving cores 0 & 1 free.
But I'm not sure threads 0 & 1 are mapped to the same physical core. You might have to
play with the affinity mask to isolate 2 threads on the same physical core.
Other possibilities include 0xfefe (threads 0 & Cool and 0xffee (threads 0 & 4). I can't think of
any other way they could be mapped. Please let us know which one works.

For all: as well as using https://phempshall.github.io/cpuminer-affinity-setter/ you may use this affinity calculator: http://www.gatwick-fsg.org.uk/affinitymask.aspx

If you want to isolate virtual cores on physical cores, you may use (I do) this old tool: https://developer.amd.com/resources/articles-whitepapers/processor-and-core-enumeration-using-cpuid/

So, download coreenumcodesample.zip out there, unzip, create bat file to launch:

enum.exe -more
pause

You will get the info - which cores are physical, and which ones are virtual. This info is very useful for HT cpus.

Note: I have never tested it on AMD cpus, but works ok for skylake/kaby lake/haswell/ivy bridge/skylake-x/broadwell-ep.

joblo may attach these tools to the 1st post (in a smaller size i guess) so everybody could know.
stevascha
Member
**
Offline Offline

Activity: 312
Merit: 10


View Profile
January 08, 2018, 01:41:26 PM
Last edit: January 08, 2018, 01:55:15 PM by stevascha
 #3172

Hi Joblo! 3.7.8 avx-sha is better than ever!

Im mining m7m algo, but I mine with both GPUs and Ryzen. The 16thread mining are slowing down the GPUs mining.

How could I set CPU affinity for all threads but CPU0 (or threads 0 and 1)?

I searched for an option to do it, but I havent found nothing  Undecided


EDIT:'

I found it:
https://phempshall.github.io/cpuminer-affinity-setter/

works Cheesy

i wanna ask, for ryzen 7
do you use  --cpu-affinity 255 --cpu-priority 4? or --cpu-affinity 255 --cpu-priority 2
what's different?

First use hex because it's easier to map the bits to cores. 255 = 0x00ff = 0b0000000011111111
Only 8 bits/cores for 16 threads?
My previous post showed how to run 14 miner threads leaving one core (2 threads) free.
Some users when mining 8 threads have reported better performance with affinity 0x5555.

Second, priority isn't very useful unless you're also running background tasks and want to
prioritize between them and mining.

i didn't see what a different using hexa or dec
im try 255, its running well

1700x yescryptr16
avx-sha around 1300khs (many reject)
4way-sha around 1200khs (many reject)
avx2 around 1100khs (many reject)
the reject appears after difficulty pool has changed

im not tested long day because have ram problem stability (3200mhz)


YENTEN - YescryptR16 - NO PREMINE - ASIC RESISTANT - WALLET MINING - COMMUNITY MANAGED - ADULT MALES
Yenten is a Japanese cryptocurrency of the cpu, by the cpu, for the cpu.
No ASIC. ASIC is for girls and kids. Join us!
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 08, 2018, 05:19:01 PM
 #3173


First use hex because it's easier to map the bits to cores. 255 = 0x00ff = 0b0000000011111111
Only 8 bits/cores for 16 threads?
My previous post showed how to run 14 miner threads leaving one core (2 threads) free.
Some users when mining 8 threads have reported better performance with affinity 0x5555.

Second, priority isn't very useful unless you're also running background tasks and want to
prioritize between them and mining.

i didn't see what a different using hexa or dec
im try 255, its running well

1700x yescryptr16
avx-sha around 1300khs (many reject)
4way-sha around 1200khs (many reject)
avx2 around 1100khs (many reject)
the reject appears after difficulty pool has changed

im not tested long day because have ram problem stability (3200mhz)



I didn't say there was a difference with hex, I said it's easier to understand. As an example
which cores are used with affinity= 43690?

If you think it's running well with 16 threads and affinity 255 then you don't understand,
That's only 8 cores for 16 threads meaning you have 8 cores idle and 8 cores with 2 threads each.

The rejects and the share flood are pool issues.

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

Activity: 3
Merit: 0


View Profile
January 08, 2018, 09:21:49 PM
 #3174

Hi.

I tried multiple times to use the API feature but I think I didn't get how it works.

I tried to open in Chrome http://127.0.0.1:4048 but I received "ERR_EMPTY_RESPONSE", same if I try http://127.0.0.1:4048/api
I also tried with telnet 127.0.0.1 4048 but I don't receive any response there as well.

I am using the release version for Windows x64 3.7.8
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 08, 2018, 11:53:03 PM
 #3175

Hi.

I tried multiple times to use the API feature but I think I didn't get how it works.

I tried to open in Chrome http://127.0.0.1:4048 but I received "ERR_EMPTY_RESPONSE", same if I try http://127.0.0.1:4048/api
I also tried with telnet 127.0.0.1 4048 but I don't receive any response there as well.

I am using the release version for Windows x64 3.7.8

You need to enter a command in telnet to get anything, start with help.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 09, 2018, 03:40:36 AM
 #3176

cpuminer-opt-3.7.9

Partial 4way optimizations for veltor, skunk, polytimos, lyra2z.
Additional 4way optimizations for X algos.
New algo yescryptr8 for BitZeny, not to be confused with original
yescrypt Globalboost-Y.

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

This release marks a milestone for cpuminer-opt. All 11 functions of x11 are
now optimized. 5 have 4-way AVX2, 2 have serial AVX2, 3 have AES & SSE2
and 1 has only SSE2.

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

Activity: 703
Merit: 272


View Profile
January 09, 2018, 05:36:45 AM
 #3177

cpuminer-opt-3.7.9

Partial 4way optimizations for veltor, skunk, polytimos, lyra2z.
Additional 4way optimizations for X algos.
New algo yescryptr8 for BitZeny, not to be confused with original
yescrypt Globalboost-Y.

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

This release marks a milestone for cpuminer-opt. All 11 functions of x11 are
now optimized. 5 have 4-way AVX2, 2 have serial AVX2, 3 have AES & SSE2
and 1 has only SSE2.

nice... running 4way now with lyra2z on i7-7820X... shares are being accepted on miningpoolhub.

thanks
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 09, 2018, 06:04:04 AM
 #3178

cpuminer-opt-3.7.9

Partial 4way optimizations for veltor, skunk, polytimos, lyra2z.
Additional 4way optimizations for X algos.
New algo yescryptr8 for BitZeny, not to be confused with original
yescrypt Globalboost-Y.

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

This release marks a milestone for cpuminer-opt. All 11 functions of x11 are
now optimized. 5 have 4-way AVX2, 2 have serial AVX2, 3 have AES & SSE2
and 1 has only SSE2.

nice... running 4way now with lyra2z on i7-7820X... shares are being accepted on miningpoolhub.

thanks

How does the hash rate compare? I saw less than 1% improvement on i7-6700K.

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

Activity: 350
Merit: 100


View Profile
January 09, 2018, 06:21:31 AM
 #3179

So many exe files, which one is best for ryzen 1700?
alucard20724
Sr. Member
****
Offline Offline

Activity: 703
Merit: 272


View Profile
January 09, 2018, 06:35:22 AM
 #3180

cpuminer-opt-3.7.9

Partial 4way optimizations for veltor, skunk, polytimos, lyra2z.
Additional 4way optimizations for X algos.
New algo yescryptr8 for BitZeny, not to be confused with original
yescrypt Globalboost-Y.

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

This release marks a milestone for cpuminer-opt. All 11 functions of x11 are
now optimized. 5 have 4-way AVX2, 2 have serial AVX2, 3 have AES & SSE2
and 1 has only SSE2.

nice... running 4way now with lyra2z on i7-7820X... shares are being accepted on miningpoolhub.

thanks

How does the hash rate compare? I saw less than 1% improvement on i7-6700K.

I'm getting 1.36MH/s for 4waysha as apposed to only 1.28MH/s for avx2 and 800KH/s for avx for my i7-7820X.   I just got this cpu this weekend.  I'm currently running the test on my i7-5930K (AVX2@800KH/s with ver 3.7.8 ), and i7-7700K (AVX2@680KH/s with ver 3.7.8 )... these are all at stock speeds with no overclocks added.
Pages: « 1 ... 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 183 184 185 186 187 188 189 190 191 192 193 194 195 196 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!