This repository has been archived on 2026-04-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Simon Gardling d48f27701f xmrig-auto-pause: add hysteresis to prevent stop/start thrashing
xmrig's RandomX pollutes the L3 cache, making other processes appear
~3-8% busier. With a single 5% threshold for both stopping and
resuming, the script oscillates: start xmrig -> cache pressure
inflates CPU -> stop xmrig -> CPU drops -> restart -> repeat.

Split into CPU_STOP_THRESHOLD (15%) and CPU_RESUME_THRESHOLD (5%).
The stop threshold sits above xmrig's indirect pressure, so only
genuine workloads trigger a pause. The resume threshold confirms the
system is truly idle before restarting.
2026-04-07 01:09:06 -04:00
2026-03-03 14:26:42 -05:00
2026-04-06 14:21:31 -04:00
2026-03-21 10:26:28 -04:00
2026-03-03 14:30:43 -05:00
2026-04-06 14:21:31 -04:00
2026-03-03 14:29:00 -05:00
2026-04-06 14:21:31 -04:00
2026-03-03 14:30:47 -05:00
2026-04-06 19:21:20 -04:00
2026-04-06 19:21:20 -04:00
2026-04-06 14:21:31 -04:00
Description
No description provided
7.2 MiB
Languages
Nix 83.1%
Python 15.4%
Shell 1.5%