knowledge-base/Linux/Linux Notes.md
Aaron Honeycutt eac217b41a sync
2025-06-22 16:10:45 -06:00

8 lines
No EOL
563 B
Markdown

# Linux kernel
| Commands | What it does |
|:--------:|:------------:|
| sudo update-initramfs -c -k *kernelversion* | Generate a new initramfs image with version |
| sudo kernelstub -a "maxcpus=2" | Support disabling cores in the BIOS |
| sudo kernelstub -a "nvme_core.default_ps_max_latency_us=####" | [Change NVMe wake-up times](https://wiki.archlinux.org/title/Solid_state_drive/NVMe#Power_Saving_(APST)) |
| sudo kernelstub -a "intel_idle.max_cstate=4" | [Change Intel C-State Level](https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_idle.html) |