feat(optimize): add Phase 2 power profile and system tuning

Add `make optimize-power` (ryzenadj 85W, sysctl, THP, RADV nogttspill)
with systemd services for boot/resume persistence. Integrate into
`make optimize --all` as Phase 2. Update optimization log with RyzenAdj
results (+46% tg at 70W sustained), KV sweep data, and quant shootout.
Add Qwen3-Coder-30B and Nemotron-Cascade-2 to model catalog.
This commit is contained in:
Felipe Cardoso
2026-03-30 18:53:52 +02:00
parent f92b710492
commit 1549bc27c0
7 changed files with 212 additions and 30 deletions

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Apply RyzenAdj power limits for LLM inference
After=multi-user.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/ryzenadj --stapm-limit=85000 --fast-limit=85000 --slow-limit=85000 --apu-slow-limit=85000
RemainAfterExit=yes
# Re-apply after resume from sleep/hibernate (HP firmware resets limits)
ExecStartPost=/bin/sleep 2
[Install]
WantedBy=multi-user.target