Bitcoin Forum
April 19, 2024, 09:19:14 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 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 ... 197 »
  Print  
Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 443953 times)
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
August 14, 2017, 01:08:10 PM
 #2661

Hi there. Joblo, thanx for your great work. Can u please check the possible issue? The problem is hashrate reporting while solo mining (getwork):

         **********  cpuminer-opt 3.6.8  ***********

[2017-08-14 09:29:31] Binding process to cpu mask f
[2017-08-14 09:29:31] Binding thread 0 to cpu mask f
[2017-08-14 09:29:31] Binding thread 1 to cpu mask f
[2017-08-14 09:29:31] Binding thread 2 to cpu mask f
[2017-08-14 09:29:31] Binding thread 3 to cpu mask f
[2017-08-14 09:29:31] 4 miner threads started, using 'cryptonight' algorithm
[2017-08-14 09:29:32] Current block is 19325
[2017-08-14 09:29:32] No payout address provided, switching to getwork

Then it may take about 10+ minutes to display hashrate, or even up to 1 hour (the result will be printed for all that time though). Tried several coins and several algos, as well as sse42 and avx/avx2 versions, and the previous 3.6.7 version. No changes there. I personally do not see some walls to avoid hasrate output, as all built-in-wallet miners do that. This reproduces both on win7 and win10.

It's hard to tune settings (I'm not about cryptonote algo, of course) for new coins with such a wait Undecided I had to use shitpool with zero miners and broken payouts to tune Grin Cos on stratum work there's no issues.

I use some kinda stock .conf file, which is similar for all the coins.

Maybe there're some solutions rather than miner's code? Thanks.

I'm not sure I understand the problem. It is normal to have fewer hash reports when solo mining because you have to solve
the entire block, not just a share.


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

Posts: 1713561554

View Profile Personal Message (Offline)

Ignore
1713561554
Reply with quote  #2

1713561554
Report to moderator
1713561554
Hero Member
*
Offline Offline

Posts: 1713561554

View Profile Personal Message (Offline)

Ignore
1713561554
Reply with quote  #2

1713561554
Report to moderator
1713561554
Hero Member
*
Offline Offline

Posts: 1713561554

View Profile Personal Message (Offline)

Ignore
1713561554
Reply with quote  #2

1713561554
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713561554
Hero Member
*
Offline Offline

Posts: 1713561554

View Profile Personal Message (Offline)

Ignore
1713561554
Reply with quote  #2

1713561554
Report to moderator
1713561554
Hero Member
*
Offline Offline

Posts: 1713561554

View Profile Personal Message (Offline)

Ignore
1713561554
Reply with quote  #2

1713561554
Report to moderator
1713561554
Hero Member
*
Offline Offline

Posts: 1713561554

View Profile Personal Message (Offline)

Ignore
1713561554
Reply with quote  #2

1713561554
Report to moderator
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
August 14, 2017, 01:44:31 PM
 #2662

Anyone planning on testing Threadripper?

Threadripper expands the concept of the CCXs, 4 core modules that are combined to form a 8, 12 or 16 core CPUs.
The side effect of this is each CCX has it's own piece of the L3 cache. This makes it inefficient for a CCX to access
data from the L3 cache on a different CCX. Ryzen also uses this architecture.

In many ways this is like a multi-CPU system.

Higher hashrates may be achieved by running seperate miner instances for each CCX module to prevent data accesses
that cross CCXs. This will require a different cpu-affinity mask for each instance. I don't know exactly how AMD
maps logical cores to CCXs, particularly when hyperthreading (AMD calls it SMT) is enabled. It may take some trial
and error to reverse engineer the mapping and determine the best affinity mask for each miner instance.

Ryzen CPUs and multi-CPU systems may also benefit from multiple miner instances.

Unfortunately I am just a spectator as I don't have a Ryzen or Threadripper CPU (yet) to do the work myself.


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

Activity: 630
Merit: 502


View Profile
August 14, 2017, 03:56:38 PM
 #2663

Anyone planning on testing Threadripper?

Threadripper expands the concept of the CCXs, 4 core modules that are combined to form a 8, 12 or 16 core CPUs.
The side effect of this is each CCX has it's own piece of the L3 cache. This makes it inefficient for a CCX to access
data from the L3 cache on a different CCX. Ryzen also uses this architecture.

In many ways this is like a multi-CPU system.

Higher hashrates may be achieved by running seperate miner instances for each CCX module to prevent data accesses
that cross CCXs. This will require a different cpu-affinity mask for each instance. I don't know exactly how AMD
maps logical cores to CCXs, particularly when hyperthreading (AMD calls it SMT) is enabled. It may take some trial
and error to reverse engineer the mapping and determine the best affinity mask for each miner instance.

Ryzen CPUs and multi-CPU systems may also benefit from multiple miner instances.

Unfortunately I am just a spectator as I don't have a Ryzen or Threadripper CPU (yet) to do the work myself.


This video from ServeTheHome with AMD EPYC says mining is prefect for the Zen architecture.
guytechie
Hero Member
*****
Offline Offline

Activity: 677
Merit: 500


View Profile
August 15, 2017, 02:15:52 AM
 #2664

Anyone planning on testing Threadripper?

Soon.  Soon.

I have a Ryzen 7 that's OC'd to 3.7 GHz (very mild OC) on stock cooler.  I only mine m7m and xevan (autoswitching).  I get around 208 kh/s with m7m and around 182 kh/s with xevan.  Stock is 3.5 GHz, and i get about 15-20 kh/s less for both IIRC.

I am building a 1950X soon.  Just waiting for that damn backordered motherboard.  However, since it's just basically 2 Ryzen cores, I'm going to assume roughly 2x the speeds if clocked at the same 3.7 GHz.  Since base clock is 3.4 GHz, then maybe around 376 kh/s for m7m and 330 kh/s for xevan.

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

Activity: 85
Merit: 10


View Profile
August 26, 2017, 12:01:56 PM
 #2665

.....
[2017-08-14 09:29:32] No payout address provided, switching to getwork
......
Specify the address in the bat file --coinbase-addr = .....
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
August 26, 2017, 06:34:35 PM
 #2666

Does any algorithm use AVX-512?
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
August 26, 2017, 09:52:57 PM
 #2667

Interesting question, did this come from the Xeon Phi thread? The short answer is no.

AVX512, as its name suggests. introduces 512 bit vector processing. This means it can only be used on arrays
of multiples of 512 bits (8*64, 16*32 etc) and only if the same operation is performed on all array elements.
This limits the applicability of AVX512 depending on what kind of processing is performed to hash the algorithm.

Vectorizing improves compute performance by reducing the number of instructions but it doesn't help memory performance.
If you need to process 512 bits you srtill need to load the same amount of data from memory. If an algo is memory
hard vectorizing it just means the CPU spends more time idle while it waits for data.

Some algos have segments of code that can be vectorized, some to 128 bits, fewer to 256 and even fewer to 512.
However converting these sections adds overhead because the vector instructions use a different register set than
scalar instructions. Switching back and forth from scalar to vector instructions on the same data means extra instructions
are required to move the data from one register set to the other and back.

I haven't looked deeply into AVX512 but I don't see much opportunity to optimize any algos with it. Anything that can be
vectorized further is likely more efficient on a GPU which is essentially a vector processor. At best, vectorizing a CPU miner
simply reduces the performance deficit slightly compared to GPUs. Many "CPU" algos are designed to be difficult to vectorize.

An interesting article about AVX512:

https://www.hpcwire.com/2017/06/29/reinders-avx-512-may-hidden-gem-intel-xeon-scalable-processors/

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

Activity: 630
Merit: 502


View Profile
August 27, 2017, 06:45:24 AM
 #2668

Interesting question, did this come from the Xeon Phi thread? The short answer is no.

AVX512, as its name suggests. introduces 512 bit vector processing. This means it can only be used on arrays
of multiples of 512 bits (8*64, 16*32 etc) and only if the same operation is performed on all array elements.
This limits the applicability of AVX512 depending on what kind of processing is performed to hash the algorithm.

Vectorizing improves compute performance by reducing the number of instructions but it doesn't help memory performance.
If you need to process 512 bits you srtill need to load the same amount of data from memory. If an algo is memory
hard vectorizing it just means the CPU spends more time idle while it waits for data.

Some algos have segments of code that can be vectorized, some to 128 bits, fewer to 256 and even fewer to 512.
However converting these sections adds overhead because the vector instructions use a different register set than
scalar instructions. Switching back and forth from scalar to vector instructions on the same data means extra instructions
are required to move the data from one register set to the other and back.

I haven't looked deeply into AVX512 but I don't see much opportunity to optimize any algos with it. Anything that can be
vectorized further is likely more efficient on a GPU which is essentially a vector processor. At best, vectorizing a CPU miner
simply reduces the performance deficit slightly compared to GPUs. Many "CPU" algos are designed to be difficult to vectorize.

An interesting article about AVX512:

https://www.hpcwire.com/2017/06/29/reinders-avx-512-may-hidden-gem-intel-xeon-scalable-processors/

Thanks for the response albeit a bit over my head. I saw that X299 and future Ice Lake CPUs will support AVX-512.
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
August 28, 2017, 09:52:13 PM
 #2669

Hi i have an  AMD fx 6300 and understand it supports aes-ni and am trying to use your miner bi every time i run it i get this read out

         **********  cpuminer-opt 3.6.8  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
     Forked from TPruvot's cpuminer-multi with credits
     to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d,
     Wolf0, Jeff Garzik and Optiminer.

CPU: AMD FX(tm)-6300 Six-Core Processor
CPU features: SSE2 AES AVX
SW built on Jul 31 2017 with GCC 4.8.3
SW features: SSE2 AES AVX AVX2
Algo features: SSE2
Start mining with SSE2

[2017-08-28 21:00:48] Starting Stratum on stratum+tcp://vrm.poolium.win:3333
[2017-08-28 21:00:48] 6 miner threads started, using 'scrypt' algorithm.
 
now you see when detects my CPU it states CPU features: SSE2 AES AVX and i know that also does AES-NI but also you see it says the SW features: SSE2 AES AVX AVX2 but not aes-ni why i downloaded it directly from here or im probably using the wrong exe which one should i use for mining Verium the fastest thanks

You're using the wrong exe, your CPU doesn't have AVX2. Use the exe that matches your CPU's features.
AES is the same as AES-NI.

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
August 29, 2017, 05:46:12 PM
 #2670

none of them do it ether it crashes unless i set lower cores but i can get all to run on 3 cores but it always defaults to sse2 it even does it in a xenon e5 all default to sse2 could the pool cause that too happen even if i run the aes-avx it does sse2 and i only  get like 20 H/s max even with all cores or but slower with 4

You complained about AES_NI when it's the same as AES.
You complained about a crash while using the AVX2 build on a CPU without AVX2.
You failed to provide the key error message (it's not a crash).
You failed to mention it worked with fewer threads (this is a FAQ with verium).
And now your're complaining that it's only using SSE2 on an algo that only supports SSE2.

Stop complaining and learn something.


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

Activity: 13
Merit: 0


View Profile
September 03, 2017, 02:13:17 PM
 #2671

is this miner compatible with mac os x . i can't build it. can anyone send  builded version with xevan alog support ?

Thanks.
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
September 03, 2017, 05:26:37 PM
 #2672

is this miner compatible with mac os x . i can't build it. can anyone send  builded version with xevan alog support ?

Thanks.

Sorry, no MAC support. I should be possible (it compiles on FreeBSD) but I know nothing about MAC development
so I can't help.


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

Activity: 203
Merit: 100


View Profile
September 04, 2017, 04:22:16 AM
 #2673

whats most profitable to cpu mine right now or best long term coins to hol;d onto that this program can do?
also how bout XMR (monero) music coin and DMD diamon
are any of those profitable cpu mining on a core i5 7600k
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
September 05, 2017, 04:13:04 AM
 #2674

Typical whiny little child. Accuse me of being a bully then launch a personal attack with false accusations
of deleting your post. Just go away.

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
September 05, 2017, 04:14:02 AM
 #2675

whats most profitable to cpu mine right now or best long term coins to hol;d onto that this program can do?
also how bout XMR (monero) music coin and DMD diamon
are any of those profitable cpu mining on a core i5 7600k

I don't recommend coins. Do your own research, there's lots of info available.

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

Activity: 1246
Merit: 274


View Profile
September 05, 2017, 10:12:06 PM
 #2676

whats most profitable to cpu mine right now or best long term coins to hol;d onto that this program can do?
also how bout XMR (monero) music coin and DMD diamon
are any of those profitable cpu mining on a core i5 7600k

Diamond is going Proof of Stake in a week or two, so that's out of the picture. I don't know how well Music Coin does on CPUs since it's Ethhash coin I doubt it's going to be worth mining.  Monero on the other hand is definitely profitable and would be one of the best options out there for your CPU.
GKar
Full Member
***
Offline Offline

Activity: 180
Merit: 100


View Profile
September 06, 2017, 02:57:57 AM
 #2677

Bitcore BTX can be CPUmined and will get coin provided ze network diff is not too high.   I was getting via cpu  ~.01/day a week ago. Now the diff is such that cpu is no go.
For comparison, my GTX 1080 gets ~1 coin/day
xixou
Member
**
Offline Offline

Activity: 144
Merit: 11


View Profile
September 10, 2017, 11:10:10 AM
Last edit: September 10, 2017, 11:53:29 AM by xixou
 #2678

What version of cpuminer shall I better pick for 1950x CPU (AMD threadriper 16 cores) , AVX2 or SHA?
For Monero mining.

I maybe better use xmr-stak-cpu?
volapyk
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
September 12, 2017, 01:52:29 PM
 #2679

Thanks for the miner.
Is there any command to reduce the number of cores the miner is using or any other way to reduce heat and efficiency?

Thanks
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
September 12, 2017, 03:09:20 PM
 #2680

Thanks for the miner.
Is there any command to reduce the number of cores the miner is using or any other way to reduce heat and efficiency?

Thanks

Yes you can limit the number of threads and there are some other options.
Always check the help: cpuminer --help
Note temperature limit only works on Linux.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
Pages: « 1 ... 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 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 ... 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!