Re: [PATCH v16 0/9] blk: honor isolcpus configuration

From: Ionut Nechita (Wind River)

Date: Fri Nov 27 2026 - 07:49:52 EST


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@xxxxxxxxxxxxx>
Signed-off-by: Ionut Nechita <ionut.nechita@xxxxxxxxxxxxx>

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