diff options
author | Jan Wagner <mail@jwagner.eu> | 2016-03-06 10:55:03 +0100 |
---|---|---|
committer | Jan Wagner <mail@jwagner.eu> | 2016-03-06 10:55:03 +0100 |
commit | 58eaf5383a31138af369e2fbe29fdff8b4857306 (patch) | |
tree | 50065ae7e80e37d1ea303c36b46b4d000e98910a /files/sysctl.d/81-rpi-vm.conf | |
parent | a03e217233d19052cc24f51e8ed4efcd78c6aafd (diff) | |
parent | c8a035bfc03fabf4384f4e207571d2c81e028b65 (diff) | |
download | rpi2-gen-image-58eaf5383a31138af369e2fbe29fdff8b4857306.tar.gz rpi2-gen-image-58eaf5383a31138af369e2fbe29fdff8b4857306.tar.bz2 rpi2-gen-image-58eaf5383a31138af369e2fbe29fdff8b4857306.zip |
Merge branch 'master' of https://github.com/fpytloun/rpi2-gen-image into fpytloun-master
Diffstat (limited to 'files/sysctl.d/81-rpi-vm.conf')
-rw-r--r-- | files/sysctl.d/81-rpi-vm.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/files/sysctl.d/81-rpi-vm.conf b/files/sysctl.d/81-rpi-vm.conf new file mode 100644 index 0000000..b818fc6 --- /dev/null +++ b/files/sysctl.d/81-rpi-vm.conf @@ -0,0 +1,6 @@ +# Avoid swapping and increase cache sizes +vm.swappiness=1 +vm.dirty_background_ratio=20 +vm.dirty_ratio=40 +vm.dirty_writeback_centisecs=500 +vm.dirty_expire_centisecs=6000 |