I am executing cyclic test on Linux realtime kernel and observing high latencies. But when I disable timer migration, I am able to observe latencies in expected range.
Is this tuning recommened to do? Will it have any adverse impact?
Command for timer migration:
echo 0 > /proc/sys/kernel/timer_migration
Running cyclic test on 3 cores which have no_hz_full enabled to make it tickless. The kernel is realtime with PREEMPT_RT patch.
mkdir /sys/fs/cgroup/cpuset/core1-3/
echo 0 > /sys/fs/cgroup/cpuset/core1-3/cpuset.mems
echo 1-3 > /sys/fs/cgroup/cpuset/core1-3/cpuset.cpus
cgexec -g cpuset:core1-3 cyclictest -a 1-3 -t 3 -m -l 100000000 -i 1000 -p 99 -h 800
Himansu Sekhar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.