From e89b3155524886a4b7f4ecfda3daf05ce0e3820d Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Fri, 21 Oct 2016 00:35:24 +0200 Subject: Optimizations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I92604ab0337c744e3e8e5c5ce8cd72c2ed920ee6 Signed-off-by: Jan-Simon Möller --- packer/provision/agl_dependencies.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'packer/provision') diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh index fa2113ac..d86439bc 100644 --- a/packer/provision/agl_dependencies.sh +++ b/packer/provision/agl_dependencies.sh @@ -37,8 +37,14 @@ cat <> /etc/sysctl.conf # we have a lot of make jobs, this helps a lot kernel.sched_child_runs_first = 1 # smooth over a lot of I/O requests and do less blocking -vm.dirty_background_ratio = 5 +vm.dirty_background_bytes = 0 +vm.dirty_background_ratio = 20 +vm.dirty_expire_centisecs = 4320000 +vm.dirtytime_expire_seconds = 432000 +vm.dirty_bytes = 0 vm.dirty_ratio = 80 +vm.dirty_writeback_centisecs = 0 + EOFSYSCTL -- cgit 1.2.3-korg