Skip to content

Instantly share code, notes, and snippets.

@rizalp
Last active May 22, 2023 22:07
Show Gist options
  • Save rizalp/ff74fd9ededb076e6102fc0b636bd52b to your computer and use it in GitHub Desktop.
Save rizalp/ff74fd9ededb076e6102fc0b636bd52b to your computer and use it in GitHub Desktop.
Disable Spectre/Meltdown Mitigation

In /etc/default/grub, modify:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off"

Then sudo update-grub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment