XMR mining thread

Page 3 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

PhonakV30

Senior member
Oct 26, 2009
987
378
136
I'm getting 484h/s with config :

{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 },

{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 3 },

{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 5 },

{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 7 },

{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 9 },

{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 11 },

But after one or 2 hours , I get 500h/s
 

stormkroe

Golden Member
May 28, 2011
1,550
97
91
I'm getting 545 with a gtx980 strix, minergate with no tweaks whatsoever (also watching youtube at the time). My clamp on shows approx 250w total system usage at the panel. I might quit Eth for this.
 

coercitiv

Diamond Member
Jan 24, 2014
7,216
16,944
136
I'm getting 484h/s with config :
You're only running 3 threads per CCX when you could be running 4. The rule of thumb for maximizing efficiency with XMR CPU mining is to run one thread for each 2MB of L3 cache. Ryzen has 2 x 8MB L3 cache, so the best strategy is to run 4 threads per CCX. Running 2 threads on 2 logical cores that belong to the same physical core has good enough efficiency to be worth it, so you could run threads on core 1,3,4,5 for the first CCX and 7,9,10,11 for the second.

What's a 1700X pull? That's pretty impressive out of the 1600X.
With 4 physical cores per CCX instead of 3 your win a bit in hashrate, probably between 10-20% depending on whether it runs stock or overclocked, so we're probably looking at something between 580-640h/s.

I'm getting 545 with a gtx980 strix, minergate with no tweaks whatsoever (also watching youtube at the time). My clamp on shows approx 250w total system usage at the panel. I might quit Eth for this.
FYI the Monero community considers Minergate is a scam.
 

PhonakV30

Senior member
Oct 26, 2009
987
378
136
at AMI Bios : 165w
at idle mode in Win10 : 135w~144w
at working with setting 1 2 4 5 7 8 10 11 : 190w~212w
Hashrate : 510h/s , Hasharet after 30 minute : 548h/s

Here settings for config.txt xmr-stak-cpu :
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 },{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 },{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 4 },{"low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 5 },{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 7 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 8 },{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 10 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 11 },

With XFX 290 double Dissipation ( 980Mhz/1250Mhz ) = 694 h/s , 384w~412w
With XFX RX480 GTR ( 1338Mhz/2000Mhz Bios mode strap 1750) = 781h/s , 528w~539w
AMD Driver Blockchain.
 

DrMrLordX

Lifer
Apr 27, 2000
22,661
12,586
136
Okay so you're looking at an average delta of ~61.5W, not too bad. What's the efficiency on that PSU in the 200W range?
 

DrMrLordX

Lifer
Apr 27, 2000
22,661
12,586
136
Interesting efficiency curve in the 80+ report. But I digress. Looks like you're in the 92% range at that load level. Not bad at all.
 

traderjay

Senior member
Sep 24, 2015
220
165
116
Below are my mining stats

2 x XEON E5 2696V4 - 2100 h/s
XEON E5 2696V3 - 750~800 h/s

GTX 1080 ti - 900h/s
GTX 1070 - 750 h/s
GTX 1050ti - 350 h/s
 

OTG

Member
Aug 12, 2016
101
175
116
Below are my mining stats

2 x XEON E5 2696V4 - 2100 h/s
XEON E5 2696V3 - 750~800 h/s

GTX 1080 ti - 900h/s
GTX 1070 - 750 h/s
GTX 1050ti - 350 h/s
Dude, Monero ---> AMD.
An R5 1600 beats the 1050ti, a 580 beats the 1070, AND the 1080ti if you do all the mods, and any vega should match all three COMBINED.
For those cards, mine vertcoin or dash or something else. The CPUs will probably only be good for XMR though.
 

DrMrLordX

Lifer
Apr 27, 2000
22,661
12,586
136
Hmm. Borderline advertisement since Kudris regged today, but at least it's on-topic.

Care to give us a list of all the available XMR pools, Kudris?
 

DrMrLordX

Lifer
Apr 27, 2000
22,661
12,586
136
Thought I'd wake this thread up again since the card shortages are making mining wonky.

ETH mining for AMD cards may have now reached parity with XMR mining, so even not counting asset appreciation, I can make a tiny bit more ($4/month) mining ETH with my Vega FE than I can XMR. Assuming I do 1800 H/s with the Vega - I haven't actually tried it yet. Regardless, that's a big change from back when I started this thread, and mining XMR was almost twice as profitable for that particular card.

But CPU mining is still a thing with XMR, and as long as XMR values continue to creep up, it may be well worth the trouble to mine it.
 

DrMrLordX

Lifer
Apr 27, 2000
22,661
12,586
136
Anyone still reading this thread? I just tried the new unified xmr-stak miner on my system. I have large page support enabled for my Win10 login, but I'm still getting output like this when starting the miner:

[2018-01-16 02:13:14] : MEMORY INIT ERROR: Obtaning SeLockMemoryPrivilege failed.
[2018-01-16 02:13:14] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2018-01-16 02:13:14] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2018-01-16 02:13:14] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2018-01-16 02:13:14] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2018-01-16 02:13:14] : MEMORY ALLOC FAILED: VirtualAlloc failed.
-------------------------------------------------------------------

and

[2018-01-16 02:13:15] : Starting 1x thread, affinity: 1.
[2018-01-16 02:13:15] : hwloc: memory pinned
[2018-01-16 02:13:15] : Starting 1x thread, affinity: 3.
[2018-01-16 02:13:15] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2018-01-16 02:13:15] : hwloc: memory pinned
[2018-01-16 02:13:15] : Starting 1x thread, affinity: 5.
[2018-01-16 02:13:15] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2018-01-16 02:13:15] : hwloc: memory pinned
[2018-01-16 02:13:15] : Starting 1x thread, affinity: 7.
[2018-01-16 02:13:15] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2018-01-16 02:13:15] : hwloc: memory pinned
[2018-01-16 02:13:15] : Starting 1x thread, affinity: 9.
[2018-01-16 02:13:15] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2018-01-16 02:13:15] : hwloc: memory pinned
[2018-01-16 02:13:15] : Starting 1x thread, affinity: 11.
[2018-01-16 02:13:15] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2018-01-16 02:13:15] : hwloc: memory pinned
[2018-01-16 02:13:15] : Starting 1x thread, affinity: 13.
[2018-01-16 02:13:15] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2018-01-16 02:13:15] : hwloc: memory pinned
[2018-01-16 02:13:15] : Starting 1x thread, affinity: 15.
[2018-01-16 02:13:15] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2018-01-16 02:13:15] : hwloc: memory pinned
[2018-01-16 02:13:15] : MEMORY ALLOC FAILED: VirtualAlloc failed.

It still mines, but I can't do more than 500 H/s on a 4 GHz 1800x, which seems wrong somehow.
 

coercitiv

Diamond Member
Jan 24, 2014
7,216
16,944
136
I remember encountering a strange event like this when trying to run the CPU miner while also updating monero chain info on the same machine. I don't remember exactly what I did to fix it, whether all I did was close the monero daemon and restarted the miner or I also had to reboot the machine.

However, if you're trying this on a recently rebooted machine with no other miner/daemon running, then it's another issue entirely. The unified stak miner should work, I ran all three builds until now with no problem on the CPU backend.

It still mines, but I can't do more than 500 H/s on a 4 GHz 1800x, which seems wrong somehow.
It's definitely wrong, stock 1600X does 540-550h/s, and that's with lower speed and 2 mining threads sharing a physical core on each CCX.

I would expect your CPU to go past 600h/s.
 
Last edited:

DrMrLordX

Lifer
Apr 27, 2000
22,661
12,586
136
I remember encountering a strange event like this when trying to run the CPU miner while also updating monero chain info on the same machine. I don't remember exactly what I did to fix it, whether all I did was close the monero daemon and restarted the miner or I also had to reboot the machine.

However, if you're trying this on a recently rebooted machine with no other miner/daemon running, then it's another issue entirely. The unified stak miner should work, I ran all three builds until now with no problem on the CPU backend.


It's definitely wrong, stock 1600X does 540-550h/s, and that's with lower speed and 2 mining threads sharing a physical core on each CCX.

I would expect your CPU to go past 600h/s.

Well what do you know, I did just update Monero chain info before mining, and I hadn't rebooted since then. Rebooting fixed the problem. No more complaints about MEMORY ALLOC FAILED, and now my hashrate is 670 H/s. Too bad XMR dropped like $50 in the last 24 hours, ouch! All the cryptos are getting hammered to one extent or another.
 

coercitiv

Diamond Member
Jan 24, 2014
7,216
16,944
136
And @VirtualLarry should be doing higher than 340, most likely somewhere around 480-500. Make sure you have large page support enabled and run enough threads per CCX to use 8MB of L3 cache. (my suggestion would be 4 threads per CCX, last 2 threads share the same physical core)
 

PhonakV30

Senior member
Oct 26, 2009
987
378
136
My R5 1600 does 320-340 H/s, mine's running at 3.4Ghz.
try to use this config in xmr-stak-cpu

{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 },

{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 },

{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 4 },

{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 5 },

{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 7 },

{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 8 },

{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 10 },

{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 11 },

I get 540 h/s at 3950mhz , I think DDR4 3200 CL14 could boost It by 10% more ( My Ram : 2933 CL 16-18-18-36-58 )
 

coercitiv

Diamond Member
Jan 24, 2014
7,216
16,944
136
I think DDR4 3200 CL14 could boost It by 10% more ( My Ram : 2933 CL 16-18-18-36-58 )
System memory speed has no influence on XMR CPU mining, the data is mostly kept in the L3 cache. My 1600X currently runs with 1 stick of DDR4 2400 memory, still does 540h/s.

It's GPU mining that is heavily influenced by video memory speed and latency.
 
  • Like
Reactions: PhonakV30