From: "Ionut Nechita (Wind River)" <ionut.nechita@windriver.com>
To: Aaron Tomlin <atomlin@atomlin.com>
Cc: axboe@kernel.dk, bigeasy@linutronix.de, corbet@lwn.net,
frederic@kernel.org, linux-block@vger.kernel.org,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-scsi@vger.kernel.org, marco.crivellari@suse.com,
mingo@redhat.com, mkp@kernel.org, neelx@suse.com,
peterz@infradead.org, tglx@kernel.org,
vincent.guittot@linaro.org, wagi@kernel.org,
Ionut Nechita <ionut.nechita@windriver.com>
Subject: Re: [PATCH v16 0/9] blk: honor isolcpus configuration
Date: Fri, 27 Nov 2026 14:48:16 +0200 [thread overview]
Message-ID: <20261127124817.15699-1-ionut.nechita@windriver.com> (raw)
In-Reply-To: <rfppj6h3dfwsyvstju6k62cigzicdhoqy7j6yo7fnne7tcy3no@fvjpn5glg73m>
On Thu, Nov 26, 2026 at 03:23:31PM -0500, Aaron Tomlin wrote:
> It is worth noting why configuration (B) gave isolated CPU 2 its own
> disjoint hardware context (ctx61) in the first place. With 120 queues
> distributed across 128 CPUs under the legacy post-allocation
> "isolcpus=managed_irq" behaviour, group_cpus_evenly() assigned hctx61's
> managed interrupt affinity mask solely to isolated CPUs.
Hi Aaron,
Thanks a lot for the detailed answer and for your help throughout this
series.
Good point on (B). I had treated it as the healthy baseline, but as you
say it only avoided etcd because hctx61's completion interrupt stayed
on the isolated CPU, which is the isolation failure the series fixes.
So the comparison really shows the cost of correct isolation on a
shared slow disk, not something the series should avoid.
An update from our side: the v16 managed_irq_strict backport is now in
our extended test cycle, on the PREEMPT_RT platform builds. For the
control-plane I/O case we are handling it on the host side, as you
suggest, starting with the I/O scheduler on the controller root disk.
> Also, following discussions at the Linux Plumbers Conference, the
> consensus is to drop the separate "managed_irq_strict" flag and instead
> upgrade "isolcpus=managed_irq" directly in place to enforce strict
> pre-allocation queue and interrupt confinement.
That works for us. My preference for a separate flag was only about
not changing behaviour silently for existing users. With the Plumbers
discussion and the OpenShift side on board, fixing managed_irq in place
is the simpler result. We will move our command line back to plain
managed_irq when we pick up v17.
> I will also fold in your pre/post reserved vector patch under
> HK_TYPE_MANAGED_IRQ in the next iteration.
Thanks. A question on attribution for that part: would you add a
Co-developed-by for me on patch 8, or keep it as a separate patch? I'm
fine either way. For Co-developed-by, you can use:
Co-developed-by: Ionut Nechita <ionut.nechita@windriver.com>
Signed-off-by: Ionut Nechita <ionut.nechita@windriver.com>
Once v17 is out I'll test it on 6.18-rt and 7.3-rt (PREEMPT_RT), on
the same machines as for v16 (the Granite Rapids NVMe box and the dual
Ice Lake MegaRAID box). I'll rerun the queue mapping, effective
affinity, hotplug guard and completion locality checks. I'll also
cover the negative control I still owe you: the same isolcpus= with and
without managed_irq, on the same kernel, to show the difference. I'll
report back with a Tested-by.
Thanks,
Ionut
next prev parent reply other threads:[~2026-11-27 12:49 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-10 16:42 Aaron Tomlin
2026-09-10 16:42 ` [PATCH v16 1/9] scsi: aacraid: use block layer helpers to calculate num of queues Aaron Tomlin
2026-09-10 16:42 ` [PATCH v16 2/9] lib/group_cpus: remove dead !SMP code Aaron Tomlin
2026-09-10 16:42 ` [PATCH v16 3/9] lib/group_cpus: Add group_mask_cpus_evenly() Aaron Tomlin
2026-09-10 16:42 ` [PATCH v16 4/9] sched/isolation: Prevent out-of-bounds read in isolcpus= boot parameter parser Aaron Tomlin
2026-09-10 16:42 ` [PATCH v16 5/9] isolation: Introduce managed_irq_strict isolcpus type Aaron Tomlin
2026-09-10 16:42 ` [PATCH v16 6/9] blk-mq: use hk cpus only when isolcpus=managed_irq_strict is enabled Aaron Tomlin
2026-09-10 16:42 ` [PATCH v16 7/9] blk-mq: prevent offlining hk CPUs with associated online isolated CPUs Aaron Tomlin
2026-09-10 16:42 ` [PATCH v16 8/9] genirq/affinity: Restrict managed IRQ affinity to housekeeping CPUs Aaron Tomlin
2026-09-10 16:42 ` [PATCH v16 9/9] docs: add managed_irq_strict flag to isolcpus Aaron Tomlin
2026-09-10 18:26 ` [PATCH v16 0/9] blk: honor isolcpus configuration Aaron Tomlin
2026-09-17 15:44 ` Ionut Nechita (Wind River)
2026-09-21 13:53 ` Ionut Nechita
2026-09-28 15:53 ` Aaron Tomlin
2026-10-05 9:34 ` [PATCH] genirq/affinity: confine reserved (pre/post) vectors to housekeeping CPUs Ionut Nechita (Wind River)
2026-10-05 15:24 ` [PATCH v16 0/9] blk: honor isolcpus configuration Ionut Nechita (Wind River)
2026-10-06 13:57 ` Ionut Nechita (Wind River)
2026-11-26 20:23 ` Aaron Tomlin
2026-11-27 12:48 ` Ionut Nechita (Wind River) [this message]
2026-10-15 11:22 ` Daniel Wagner
2026-10-15 12:29 ` Sebastian Andrzej Siewior
2026-10-15 13:59 ` Aaron Tomlin
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=20261127124817.15699-1-ionut.nechita@windriver.com \
--to=ionut.nechita@windriver.com \
--cc=atomlin@atomlin.com \
--cc=axboe@kernel.dk \
--cc=bigeasy@linutronix.de \
--cc=corbet@lwn.net \
--cc=frederic@kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=marco.crivellari@suse.com \
--cc=mingo@redhat.com \
--cc=mkp@kernel.org \
--cc=neelx@suse.com \
--cc=peterz@infradead.org \
--cc=tglx@kernel.org \
--cc=vincent.guittot@linaro.org \
--cc=wagi@kernel.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®