From: Steffen Klassert <steffen.klassert@secunet.com>
To: <netdev@vger.kernel.org>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Subject: [PATCH RFC 0/2] Flow sorted receive skb lists
Date: Wed, 12 Sep 2018 12:23:28 +0200 [thread overview]
Message-ID: <20180912102330.24790-1-steffen.klassert@secunet.com> (raw)
This patchset consists of two patches. Patch 1 adds support for flow
sorted rx skb lists for IPv4. This means that it sorts the skb list so
that packets from the same flow can to travel together through the stack.
The second patch of this pachset is just a hack that disables GRO and does
skb list receive instead. I don't have a NIC whose driver supports to build
skb lists to be received by netif_receive_skb_list(), so I used this hack
to test patch 1.
This is early stage work, so it might be not complete and still buggy.
I send this now because I want to hear some comments on the approach
itself before I spend more time to work on this.
Forwarding performance measurements:
I used used my IPsec forwarding test setup for this:
------------ ------------
-->| router 1 |-------->| router 2 |--
| ------------ ------------ |
| |
| -------------------- |
--------|Spirent Testcenter|<----------
--------------------
net-next (September 6th):
Single stream UDP frame size 1460 Bytes: 1.258.446 fps.
Single stream UDP frame size 64 Bytes: 1.250.000 fps.
----------------------------------------------------------------------
net-next (September 6th) + patch 2 (list receive):
Single stream UDP frame size 1460 Bytes: 1.469.595 fps (+16%).
Single stream UDP frame size 64 Bytes: 1.502.976 fps (+20%).
----------------------------------------------------------------------
net-next (September 6th) + patch 1 + patch 2 (flow sorted list receive):
Single stream UDP frame size 1460 Bytes: 2.525.338 fps (+100%).
Single stream UDP frame size 64 Bytes: 2.541.881 fps (+103%).
-----------------------------------------------------------------------
next reply other threads:[~2018-09-12 15:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-12 10:23 Steffen Klassert [this message]
2018-09-12 10:23 ` [PATCH RFC 1/2] net: Support flow sorted RX skb lists for IPv4 Steffen Klassert
2018-09-12 10:23 ` [PATCH RFC 2/2] net: Hack to enable skb list receive in the napi layer Steffen Klassert
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=20180912102330.24790-1-steffen.klassert@secunet.com \
--to=steffen.klassert@secunet.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