multiqueue interrupts...

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <netdev@...>
Date: Thursday, September 18, 2008 - 10:38 pm

During kernel summit I was speaking with Arjan van de Ven
about irqbalanced and networking card multiqueue interrupts.

In order for irqbalanaced to make smart decisions, what needs to
happen in drivers is that the individual interrupts need to be
named in such a way that he can tell by looking at /proc/interrupts
output that these interrupts are related.

I would suggest that people use something like:

	char buf[IFNAMSIZ+6];

	sprintf(buf, "%s-%s-%d",
	        netdev->name,
		(RX_INTERRUPT ? "rx" : "tx"),
		queue->index);

So on a multiqueue card with 2 RX queues and 2 TX queues we'd
have names like:

	eth0-rx-0
	eth0-rx-1
	eth0-tx-0
	eth0-tx-1

So let's make an effort to get this done right in 2.6.28 and meanwhile
Arjan can add the irqbalanced code.
--
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:
multiqueue interrupts..., David Miller, (Thu Sep 18, 10:38 pm)
Re: multiqueue interrupts..., Ben Hutchings, (Fri Sep 19, 7:38 am)
Re: multiqueue interrupts..., David Miller, (Fri Sep 19, 4:12 pm)
Re: multiqueue interrupts..., Brice Goglin, (Fri Sep 19, 8:29 am)
Re: multiqueue interrupts..., David Miller, (Fri Sep 19, 4:12 pm)