diff options
Diffstat (limited to 'configs')
-rw-r--r-- | configs/os/sysctl.conf | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configs/os/sysctl.conf b/configs/os/sysctl.conf index 7cfe43b0..abe53aa6 100644 --- a/configs/os/sysctl.conf +++ b/configs/os/sysctl.conf @@ -1,6 +1,7 @@ -# https://github.com/raspberrypi/linux/issues/1753 -vm.dirty_background_bytes = 5 -vm.dirty_writeback_centisecs = 25 +# Overly-aggressive data writeback policies to minimize the chance of data corruption +# Start dirty data writeback when it exceeds 256 KiB or 1s has passed +vm.dirty_background_bytes = 262144 +vm.dirty_writeback_centisecs = 100 # https://groups.google.com/g/meetecho-janus/c/xoWIQfaoJm8 net.core.rmem_default = 500000 |