Re: [PATCH v6] Documentation: real-time: Add runtime tuning guide

From: Zixin Wang

Date: Wed Nov 25 2026 - 09:14:35 EST


Hi Frederic,

Thanks for the review. You are correct: the CPU isolation section
duplicated Documentation/admin-guide/cpu-isolation.rst. I checked the
remaining runtime tuning content for similar overlap with other
documentation and will keep the canonical material referenced instead of
duplicated.

On the second point, I ran a local QEMU test with the PREEMPT_RT kernel
(7.3.5, HZ=1000). The guest had 8 vCPUs; the test process was pinned to
CPU 6 with:

isolcpus=domain,nohz,6-7 nohz_full=6-7 rcu_nocbs=6-7 irqaffinity=0-5

The only difference between the two runs was the presence of
rcu_nocb_poll. The workload repeatedly created and closed perf events and
epoll instances, which enqueued RCU callbacks on CPU 6; I traced
rcu_callback, rcu_invoke_callback, and rcu_nocb_wake, and measured
enqueue-to-invocation latency (including the grace period). I ran three
80-iteration guest runs per mode, giving 480 callbacks per mode.

without rcu_nocb_poll:
median 4.012 ms, p95 4.203 ms, max 7.040 ms
with rcu_nocb_poll:
median 7.003 ms, p95 9.971 ms, max 12.542 ms

The polling mode showed Poll/WakeNotPoll events and no WakeEmpty/DoWake
events. Thus, in this test, polling did not improve real-time response;
it made callback invocation latency worse.

I have updated the guide accordingly: the CPU isolation details now point
to Documentation/admin-guide/cpu-isolation.rst instead of being
duplicated, and the rcu_nocb_poll description no longer claims a real-time
benefit. It now states that the kthreads poll every jiffy and can delay
callback and grace-period processing.

So far only you and Sebastian have replied to this patch. I am waiting
for more reviewer feedback before sending v7.

The kernel-parameters.txt entry still says that rcu_nocb_poll improves
real-time response; I left that file untouched in this patch, but it may
need a separate correction.

The test logs and summary are available locally; I can share them if
useful.

Thanks,
Zixin