KERNEL(1)marcp.xyzKERNEL(1)

NAME

kernel - Low-latency GRUB kernel parameters

DESCRIPTION

Set low-latency GRUB kernel parameters

EXAMPLES

Tweaks

threadirqs
Move interrupt handling to threads for better prioritization
preempt=full
Full kernel preemption for lower input lag
processor.max_cstate=1
Keep CPU awake, no deep sleep states
tsc=reliable
Trust CPU's timestamp counter (reduces overhead)
nowatchdog
Disable watchdog timer (reduces jitter)

Apply basic parameters:

$ sudo vim /etc/default/grub

# Find:
GRUB_CMDLINE_LINUX_DEFAULT="quiet nvidia_drm.modeset=1"

# Change to:
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia_drm.modeset=1 threadirqs preempt=full processor.max_cstate=1 tsc=reliable nowatchdog"

# Update GRUB:
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
$ reboot

Verify parameters are active:

$ cat /proc/cmdline

SEE ALSO

tweaks(1), gpu(1), display(1)

marcp.xyz2023-10-31KERNEL(1)