Closed BradT7 closed 4 years ago
Some updates: Confirmed system lock using only 6 threads on version 5.4, took only about 10-15 minutes. (Previous versions would usually run longer on 6 threads.) Tested with a different 500W PSU, same issue. Tested with Samsung SSD Rapid Mode off, same issue. Here's a picture of the error, after the system locks up, xmrig still posts messages but stops mining, I'm unable to close any windows or open anything new as system is frozen, only mouse and windows can be moved. You can see the Disk showing at a 100% too.
Any tips on additional troubleshooting would be appreciated. I'm not really sure about the mechanics of what xmrig is really dependent on, but I'd be willing to try some more BIOS tweaks. I'm just not sure what to target, or what might be pushing the hardware over the edge to freeze like this when compared to previous versions like the 5.0.1 which runs stable on 6 threads (but not 8 threads, it will freeze after a day or two).
Disk used by something else, it's zero for miner process, use sorting by disk usage. Thank you.
Verify that you are not having any memory errors by running Memtest86 for at least the default four loops.
If any errors show you need to fix them (increase voltage, change timings, replace them, etc) because memory errors will cause symptoms like what you are describing.
Example: I ordered a set of :
G.SKILL Ripjaws V Series 16GB (2 x 8GB) 288-Pin DDR4 SDRAM DDR4 3600 (PC4 28800) Desktop Memory Model F4-3600C16D-16GVKC
These sticks would produce a few errors in Test 8 and 9 of memtest86. These are on the QVL list for the motherboard (which had the latest BIOS) and were running in XMP mode at the stated 1.35 volts. Bumping the voltage to 1.4 volts did not fix the problem. So I returned the defective memory for a refund.
I'VE FIXED IT! At least to my liking. Not sure if a fix can be built into xmrig for future updates, or if it's purely a CPU/MoBo/RAM issue/limitation, but I'm running stable with this setting Disabled in the BIOS. AMD CBS > AMD Core Performance Boost > Disabled Thanks to a search result for Under-clocking the Asus Prime B450M-A
Even though I had all my BIOS settings set to Auto (except for the fixed default XMP/DCOP RAM settings) with the Boost enabled by default it was still auto setting my CPU clock to around 3.9 GHz (as seen in Asus utility screenshot above) even when I manually set it to 3.6 GHz for testing it would still boost the CPU under load (I think the max boost is 4.1 GHz or 4.2 GHz for the Ryzen CPUs)
I'm currently running with AMD Core Performance Boost Disabled and 2600X CPU clock speed manually set to the default 3.6 GHz I'm now getting around 4500 h/s with 8 threads and around 4300 h/s with 6 threads. With 8 threads I'm only running an average auto voltage of 1.122V for CPU and temp of 60C with the stock CPU fan at 1500 RPM, not bad at all!
If I bump up the CPU clocks as little as 3.65 GHz to 3.9 GHz, I get instability again. I notice the CPU voltage goes from the average 1.122V for 3.6 GHz to average 1.275V and 68C when 3.65 GHz, 3.7 GHz, 3.75 GHz doesn't matter, and not much improvement in the hashrate either, only at 3.8 GHz and 3.9 GHz can I reach 4700 h/s with hard locks.
So it's AMD Core Performance Boost and the CPU being pushed past the stock clock speed of 3.6 GHz that's causing the instability with the hardware being pushed too hard beyond the limits of the CPU, MoBo or RAM. I'll have to play around with the voltages more later I guess and take some more BIOS settings off of Auto, but not sure if it's worth the headache for an extra 200 h/s.
I'll run with 8 threads for the next few days and report back if any additional hard locks on v5.4 and then test with v5.5 after that. Hopefully this helps anyone else that might be having similar issues. Also anyone who has any additional BIOS advice would be appreciated, not extremely savvy in the area of manually looking for and configuring settings.
I forgot to mention I did test the memory with that tool, and it all came back okay, so it seems like if I do have an issue it's with the CPU or Motherboard, just not sure how to confirm if there is an issue and which one it is. I guess XMRig makes for a good stress tester XD
I think the real issue here is not AMD Core Performance Boost but the general instability at higher clock speeds.
I agree, issue does not appear to be related to xmrig software, but limitations of mid-range hardware. I was stable all night at 3.6 GHz and Auto Voltage running around 1.122V. At least all this was not in vain, I've been manually tweaking just the CPU core and voltage and found what looks to be some excellent settings, with AMD Core Performance Boost still disabled for now. I've increased the CPU to 3.9 GHz and increased the stock voltage of 1.1875V +0.0375V to 1.225V (Previously increasing the CPU to just 3.65 GHz the Auto Voltage was jumping to 1.275V and locking) I'm now getting an average of 4750 h/s with 8 threads a CPU temp of around 65C and stock fan around 2000 rpm I know all these details are not really applicable to xmrig, but hopefully they can help others that might be having similar freezing issues. It might have just been an Auto Voltage issue all along with AMD Core Performance Boost enabled, but I'll keep it disabled for now and test this setup for a couple days before possibly enabling again.
It may be that your 2600X needs extra voltage to run at the higher speeds because of the silicon lottery.
On my 2700X I am running stable @ 3.9 GHz with 1.175 Vcore (-100mv Vcore reduction set in BIOS) at 65c and default auto fan speed.
6028 H/s on RX/0
Describe the bug System locks up, disk usage goes to 100% in task manager (Samsung Evo SSD) with no matching app, xmrig looses connection to pool and stops mining due to system hard lock. I can move mouse, but unable to click anything. Forced to reboot machine.
To Reproduce Run any xmrig v5.0.1 to v5.4 with 8 threads for 1-10 minutes, gets especially worse after version 5.1.1 I can delay the hard locks to every few hours if dropping down to 6 threads using v5.1.1+. I'm only able to run stable with 5.0.1 using 6 threads. I was using 8 threads on all 4.x versions with no issues. Only became an issue running 8 threads after v5.x
Expected behavior Run 8 threads without crashing and get around 4700 h/s.
Compared to 6 threads getting around 4500 h/s on v5.4. Or around 4200 h/s on 6 threads with v5.0.1 on stable setup. (only got around 4200+ with 8 threads on v4.x)
Required data
OS: Windows 1909
Additional context Issue happens with or without msr enabled (when running as admin) Running 2600X at 3.6GHz Tested multiple bios settings on ASUS PRIME B450M-A same issue (BIOS is up to date). Tried lowering the CPU clock speed and lowering the RAM speed from the default DCOP Corsair 2933MHz settings, but still get system freezes. Currently running default BIOS settings with default DCOP memory at 2933MHz and timings. Additional system hardware includes a 450 watt Antec PSU and Nvidia 710 GT (for general video out, and not used for gaming or mining)