From ffd857d098d42c77e3bebc9a78c51536e26d31d5 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Tue, 30 Nov 2021 09:50:38 +0100 Subject: [PATCH] sysctl: kernel 5.13 has removed some scheduler variables. sched_min_granularity_ns and sched_migration_cost_ns are not available for sysctl anymore. They can only altered via debugfs if scheduler debugging is enabled. Signed-off-by: Arne Fitzenreiter --- config/etc/sysctl.conf | 9 --------- 1 file changed, 9 deletions(-) diff --git a/config/etc/sysctl.conf b/config/etc/sysctl.conf index 832ad3d1c2..bc2d21c934 100644 --- a/config/etc/sysctl.conf +++ b/config/etc/sysctl.conf @@ -58,10 +58,6 @@ fs.protected_hardlinks = 1 fs.protected_fifos = 2 fs.protected_regular = 2 -# Minimal preemption granularity for CPU-bound tasks: -# (default: 1 msec# (1 + ilog(ncpus)), units: nanoseconds) -kernel.sched_min_granularity_ns = 10000000 - # If a workload mostly uses anonymous memory and it hits this limit, the entire # working set is buffered for I/O, and any more write buffering would require # swapping, so it's time to throttle writes until I/O can catch up. Workloads @@ -83,11 +79,6 @@ vm.dirty_background_ratio = 3 # and move them to swap cache vm.swappiness = 1 -# The total time the scheduler will consider a migrated process -# "cache hot" and thus less likely to be re-migrated -# (system default is 500000, i.e. 0.5 ms) -kernel.sched_migration_cost_ns = 5000000 - # Increase kernel buffer size maximums net.ipv4.tcp_mem = 16777216 16777216 16777216 net.ipv4.tcp_rmem = 4096 87380 16777216 -- 2.39.5