Skip to content

Commit 21602ed

Browse files
committed
Enable timer migration
This is needed for low latency on OCP as a timer might have been scheduled on a core just before it was given to a guaranteed workload. Later that timer will expire and interrupt the workload. This option lets the kernel move the timer to another cpu first.
1 parent 69e2bf9 commit 21602ed

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
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

0 commit comments

Comments
 (0)