From 2980455e61d7473ef9d8e84cc174623bd0ea57bf Mon Sep 17 00:00:00 2001 From: Sunderland93 Date: Tue, 28 Nov 2023 20:51:32 +0400 Subject: [PATCH] Add more tweaks --- etc/sysctl.d/tileos.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/etc/sysctl.d/tileos.conf b/etc/sysctl.d/tileos.conf index d366f54..eba0192 100644 --- a/etc/sysctl.d/tileos.conf +++ b/etc/sysctl.d/tileos.conf @@ -54,3 +54,17 @@ net.ipv4.tcp_slow_start_after_idle = 0 # Protect against tcp time-wait assassination hazards, drop RST packets for sockets in the time-wait state. Not widely supported outside of Linux, but conforms to RFC: net.ipv4.tcp_rfc1337 = 1 + +# Contains, as a bytes of total available memory that contains free pages and reclaimable +# pages, the number of pages at which a process which is generating disk writes will itself start +# writing out dirty data. +vm.dirty_bytes = 268435456 + +# Contains, as a bytes of total available memory that contains free pages and reclaimable +# pages, the number of pages at which the background kernel flusher threads will start writing out +# dirty data. +vm.dirty_background_bytes = 134217728 + +# The kernel flusher threads will periodically wake up and write old data out to disk. This +# tunable expresses the interval between those wakeups, in 100'ths of a second (Default is 500). +vm.dirty_writeback_centisecs = 1500