Advertisement
chrissharp123

Untitled

Nov 8th, 2018
469
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.25 KB | None | 0 0
  1. if test -f /sys/kernel/mm/transparent_hugepage/enabled; then
  2.    echo never > /sys/kernel/mm/transparent_hugepage/enabled
  3. fi
  4.  
  5. if test -f /sys/kernel/mm/transparent_hugepage/defrag; then
  6.    echo never > /sys/kernel/mm/transparent_hugepage/defrag
  7. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement