diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2016-10-21 00:35:24 +0200 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2016-10-21 00:35:24 +0200 |
commit | e89b3155524886a4b7f4ecfda3daf05ce0e3820d (patch) | |
tree | 89f5fb6fe735ba3c88f5774b657a981cdccc0fae /packer/provision | |
parent | 030f638582e29db720a6ed3eebe7bac44bd6a6bf (diff) |
Optimizations
Change-Id: I92604ab0337c744e3e8e5c5ce8cd72c2ed920ee6
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'packer/provision')
-rw-r--r-- | packer/provision/agl_dependencies.sh | 8 |
1 files changed, 7 insertions, 1 deletions
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 <<EOFSYSCTL >> /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 |