minimize swap usage
authorLaurent Mazet <laurent.mazet@thalesgroup.com>
Thu, 23 Jul 2015 13:42:38 +0000 (15:42 +0200)
committerLaurent Mazet <laurent.mazet@thalesgroup.com>
Thu, 23 Jul 2015 13:42:38 +0000 (15:42 +0200)
master/etc/sysctl.d/swap.conf [new file with mode: 0644]

diff --git a/master/etc/sysctl.d/swap.conf b/master/etc/sysctl.d/swap.conf
new file mode 100644 (file)
index 0000000..c999d40
--- /dev/null
@@ -0,0 +1,4 @@
+# Custom settings
+# minimize the swapping, still swap partition is necessary for hibernation
+vm.swappiness = 1
+vm.vfs_cache_pressure = 50