diff --git a/NOTES.md b/NOTES.md index e067181..de3be78 100644 --- a/NOTES.md +++ b/NOTES.md @@ -132,9 +132,9 @@ Bottom line: your Optane and pool are fine and the SLOG is correctly carrying th Kernal tweaks -In System → Advanced Settings → Kernel Arguments, add (then reboot): +midclt call system.advanced.config -intel_idle.max_cstate=1 processor.max_cstate=1 pcie_aspm=off nvme_core.default_ps_max_latency_us=0 +midclt call system.advanced.update '{"kernel_extra_options": "intel_idle.max_cstate=1 processor.max_cstate=1 pcie_aspm=off nvme_core.default_ps_max_latency_us=0"}' *_cstate=1 keeps the CPU responsive (kills the ~238 µs host overhead). diff --git a/README.md b/README.md index ba9149d..bfb9b6e 100644 --- a/README.md +++ b/README.md @@ -238,14 +238,21 @@ racadm jobqueue create BIOS.Setup.1-1 # reboot to apply ``` -**2. Kernel parameters** (target PCIe/NVMe link power saving + residual C‑states). On TrueNAS: *System → Advanced Settings → Kernel Arguments*, then reboot: -``` -intel_idle.max_cstate=1 processor.max_cstate=1 pcie_aspm=off nvme_core.default_ps_max_latency_us=0 +**2. Kernel parameters** (target PCIe/NVMe link power saving + residual C‑states). + +Use the TrueNAS `midctl` command to add custom Kernel Boot Arguments, then reboot + +```bash +midclt call system.advanced.config + +midclt call system.advanced.update '{"kernel_extra_options": "intel_idle.max_cstate=1 processor.max_cstate=1 pcie_aspm=off nvme_core.default_ps_max_latency_us=0"}' ``` **3. CPU governor → `performance`** *(the single biggest win)*: ```bash +grep MHz /proc/cpuinfo | sort -u echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor +grep MHz /proc/cpuinfo | sort -u ``` Make it persistent on TrueNAS — *System → Advanced Settings → Init/Shutdown Scripts*, add a **Post Init** *Command*: ```