mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Ahmed S. Darwish" <darwi@linutronix.de>
To: Zixin Wang <w1355457260@gmail.com>
Cc: linux-doc@vger.kernel.org, linux-rt-devel@lists.linux.dev,
	bigeasy@linutronix.de, frederic@kernel.org,
	john.ogness@linutronix.de, clrkwllms@kernel.org,
	rostedt@goodmis.org, corbet@lwn.net, wagi@monom.org,
	atomlin@atomlin.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v7] Documentation: real-time: Add runtime tuning guide
Date: Mon, 30 Nov 2026 16:23:49 +0100	[thread overview]
Message-ID: <aw2VBdwgmYWvwnN5@lx-t490> (raw)
In-Reply-To: <20261126114102.615558-1-w1355457260@gmail.com>

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

      parent reply	other threads:[~2026-11-30 15:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 11:41 Zixin Wang
2026-11-30 15:04 ` Ahmed S. Darwish
2026-11-30 15:23 ` Ahmed S. Darwish [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aw2VBdwgmYWvwnN5@lx-t490 \
    --to=darwi@linutronix.de \
    --cc=atomlin@atomlin.com \
    --cc=bigeasy@linutronix.de \
    --cc=clrkwllms@kernel.org \
    --cc=corbet@lwn.net \
    --cc=frederic@kernel.org \
    --cc=john.ogness@linutronix.de \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-devel@lists.linux.dev \
    --cc=rostedt@goodmis.org \
    --cc=w1355457260@gmail.com \
    --cc=wagi@monom.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®