From 0be3a0dd15640dc0c11081ef63037c8da8601b07 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 4 Jul 2022 09:31:55 +0100 Subject: [PATCH] Drop scheduler tuning that is not supported in newer kernels --- roles/imagery.rb | 7 ------- roles/nepomuk.rb | 9 --------- roles/nominatim-v4.rb | 7 ------- roles/nominatim.rb | 7 ------- 4 files changed, 30 deletions(-) diff --git a/roles/imagery.rb b/roles/imagery.rb index 8556d249a..78437a608 100644 --- a/roles/imagery.rb +++ b/roles/imagery.rb @@ -19,13 +19,6 @@ default_attributes( :parameters => { "net.core.somaxconn" => 10000 } - }, - :kernel_scheduler_tune => { - :comment => "Tune kernel scheduler preempt", - :parameters => { - "kernel.sched_min_granularity_ns" => 10000000, - "kernel.sched_wakeup_granularity_ns" => 15000000 - } } }, :nginx => { diff --git a/roles/nepomuk.rb b/roles/nepomuk.rb index 4035409b2..4abe868d1 100644 --- a/roles/nepomuk.rb +++ b/roles/nepomuk.rb @@ -36,15 +36,6 @@ default_attributes( } } }, - :sysctl => { - :kvm => { - :comment => "Tuning for KVM guest", - :parameters => { - "kernel.sched_min_granularity_ns" => 10000000, - "kernel.sched_wakeup_granularity_ns" => 15000000 - } - } - }, :sysfs => { :hdd_tune => { :comment => "Tune the queue for improved performance", diff --git a/roles/nominatim-v4.rb b/roles/nominatim-v4.rb index 91ae6c2ca..69b620e8e 100644 --- a/roles/nominatim-v4.rb +++ b/roles/nominatim-v4.rb @@ -42,13 +42,6 @@ default_attributes( "kernel.shmall" => 26 * 1024 * 1024 * 1024 / 4096 } }, - :kernel_scheduler_tune => { - :comment => "Tune kernel scheduler preempt", - :parameters => { - "kernel.sched_min_granularity_ns" => 10000000, - "kernel.sched_wakeup_granularity_ns" => 15000000 - } - }, :swappiness => { :comment => "Reduce swap usage", :parameters => { diff --git a/roles/nominatim.rb b/roles/nominatim.rb index 93d917e7b..fd8295429 100644 --- a/roles/nominatim.rb +++ b/roles/nominatim.rb @@ -42,13 +42,6 @@ default_attributes( "kernel.shmall" => 26 * 1024 * 1024 * 1024 / 4096 } }, - :kernel_scheduler_tune => { - :comment => "Tune kernel scheduler preempt", - :parameters => { - "kernel.sched_min_granularity_ns" => 10000000, - "kernel.sched_wakeup_granularity_ns" => 15000000 - } - }, :swappiness => { :comment => "Reduce swap usage", :parameters => { -- 2.39.5