From 2e540a22241b29e0854102c1389663764a3a74ee Mon Sep 17 00:00:00 2001 From: Hermenix Date: Sat, 21 Nov 2026 02:58:14 +0000 Subject: [PATCH] hl-bigbox1: cap CPU idle at C1 bigbox1 (Ryzen 5 4600G, B550 GAMING X V2, BIOS FC) hard-froze 5 times in 16 days (Nov 4 19:07, Nov 16 01:22, Nov 17 02:03, Nov 17 22:59, Nov 19 18:20 ET), always while idle, each time with no log line and an "uncleanly shut down" journal on the next boot. That matches the known Ryzen deep-idle (C6) freeze. acpi_idle exposes C1 (MWAIT), C2 and C3 (lat 350us, the deep state); processor.max_cstate=1 keeps cores out of C2/C3. Cost: a few watts more at idle. The runtime watchdog (common.dns, SP5100 TCO, 30s) was armed during the Nov 19 boot and did not reset the box, so it is not a safety net here and is left as is. --- hosts/ABOUTME.md | 2 +- hosts/hl-bigbox1/hardware.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/ABOUTME.md b/hosts/ABOUTME.md index 29d6250..293f797 100644 --- a/hosts/ABOUTME.md +++ b/hosts/ABOUTME.md @@ -33,7 +33,7 @@ hosts/ | `fwbook/` | fwbook | Framework 13 AMD — personal laptop / daily driver | | `hl-fwdesk/` | hl-fwdesk | Framework Desktop AI Max 300 — AI workstation; buildbot-nix CI worker (4 cores); nbot master | | `hl-fws1/` | hl-fws1 | Framework 11th Intel — K3s server node; nbot worker | -| `hl-bigbox1/` | hl-bigbox1 | AI/compute server (NVIDIA + AMD); Immich machine-learning (CUDA) | +| `hl-bigbox1/` | hl-bigbox1 | AI/compute server (NVIDIA + AMD); Immich machine-learning (CUDA); CPU idle capped at C1 (`processor.max_cstate=1`) against Ryzen idle freezes | | `hl-bigbox2/` | hl-bigbox2 | NFS storage server; Immich server/db (docker, `immich.home.sosnovsky.ca`) | | `hl-minipc1/` | hl-minipc1 | Core infra: Gitea (native or containerized), nix-serve, registry, Buzz (docker, `buzz-manage` CLI), monitoring (Grafana, Prometheus, Loki, OTel collector) | | `hl-minipc2/` | hl-minipc2 | Container/media server; Umami for LoopRail telemetry (own nspawn container, `10.0.101.14`, reachable only from Caddy) | diff --git a/hosts/hl-bigbox1/hardware.nix b/hosts/hl-bigbox1/hardware.nix index eb5debc..de6b075 100644 --- a/hosts/hl-bigbox1/hardware.nix +++ b/hosts/hl-bigbox1/hardware.nix @@ -2,6 +2,7 @@ { boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; boot.kernelPackages = pkgs.linuxPackages; + boot.kernelParams = [ "processor.max_cstate=1" ]; networking.interfaces.enp4s0.wakeOnLan.enable = true; networking.interfaces.lo.wakeOnLan.enable = true; }