Re: [PATCH] irq: Add node_affinity CPU masks for smarter irqbalance hints

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Thomas Gleixner
Date: Tuesday, November 24, 2009 - 3:07 am

On Tue, 24 Nov 2009, Peter P Waskiewicz Jr wrote:

Which is still touching the generic irq subsystem and needs the ack of
the relevant maintainer. If there is a need to expose such an
interface to drivers then the maintainer wants to know exactly why and
needs to be part of the discussion of alternative solutions. Otherwise
you waste time on implementing stuff like the current patch which is
definitely not going anywhere near the irq subsystem.


/sys/class/net/ethX/device/numa_node 

perhaps ?
 

And to work around the brain wreckage of irqbalanced you want to
fiddle in the irq code instead of teaching irqbalanced to handle node
affinities ?

The only thing which is worth to investigate is whether the irq core
code should honour the dev->numa_node setting and restrict the
possible irq affinity settings to that node. If a device is tied to a
node it makes a certain amount of sense to do that.

But such a change would not need a new interface in the irq core and
definitely not a new cpumask_t member in the irq_desc structure to
store a node affinity which can be expressed with a simple
integer.

But this needs more thoughts and I want to know more about the
background and the reasoning for such a change.

Thanks,

	tglx



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] irq: Add node_affinity CPU masks for smarter irqba ..., Peter P Waskiewicz Jr, (Sun Nov 22, 11:46 pm)
Re: [PATCH] irq: Add node_affinity CPU masks for smarter i ..., Peter P Waskiewicz Jr, (Mon Nov 23, 2:36 am)
ixgbe question, Eric Dumazet, (Mon Nov 23, 3:21 am)
Re: ixgbe question, Badalian Vyacheslav, (Mon Nov 23, 3:30 am)
Re: ixgbe question, Waskiewicz Jr, Peter P, (Mon Nov 23, 3:34 am)
Re: ixgbe question, Eric Dumazet, (Mon Nov 23, 3:37 am)
Re: ixgbe question, Eric Dumazet, (Mon Nov 23, 7:05 am)
Re: ixgbe question, Jesper Dangaard Brouer, (Mon Nov 23, 7:10 am)
Re: ixgbe question, Eric Dumazet, (Mon Nov 23, 7:38 am)
Re: ixgbe question, Eric Dumazet, (Mon Nov 23, 9:59 am)
Re: ixgbe question, robert, (Mon Nov 23, 11:30 am)
Re: ixgbe question, robert, (Mon Nov 23, 1:54 pm)
Re: ixgbe question, David Miller, (Mon Nov 23, 2:26 pm)
Re: ixgbe question, David Miller, (Mon Nov 23, 2:28 pm)
Re: ixgbe question, Robert Olsson, (Mon Nov 23, 3:14 pm)
Re: ixgbe question, Waskiewicz Jr, Peter P, (Mon Nov 23, 4:28 pm)
Re: [PATCH] irq: Add node_affinity CPU masks for smarter i ..., Waskiewicz Jr, Peter P, (Mon Nov 23, 4:32 pm)
Re: ixgbe question, David Miller, (Mon Nov 23, 4:44 pm)
Re: [PATCH] irq: Add node_affinity CPU masks for smarter i ..., Arjan van de Ven, (Mon Nov 23, 11:07 pm)
Re: ixgbe question, Eric Dumazet, (Tue Nov 24, 12:46 am)
Re: [PATCH] irq: Add node_affinity CPU masks for smarter i ..., Peter P Waskiewicz Jr, (Tue Nov 24, 1:39 am)
Re: ixgbe question, Badalian Vyacheslav, (Tue Nov 24, 1:46 am)
Re: [PATCH] irq: Add node_affinity CPU masks for smarter i ..., Peter P Waskiewicz Jr, (Tue Nov 24, 1:59 am)
Re: ixgbe question, Peter P Waskiewicz Jr, (Tue Nov 24, 2:07 am)
Re: [PATCH] irq: Add node_affinity CPU masks for smarter i ..., Peter P Waskiewicz Jr, (Tue Nov 24, 2:15 am)
Re: ixgbe question, Eric Dumazet, (Tue Nov 24, 2:55 am)
Re: ixgbe question, Peter P Waskiewicz Jr, (Tue Nov 24, 3:06 am)
Re: [PATCH] irq: Add node_affinity CPU masks for smarter i ..., Thomas Gleixner, (Tue Nov 24, 3:07 am)
[PATCH net-next-2.6] ixgbe: Fix TX stats accounting, Eric Dumazet, (Tue Nov 24, 4:37 am)
Re: ixgbe question, John Fastabend, (Tue Nov 24, 6:14 am)
Re: [PATCH net-next-2.6] ixgbe: Fix TX stats accounting, Eric Dumazet, (Tue Nov 24, 6:23 am)
Re: [PATCH] irq: Add node_affinity CPU masks for smarter i ..., Peter P Waskiewicz Jr, (Tue Nov 24, 10:55 am)
Re: [PATCH] irq: Add node_affinity CPU masks for smarter i ..., Peter P Waskiewicz Jr, (Tue Nov 24, 10:56 am)
Re: [PATCH] irq: Add node_affinity CPU masks for smarter i ..., Peter P Waskiewicz Jr, (Tue Nov 24, 11:33 am)
Re: [PATCH] irq: Add node_affinity CPU masks for smarter i ..., Peter P Waskiewicz Jr, (Tue Nov 24, 12:53 pm)
Re: [PATCH net-next-2.6] ixgbe: Fix TX stats accounting, Jeff Kirsher, (Wed Nov 25, 12:38 am)
Re: [PATCH net-next-2.6] ixgbe: Fix TX stats accounting, Eric Dumazet, (Wed Nov 25, 2:31 am)
Re: [PATCH net-next-2.6] ixgbe: Fix TX stats accounting, Jeff Kirsher, (Wed Nov 25, 2:38 am)
Re: ixgbe question, Badalian Vyacheslav, (Thu Nov 26, 7:10 am)
Re: ixgbe question, David Miller, (Sun Nov 29, 1:18 am)
Re: ixgbe question, Eric Dumazet, (Mon Nov 30, 6:02 am)
Re: ixgbe question, John Fastabend, (Mon Nov 30, 1:20 pm)