Per-core Curve Optimizer tuning for Zen 5 desktop CPUs on NixOS
// readme
togi
[!WARNING] togi is pre-1.0. It writes Curve Optimizer offsets to your CPU through
ryzen_smu, and finding each core’s solo limit means running it until it fails: expect crashes, reboots and lost work in anything else running. A new version can refuse to continue a session written by an older one. Run it at your own risk.
Finds the deepest per-core Curve Optimizer offsets a Zen 5 desktop CPU sustains, then keeps testing them through full checking cycles. Choose how long to keep testing with run --cycles N, or let checking continue indefinitely.
- Searches each core alone, makes multi-core R7 cores self-sufficient through request-ordered partial loads and voltage-targeted backoffs, hunts unattributed failures outside multi-core R7, then deepens the profile before continuing checking.
- Tests with self-checking workloads (mprime, y-cruncher) across light, heavy, load-step, medium, SMT, idle and all-core regimes.
- Survives crashes: the next run reads its journal, attributes the crash and continues.
- Records every action in a plain-text journal you can read to see what it did and why.
- Reports the offsets; you enter them in BIOS.
togi (研ぎ) is Japanese for…