From: David Miller <davem@davemloft.net>
To: gallatin@myri.com
Cc: netdev@vger.kernel.org
Subject: Re: How do I use multiqueue tx
Date: Tue, 03 Jun 2008 09:10:38 -0700 (PDT) [thread overview]
Message-ID: <20080603.091038.208527273.davem@davemloft.net> (raw)
In-Reply-To: <4845647A.7060002@myri.com>
From: Andrew Gallatin <gallatin@myri.com>
Date: Tue, 03 Jun 2008 11:34:18 -0400
> I've done a patch to myri10ge which enables the use of multiple
> transmit queues in our Linux driver using CONFIG_NETDEVICES_MULTIQUEUE
> netdev subqueues. Our current hardware uses multiple queues purely
> for increasing host parallelism, not priority/QOS. I'm looking for a
> way, beyond pktgen, to actually use any transmit queue other than 0 to
> increase parallelism.
Even though there are seperate per-TX-queue start/stop states
available to manage, all of the transmit path still uses a
single global lock to manage the packet queue in the generic
device structure.
So you will get zero extra parallelism by using the other queues.
I plan to work on this and have presented my ideas about how to
solve this problem in two presentations I gave in Japan several
months ago, and last week in Berlin.
http://vger.kernel.org/~davem/davem_tokyo08.pdf
http://vger.kernel.org/~davem/davem_berlin08.pdf
Don't even bother trying to get better TX parallelism at the
current time, it'll be so much easier to accomplish after
I do this development which I anticipate should be in a testable
state in about one month.
next prev parent reply other threads:[~2008-06-03 16:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-03 15:34 How do I use multiqueue tx Andrew Gallatin
2008-06-03 16:10 ` David Miller [this message]
2008-06-03 17:13 ` Andrew Gallatin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080603.091038.208527273.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=gallatin@myri.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).