Skip to content

Commit c613536

Browse files
Merge pull request #850 from MarSik/master
Enable timer migration
2 parents 59da750 + c2a3ee2 commit c613536

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

build/assets/tuned/openshift-node-performance

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ kernel.hung_task_timeout_secs = 600
5959
kernel.nmi_watchdog = 0
6060
#> realtime
6161
kernel.sched_rt_runtime_us = -1
62-
#> cpu-partitioning (= 1) #realtime (= 0)
63-
kernel.timer_migration = 0
62+
# cpu-partitioning and realtime for RHEL disable it (= 0)
63+
# OCP is too dynamic when partitioning and needs to evacuate
64+
#> scheduled timers when starting a guaranteed workload (= 1)
65+
kernel.timer_migration = 1
6466
#> network-latency
6567
kernel.numa_balancing=0
6668
net.core.busy_read=50

functests/1_performance/performance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ var _ = Describe("[rfe_id:27368][performance]", func() {
336336
"kernel.nmi_watchdog": "0",
337337
"kernel.sched_rt_runtime_us": "-1",
338338
"vm.stat_interval": "10",
339-
"kernel.timer_migration": "0",
339+
"kernel.timer_migration": "1",
340340
}
341341

342342
key := types.NamespacedName{

testdata/render-expected-output/manual_tuned.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ spec:
2626
the value set by cpu-partitioning with an empty one\nbanned_cpus=\"\"\n\n\n[scheduler]\nruntime=0\ngroup.ksoftirqd=0:f:11:*:ksoftirqd.*\ngroup.rcuc=0:f:11:*:rcuc.*\nsched_rt_runtime_us=-1\nsched_min_granularity_ns=10000000\nsched_migration_cost_ns=5000000\nnuma_balancing=0\n\ndefault_irq_smp_affinity
2727
= ignore\n\n\n[sysctl]\n#> cpu-partitioning #realtime\nkernel.hung_task_timeout_secs
2828
= 600\n#> cpu-partitioning #realtime\nkernel.nmi_watchdog = 0\n#> realtime\nkernel.sched_rt_runtime_us
29-
= -1\n#> cpu-partitioning (= 1) #realtime (= 0)\nkernel.timer_migration = 0\n#>
29+
= -1\n# cpu-partitioning and realtime for RHEL disable it (= 0)\n# OCP is too dynamic when partitioning and needs to
30+
evacuate\n#> scheduled timers when starting a guaranteed workload (= 1)\nkernel.timer_migration = 1\n#>
3031
network-latency\nkernel.numa_balancing=0\nnet.core.busy_read=50\nnet.core.busy_poll=50\nnet.ipv4.tcp_fastopen=3\n#>
3132
cpu-partitioning #realtime\nvm.stat_interval = 10\n\n# ktune sysctl settings
3233
for rhel6 servers, maximizing i/o throughput\n#\n# Minimal preemption granularity

0 commit comments

Comments
 (0)