Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1184850

Re: [Ksummit-discuss] [TECH TOPIC] IRQ affinity

From Marc Zyngier <marc.zyngier@arm.com>
Newsgroups linux.kernel
Subject Re: [Ksummit-discuss] [TECH TOPIC] IRQ affinity
Date 2015-07-15 17:00 +0200
Message-ID <pMwka-2xg-17@gated-at.bofh.it> (permalink)
References <pMtFE-71X-19@gated-at.bofh.it>
Organization ARM Ltd

Show all headers | View raw


On 15/07/15 13:07, Christoph Hellwig wrote:
> Many years ago we decided to move setting of IRQ to core affnities to
> userspace with the irqbalance daemon.
> 
> These days we have systems with lots of MSI-X vector, and we have
> hardware and subsystem support for per-CPU I/O queues in the block
> layer, the RDMA subsystem and probably the network stack (I'm not too
> familar with the recent developments there).  It would really help the
> out of the box performance and experience if we could allow such
> subsystems to bind interrupt vectors to the node that the queue is
> configured on.
> 
> I'd like to discuss if the rationale for moving the IRQ affinity setting
> fully to userspace are still correct in todays world any any pitfalls
> we'll have to learn from in irqbalanced and the old in-kernel affinity
> code.

I've been pondering about having some notion of "grouping", where some
interrupts are logically part of the same working set, and it doesn't
make much sense to spread it among CPUs, and userspace doesn't really
have a clue about this.

A related problem is that some weird HW (things like cascaded interrupt
controllers) can only move a bunch of interrupt in one go, which isn't
really what userspace expects to see (move one interrupt, see another 31
moving).

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[TECH TOPIC] IRQ affinity Christoph Hellwig <hch@infradead.org> - 2015-07-15 14:10 +0200
  Re: [Ksummit-discuss] [TECH TOPIC] IRQ affinity Thomas Gleixner <tglx@linutronix.de> - 2015-07-15 14:20 +0200
  Re: [TECH TOPIC] IRQ affinity Christoph Lameter <cl@linux.com> - 2015-07-15 16:40 +0200
  Re: [Ksummit-discuss] [TECH TOPIC] IRQ affinity Marc Zyngier <marc.zyngier@arm.com> - 2015-07-15 17:00 +0200

csiph-web