From: Laurent Mazet Date: Thu, 23 Jul 2015 13:42:38 +0000 (+0200) Subject: minimize swap usage X-Git-Tag: debian_7.8.3~5 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=004ca315c0fa90defb0fe1ba9d2b16480ffeaca8;p=debian6500.git minimize swap usage --- 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