Skip to content

Instantly share code, notes, and snippets.

@prasannavl
Last active October 20, 2017 03:29
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 prasannavl/123429d58cc865131d287212b9dbe042 to your computer and use it in GitHub Desktop.
Save prasannavl/123429d58cc865131d287212b9dbe042 to your computer and use it in GitHub Desktop.
Linux - Laptop Kernel Config
# Def: 50; Reduce tendency to swap on large RAM system
vm.swappiness=10
# Def: 100; Reduce to retain inode/dentry caches
vm.vfs_cache_pressure=20
# Def: 10; Make it slightly longer to wait longer before writing to HD.
vm.dirty_background_ratio=20
# Def: 20; Make it much larger before starting sync writes
vm.dirty_ratio=50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment