Skip to content

Instantly share code, notes, and snippets.

@QuynhVir
Created October 8, 2019 09:03
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 QuynhVir/2c6189ac1ac22d72610831303b9a1e82 to your computer and use it in GitHub Desktop.
Save QuynhVir/2c6189ac1ac22d72610831303b9a1e82 to your computer and use it in GitHub Desktop.
Disable fucking Transparent Huge Pages in /etc/rc.local
#!/bin/bash
/bin/echo 'never' > /sys/kernel/mm/transparent_hugepage/enabled
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment