From: Ben Hutchings <bhutchings@solarflare.com>
To: Tom Herbert <therbert@google.com>
Cc: netdev <netdev@vger.kernel.org>,
sf-linux-drivers <linux-net-drivers@solarflare.com>
Subject: [RFC PATCH net-next-2.6 0/2] Automatic XPS mapping
Date: Fri, 18 Feb 2011 16:13:27 +0000 [thread overview]
Message-ID: <1298045607.2570.17.camel@bwh-desktop> (raw)
In the same way that we maintain a mapping CPUs to RX queues for RFS
acceleration based on current IRQ affinity and the CPU topology, we can
maintain a mapping of CPUs to TX queues for queue selection in XPS. (In
fact this may be the same mapping.)
Questions:
- Does this make a real difference to performance?
(I've only barely tested this.)
- Should there be a way to disable it?
- Should the automatic mapping be made visible?
(This applies RFS acceleration too.)
- Should different mappings be allowed for different traffic classes,
in case they have separate sets of TX interrupts with different
affinity?
(This applies to manual XPS configuration too.)
Ben Hutchings (2):
net: XPS: Allow driver to provide a default mapping of CPUs to TX
queues
sfc: Add CPU queue mapping for XPS
drivers/net/sfc/efx.c | 59 +++++++++++++++++++++++++++++++-------------
include/linux/netdevice.h | 10 +++++--
net/Kconfig | 17 +++++++++----
net/core/dev.c | 41 +++++++++++++++++-------------
4 files changed, 83 insertions(+), 44 deletions(-)
--
1.7.3.4
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
next reply other threads:[~2011-02-18 16:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-18 16:13 Ben Hutchings [this message]
2011-02-18 16:15 ` [RFC PATCH net-next-2.6 1/2] net: XPS: Allow driver to provide a default mapping of CPUs to TX queues Ben Hutchings
2011-02-18 16:15 ` [RFC PATCH net-next-2.6 2/2] sfc: Add CPU queue mapping for XPS Ben Hutchings
2011-07-19 17:07 ` [RFC PATCH net-next-2.6 0/2] Automatic XPS mapping Tom Herbert
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=1298045607.2570.17.camel@bwh-desktop \
--to=bhutchings@solarflare.com \
--cc=linux-net-drivers@solarflare.com \
--cc=netdev@vger.kernel.org \
--cc=therbert@google.com \
/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).