]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
sysctl: kernel 5.13 has removed some scheduler variables.
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 30 Nov 2021 08:50:38 +0000 (09:50 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 30 Nov 2021 08:50:38 +0000 (09:50 +0100)
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 <arne_f@ipfire.org>
config/etc/sysctl.conf

index 832ad3d1c23ffa8f05a233cf09b7c5485cf9e386..bc2d21c934e5bc4d8c77640030cf7ec4ca6f6aa4 100644 (file)
@@ -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