Tweak README with midctl notes
This commit is contained in:
@@ -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).
|
||||||
|
|||||||
@@ -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 C‑states). On TrueNAS: *System → Advanced Settings → Kernel Arguments*, then reboot:
|
**2. Kernel parameters** (target PCIe/NVMe link power saving + residual C‑states).
|
||||||
```
|
|
||||||
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*:
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user