madMAx43v3r / chia-plotter

Apache License 2.0
2.27k stars 664 forks source link

CPU not being used 100% and Powershell freeze. #424

Open DAlexey99 opened 3 years ago

DAlexey99 commented 3 years ago

I have 3 plotter machines 2 of them with 5900Xs, both these machines were plotting for more than a day until they froze and I had to restart (Only the PowerShell froze, not the pc, pc was working just fine), once restarted, pc 1 is not using 100% CPU on phase 1 only random numbers going from 2 percent to 100 percent but nothing constant turning my 35-minute plots into 2-hour plots. Second PC Powershell freezes after completing one plot and does not plot anymore and if it does it freezes on phase 3 after 2 or 3 plots.

I did not change anything at all from the point where madmax was working fine, anyone knows what the hell happened?

O.S is Windows 10 Pro

maxime506 commented 3 years ago

Did you bind affinity to each plotter? For example, if you run 3 plots you assign 8 threads to each. Also do you plot each instance on a separate NVME drive or do you plot all instances on the same drive?

DAlexey99 commented 3 years ago

Hey there I do not bind affinity to plotters since I am not running parallel jobs I only assign the threads to the one job that madmax will do over and over again, and yes I am plotting to separate NVME drives 980 Pros 1TB as I understand one will handle 25% of load and the other one 75% of the load.

One of the 5900Xs the one that is not using 100 percent after one job then starts another one but it is just sooo much slower than the first one, using like 2-35 percent of CPU, and the other PC with the other 5900Xs freezes at phase 3 either on the first job or the second one.

madMAx43v3r commented 3 years ago

SSDs get slower over time, once you have written enough to run out of trimmed space, the write speed goes down hard under sustained load. Unless you have super expensive enterprise SSDs.

ariegrossman commented 3 years ago

How does one use cpu affinity tp bind MadMax cpus to specific threads/cores?

InvaderDolan commented 3 years ago

SSDs get slower over time, once you have written enough to run out of trimmed space, the write speed goes down hard under sustained load. Unless you have super expensive enterprise SSDs.

What about RAM disk + brand new Gen4 NVMe? I can't load more than 89-92% my i7 10700 @ 4.6GHz.