Tweak README with midctl notes

This commit is contained in:
2026-06-21 22:08:01 -06:00
parent 9119178727
commit 4f0bb2f613
2 changed files with 12 additions and 5 deletions
+2 -2
View File
@@ -132,9 +132,9 @@ Bottom line: your Optane and pool are fine and the SLOG is correctly carrying th
Kernal tweaks 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). *_cstate=1 keeps the CPU responsive (kills the ~238 µs host overhead).
+10 -3
View File
@@ -238,14 +238,21 @@ racadm jobqueue create BIOS.Setup.1-1
# reboot to apply # reboot to apply
``` ```
**2. Kernel parameters** (target PCIe/NVMe link power saving + residual Cstates). On TrueNAS: *System → Advanced Settings → Kernel Arguments*, then reboot: **2. Kernel parameters** (target PCIe/NVMe link power saving + residual Cstates).
```
intel_idle.max_cstate=1 processor.max_cstate=1 pcie_aspm=off nvme_core.default_ps_max_latency_us=0 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)*: **3. CPU governor → `performance`** *(the single biggest win)*:
```bash ```bash
grep MHz /proc/cpuinfo | sort -u
echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor 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*: Make it persistent on TrueNAS — *System → Advanced Settings → Init/Shutdown Scripts*, add a **Post Init** *Command*:
``` ```