From 5216692a66a533eb427bbe749152237a4137820a Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Tue, 13 Sep 2016 11:10:05 +0300 Subject: [PATCH] sysctl.d: default 12309.conf updated. --- sysctl.d/12309.conf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sysctl.d/12309.conf b/sysctl.d/12309.conf index db7a187..857320d 100644 --- a/sysctl.d/12309.conf +++ b/sysctl.d/12309.conf @@ -1,18 +1,18 @@ # swap usage (default = 60) vm.swappiness = 5 +# (default = 100) +vm.vfs_cache_pressure = 1000 # http://www.linux.org.ru/wiki/en/User:shimon/12309 # reduce memory size allowed to process (default = 0 ) vm.overcommit_memory = 2 # memory allowed to process: total_swap + total_ram * overcommit_ratio / 100 (default = 50 ) -vm.overcommit_ratio = 80 +#vm.overcommit_ratio = 12 # disk buffer size (default = 0 ) -vm.dirty_bytes = 2097152 +vm.dirty_bytes = 16777216 # disk buffer size (default = 0 ) -vm.dirty_background_bytes = 2097152 -# (default = 100) -vm.vfs_cache_pressure = 50 +vm.dirty_background_bytes = 4194304 # For old kernels <2.6.30 (default = 40) -#vm.dirty_ratio = 3 +#vm.dirty_ratio = 12 # For old kernels <2.6.30 (default = 10) #vm.dirty_background_ratio = 3