Bitcoin Forum
March 23, 2019, 10:07:27 PM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 »
  Print  
Author Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner  (Read 419096 times)
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


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

any suggestions?

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

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

Posts: 1553378847

View Profile Personal Message (Offline)

Ignore
1553378847
Reply with quote  #2

1553378847
Report to moderator
1553378847
Hero Member
*
Offline Offline

Posts: 1553378847

View Profile Personal Message (Offline)

Ignore
1553378847
Reply with quote  #2

1553378847
Report to moderator
Your Bitcoin transactions
The Ultimate Bitcoin mixer
made truly anonymous.
with an advanced technology.
Mix coins
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


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

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.

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

Activity: 193
Merit: 100

Cryptocurrency enthusiast


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

-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: 314
Merit: 10


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

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

Activity: 1148
Merit: 1050


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


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.

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

Activity: 3
Merit: 0


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

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

Activity: 1148
Merit: 1050


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

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.

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

Activity: 1148
Merit: 1050


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

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.

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

Activity: 446
Merit: 250


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

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

Activity: 1148
Merit: 1050


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

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.

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

Activity: 350
Merit: 100


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

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

Activity: 446
Merit: 250


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

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.
stevascha
Member
**
Offline Offline

Activity: 314
Merit: 10


View Profile
January 09, 2018, 10:23:48 AM
Last edit: January 09, 2018, 11:48:59 AM by stevascha
 #3193


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.

yeah i dont understand difference core and thread
more confused you say affinity 43690 and binary

i try 0xfffd, 0xfefe, 0xffee, it decrease the gpu hash
best so far 0x5555 because less decrease than others

is it necessary use -t command for mapping?

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!
moreAndMoreAndMore
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
January 09, 2018, 11:04:16 AM
 #3194

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.

I tried to write something in the telnet but as soon as I write a character it closes the session.

When I open the cmd I write "telnet 127.0.0.1 4048", then a black page with a cursor blinking appears and stays there.
As soon as I write any character in the that page the telnet session closes and I am back to the cmd prompt.
4ward
Member
**
Offline Offline

Activity: 444
Merit: 17


View Profile
January 09, 2018, 11:21:34 AM
 #3195

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.

I tried to write something in the telnet but as soon as I write a character it closes the session.

When I open the cmd I write "telnet 127.0.0.1 4048", then a black page with a cursor blinking appears and stays there.
As soon as I write any character in the that page the telnet session closes and I am back to the cmd prompt.

try this:
https://github.com/JayDDee/cpuminer-opt/blob/master/api/websocket.htm

MagicSmoker
Full Member
***
Offline Offline

Activity: 406
Merit: 174



View Profile
January 09, 2018, 02:15:58 PM
 #3196

I hope I'm doing something wrong because this is a real disappointment compared to Claymore CPU Miner 3.9 - I get around 400 H/s with my Ryzen 5 1600 on Cryptonight with Claymore but just under 200 H/s with this. I'm using the recommended exe for Ryzen - cpuminer-avx-sha.exe - but without any command line optimizations enabled. Desktop interactivity of this computer is also reduced running this miner.

4ward
Member
**
Offline Offline

Activity: 444
Merit: 17


View Profile
January 09, 2018, 02:22:23 PM
 #3197

I hope I'm doing something wrong because this is a real disappointment compared to Claymore CPU Miner 3.9 - I get around 400 H/s with my Ryzen 5 1600 on Cryptonight with Claymore but just under 200 H/s with this. I'm using the recommended exe for Ryzen - cpuminer-avx-sha.exe - but without any command line optimizations enabled. Desktop interactivity of this computer is also reduced running this miner.


Claymore would probably do much better for 2 reasons:
a. it autodetects the amount of cache and amount of necessary threads
try allocating 1 thread per each 2mb of L2 cache you have
b. it supports memory locking mechanism that speeds up memory transfers

cpuminer is good in many things, but cryptonight is not one of them )

StelioKontos
Sr. Member
****
Offline Offline

Activity: 658
Merit: 265


Chad Hodler since 2013


View Profile
January 09, 2018, 02:24:32 PM
 #3198

New in v3.7.9

Partial 4way optimizations for veltor, skunk, polytimos, lyra2z.

Thank you for the update and for you great work. Is lyra2z same as lyra2z330 and lyra2zoin?

freebitcoin     ZOIN !!! > NOIR IntenseCoin     flypme     Oyster     BOTTOS     NIX
BTC faucet & more     coin                  coin       coin                            c2c exchange   token              token                 dex manager
MagicSmoker
Full Member
***
Offline Offline

Activity: 406
Merit: 174



View Profile
January 09, 2018, 02:42:58 PM
 #3199

Claymore would probably do much better for 2 reasons:
a. it autodetects the amount of cache and amount of necessary threads
try allocating 1 thread per each 2mb of L2 cache you have
b. it supports memory locking mechanism that speeds up memory transfers

cpuminer is good in many things, but cryptonight is not one of them )

Aye, after writing this I tried setting "-t 8" as my CPU has 16MB of L3 cache, but there was no real change (if anything, it might have been a little slower!?). Also should have mentioned I always run miners as administrator just in case large memory pages can be used, but, apparently this is not the case here. Ah well, I'll keep my eye on this project anyway because I like rooting for the underdogs.

joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
January 09, 2018, 03:24:43 PM
 #3200

Claymore would probably do much better for 2 reasons:
a. it autodetects the amount of cache and amount of necessary threads
try allocating 1 thread per each 2mb of L2 cache you have
b. it supports memory locking mechanism that speeds up memory transfers

cpuminer is good in many things, but cryptonight is not one of them )

Aye, after writing this I tried setting "-t 8" as my CPU has 16MB of L3 cache, but there was no real change (if anything, it might have been a little slower!?). Also should have mentioned I always run miners as administrator just in case large memory pages can be used, but, apparently this is not the case here. Ah well, I'll keep my eye on this project anyway because I like rooting for the underdogs.


There's definitely a problem at your end. I get 280 H/s on a i7-6700K with 8 MB L3 cache and 4 threads. Check your CPU load to
make sure all cores are working. You may have to set a custom cpu-affinity. I don't have a Ryzen so I don't have any personal
experience but you could browse back in this thread. There have been discussions about this gfrom real Ryzen owners.

But as someone else pointed out I'm falling behind with cryptonight for a couple if reasons. There is a lot of competition for
cryptonight and I don't feel like enterring that race. One reason I haven't implemented large pages yet is the need to be admin
to use it on Windows.


cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
Pages: « 1 ... 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 »
  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!