notes:kernel_parameters
This is an old revision of the document!
Table of Contents
General
IOMMU
- If IOMMU is disabled in BIOS, this isn't needed
iommu=off
should not be used (source)
sudo grubby --update-kernel='ALL' --args='iommu=pt'
iommu=pt
NVMe
- This may need adjusted for different CPU core counts
- Using
8
when SMT is disabled with a 2700X does not work as-expected 1)
sudo grubby --args='nvme.poll_queues=16' --update-kernel='ALL'
nvme.poll_queues=16
Verify
dmesg | grep 'nvme'
cat '/proc/interrupts'
NVIDIA
PAT
- TODO: Find information about this
sudo grubby --update-kernel='ALL' --args='nvidia.NVreg_UsePageAttributeTable=1'
nvidia.NVreg_UsePageAttributeTable=1
GSP
- Allows loading of GSP firmware
- This doesn't appear necessary for the open kernel module
- 2022/07/20 515.57: this causes AoE2:DE to crash GNOME on-startup
- 2022/07/20 515.57: This doesn't appear beneficial
sudo grubby --update-kernel='ALL' --args='nvidia.NVreg_EnableGpuFirmware=1'
nvidia.NVreg_EnableGpuFirmware=1'
Verify
nvidia-smi -q | grep 'GSP'
AMDGPU
Overclocking
- Allows use of Overdrive options for overclocking and increasing the Power Limit
sudo grubby --args='amdgpu.ppfeaturemask=0xffffffff' --update-kernel='ALL'
amdgpu.ppfeaturemask=0xffffffff
Verify
cat '/sys/module/amdgpu/parameters/ppfeaturemask' | grep '0xffffffff'
Coreboot
Flashing
- This is needed to relax permissions for Coreboot firmware to be flashed internally
- This should be removed after flashing
sudo grubby --update-kernel='ALL' --args='iomem=relaxed'
iomem=relaxed
1)
either don't use this with SMT off, or keep SMT on
/var/www/wiki/data/attic/notes/kernel_parameters.1662126089.txt.gz · Last modified: 2022/09/02 09:41 by Sean Rhone