Skip to content

Instantly share code, notes, and snippets.

@karlbunch
Forked from rizalp/disable_spectre.md
Created June 19, 2021 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karlbunch/0dbeb6e781603ef6b784f0b35dce2444 to your computer and use it in GitHub Desktop.
Save karlbunch/0dbeb6e781603ef6b784f0b35dce2444 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