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

From: Ahmed S. Darwish

Date: Mon Nov 30 2026 - 10:23:58 EST


Hi Zixin,

On Thu, 26 Nov 2026, Zixin Wang wrote:
> +
> +CPU isolation
> +=============
> +
> +CPU isolation and the parameters that control it, including
> +``isolcpus=``, ``nohz_full=``, and ``irqaffinity=``, are documented in
> +Documentation/admin-guide/cpu-isolation.rst. That guide covers the
> +housekeeping model, managed interrupts, and the limitations of CPU
> +isolation; use it together with the build-time options in
> +Documentation/core-api/real-time/kernel-configuration.rst.
> +

It's nice that we're linking to the official docs. I would also advise
adding a small real-world example related to PREEMPT_RT.

That is, mention that on a system with 4 CPU cores, a common PREEMPT_RT
setup would be to set CPU #0 as the housekeeping CPU, and CPUs 1-3 as the
"isolated" CPUs intended for real-time tasks. Then the kernel parameters
for such a system would be something like:

isolcpus=1-3 rcu_nocbs=1-3 irqaffinity=0

Users who are new to all this can then get a feeling of what to do, and
consult cpu-isolation.rst in a more targeted way.

Thanks!
Ahmed