WyvernTKC / cpuminer-gr-avx2

Optimised Version of GR miner for RTM
GNU General Public License v2.0
371 stars 193 forks source link

[Feature Request] Auto reload config #129

Closed Vin-Ren closed 1 year ago

Vin-Ren commented 3 years ago

I often change the configuration in the morning to limit the miner usage and make my old pc run a bit smoother. Every time I changed the configuration, I need to restart the mining and it often shows something like: Using malloc for allocation method consider restarting your pc I don't know whether it affects the miner performance or not, but to be safe I restarted it. After a while, it started becoming more annoying.

If the memory allocation problem is an issue from starting the binary as a whole, a solution I could think of is auto reloading the configuration. This feature would become handy for people who frequently edit the config file.

michal-zurkowski commented 3 years ago

Reloading would be problematic as many aspects of the miner depend on it. The fragmented memory (malloc thing) is only because Windows is not so good at managing its memory.

Vin-Ren commented 3 years ago

Reloading would be problematic as many aspects of the miner depend on it. The fragmented memory (malloc thing) is only because Windows is not so good at managing its memory.

That's unknown to me prior to this, any other way to solve it than restarting?

michal-zurkowski commented 3 years ago

Maybe there are some tools. Im unaware of those as Windows is not my primary OS. Using malloc instead of proper Large Pages will definitely reduce performance.

Vin-Ren commented 3 years ago

That's unfortunate, thanks though. Should I close the issue? Or maybe other people could come and drop some tools here