3 ms·
Note that by default kernel.sched_rt_runtime_us limits RT usage to 95% of the whole system, not an individual core. If you have 1 RT process using 100% of a cor
by edwintorok 7y ago
Note that by default kernel.sched_rt_runtime_us limits RT usage to 95% of the whole system, not an individual core.
If you have 1 RT process using 100% of a core on a multicore system it won't trigger the limiting, which can cause all sorts of problems (like network interrupts not getting serviced if your process happened to hog the core used by network interrupts).
This can be worked around by writing NO_RT_RUNTIME_SHARE to /sys/kernel/debug/sched_features, which then makes the 95% limit apply on each logical core, not the system as a whole.
See here for more details: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_for_real_time/7/html/tuning_guide/real_time_throttling https://access.redhat.com/documentation/en-us/red_hat_enterp...