From 004ca315c0fa90defb0fe1ba9d2b16480ffeaca8 Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Thu, 23 Jul 2015 15:42:38 +0200 Subject: [PATCH] minimize swap usage --- master/etc/sysctl.d/swap.conf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 master/etc/sysctl.d/swap.conf diff --git a/master/etc/sysctl.d/swap.conf b/master/etc/sysctl.d/swap.conf new file mode 100644 index 0000000..c999d40 --- /dev/null +++ b/master/etc/sysctl.d/swap.conf @@ -0,0 +1,4 @@ +# Custom settings +# minimize the swapping, still swap partition is necessary for hibernation +vm.swappiness = 1 +vm.vfs_cache_pressure = 50 -- 2.30.2