Disable unevictable compaction of pages

Signed-off-by: tytydraco <tylernij@gmail.com>
latency
tytydraco 4 years ago
parent b8326e1d1f
commit f788e83fef

@ -126,6 +126,9 @@ This tunable, when enabled, prevents denial of service attacks by allowing conne
RedHat claims that TCP timestamps may cause performance spikes due to time accounting code on high-performance connections. Disable it.
See RedHat: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_for_real_time/7/html/tuning_guide/reduce_tcp_performance_spikes
### vm.compact_unevictable_allowed: 1 --> 0
Do not allow compaction of unevictable pages. With this set to 1, more compactions can happen at the cost of small page fault stalls. Turn this off to compact less but avoid aformentioned stalls.
### vm.dirty_background_ratio: 5 --> 3
Start writing back dirty pages (pages that have been modified but not yet written to the disk) asynchronously at 3% memory dirtied. It's better to start background writeback early to avoid hitting the dirty_ratio point in general.

@ -132,6 +132,7 @@ ctl net.ipv4.tcp_syncookies 0
ctl net.ipv4.tcp_timestamps 0
# VM
ctl vm.compact_unevictable_allowed 0
ctl vm.dirty_background_ratio 3
ctl vm.dirty_ratio 30
ctl vm.dirty_expire_centisecs 1000

Loading…
Cancel
Save