netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next PATCH 0/2] Prevent packet reordering on tap/tun interfaces
@ 2016-06-02  1:17 Alexander Duyck
  2016-06-02  1:17 ` [net-next PATCH 1/2] net: Add function to allow configuration of RPS Alexander Duyck
  2016-06-02  1:17 ` [net-next PATCH 2/2] tun: Configure Rx queues to default to RPS enabled Alexander Duyck
  0 siblings, 2 replies; 6+ messages in thread
From: Alexander Duyck @ 2016-06-02  1:17 UTC (permalink / raw)
  To: netdev, davem, alexander.duyck

This patch set is meant to address a recent issue I found with VMs sending
traffic across a network.  Specifically what I found was that the tap
interfaces were spreading single flows across all CPUs on the system due
to the fact that the sending VM was being load balanced across them.  Under
light load this doesn't have much of an impact, however under heavier loads
where the interfaces are already running with Rx cleanup from other flows
on the CPUs I have seen this have a fairly significant impact as we can
avoid any issues due to reordering.  The results can be anywhere from 10 to
30% improvement from what I have seen.

---

Alexander Duyck (2):
      net: Add function to allow configuration of RPS
      tun: Configure Rx queues to default to RPS enabled


 drivers/net/tun.c         |    4 +++-
 include/linux/netdevice.h |    9 ++++++++
 net/core/dev.c            |   51 ++++++++++++++++++++++++++++++++++++++++++++-
 net/core/net-sysfs.c      |   45 +++++++---------------------------------
 4 files changed, 70 insertions(+), 39 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-06-02 15:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-02  1:17 [net-next PATCH 0/2] Prevent packet reordering on tap/tun interfaces Alexander Duyck
2016-06-02  1:17 ` [net-next PATCH 1/2] net: Add function to allow configuration of RPS Alexander Duyck
2016-06-02  1:23   ` Alexander Duyck
2016-06-02  1:17 ` [net-next PATCH 2/2] tun: Configure Rx queues to default to RPS enabled Alexander Duyck
2016-06-02 13:12   ` Eric Dumazet
2016-06-02 15:24     ` Alexander Duyck

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).