Reduce swappiness; retain page cache over anon mem

Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
latency
Tyler Nijmeh 4 years ago
parent f8f7879794
commit 7d490a54c0

@ -143,7 +143,7 @@ When we kill a task, clean its memory footprint to free up whatever amount of RA
### vm.stat_interval: 1 --> 10
Update /proc/stat information every 10 seconds instead of every second, reducing jitter on loaded systems.
### vm.swappiness: 100 --> 80
### vm.swappiness: 100 --> 60
Swap to ZRAM less often if we don't have to. ZRAM can become expensive due to constant compression and decompression. If we can keep some of the memory uncompressed in regular RAM, we can avoid that overhead.
### vm.vfs_cache_pressure: 100 --> 200

@ -169,7 +169,7 @@ ctl vm.oom_dump_tasks 0
ctl vm.page-cluster 0
ctl vm.reap_mem_on_sigkill 1
ctl vm.stat_interval 10
ctl vm.swappiness 80
ctl vm.swappiness 60
ctl vm.vfs_cache_pressure 200
# Scheduler features

Loading…
Cancel
Save