Remove TCP timestamps tweak

TCP timestamps may cause performance spikes, but it's better for overall
performance.

Signed-off-by: tytydraco <tylernij@gmail.com>
latency
tytydraco 4 years ago
parent 5d14acafdd
commit 2437224f1a

@ -113,10 +113,6 @@ Enable data transmission during the SACK exchange point in TCP negotiation. This
### net.ipv4.tcp_syncookies: 1 --> 0
This tunable, when enabled, prevents denial of service attacks by allowing connection ACKs to be tracked. However, this is more-or-less unnecessary for a mobile device. It is more applicable for servers. Disable it.
### net.ipv4.tcp_timestamps: 1 --> 0
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 aforementioned stalls.

@ -157,7 +157,6 @@ ctl kernel.timer_migration 0
ctl net.ipv4.tcp_ecn 1
ctl net.ipv4.tcp_fastopen 3
ctl net.ipv4.tcp_syncookies 0
ctl net.ipv4.tcp_timestamps 0
# VM
ctl vm.compact_unevictable_allowed 0

Loading…
Cancel
Save