RE: multiqueue interrupts...

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Matthew Wilcox <matthew@...>, David Miller <davem@...>
Cc: <netdev@...>, Arjan van de Ven <arjan@...>, Brice Goglin <brice@...>, Ben Hutchings <bhutchings@...>
Date: Friday, September 19, 2008 - 4:57 pm

Matthew Wilcox wrote:
 

There is already this flag called IRQF_NOBALANCING, at least I think
that's what we want.  irqbalanced's treatment of this flag is another
matter.
 

not a bad, idea, but I can appreciate why DaveM thinks this is
un-necessary.  However all we are left with right now is code changes or
module parameters when trying to configure the number of queues.

How about some new ethtool options having to do with multiqueue
configurations?  Here is a proposal.  I haven't spent much time thinking
about this before but here is an idea.

query multiqueue capabilities:
ethtool -q ethX

set multiqueue capabilities:
ethtool -Q tx N rx N int <fixedcpu|pairs|somethingelse?>

tx N and rx N are pretty self explanitory
int fixedcpu - each queue gets a cpu and is registered IRQF_NOBALANCING
int pairs - tx and rx queues are allocated per cpu and (probably) share
a vector
There should be others here, I'm not sure how/if we would want to make a
pluggable way to do this within ethtool's design without opening buffer
overlow kinds of holes.
 

ethtool doesn't help storage, but I read this on netdev anyway...

Jesse
--
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:
Re: multiqueue interrupts..., Matthew Wilcox, (Fri Sep 19, 2:18 pm)
Re: multiqueue interrupts..., Arjan van de Ven, (Fri Sep 19, 6:11 pm)
Re: multiqueue interrupts..., Andy Fleming, (Fri Sep 19, 6:24 pm)
Re: multiqueue interrupts..., Arjan van de Ven, (Fri Sep 19, 6:28 pm)
RE: multiqueue interrupts..., Brandeburg, Jesse, (Fri Sep 19, 4:57 pm)
Re: multiqueue interrupts..., David Miller, (Fri Sep 19, 5:09 pm)
Re: multiqueue interrupts..., Matthew Wilcox, (Fri Sep 19, 5:15 pm)
Re: multiqueue interrupts..., David Miller, (Fri Sep 19, 4:14 pm)