From: Andrew Lunn <andrew@lunn.ch>
To: Shenwei Wang <shenwei.wang@nxp.com>
Cc: "David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
Jesper Dangaard Brouer <hawk@kernel.org>,
John Fastabend <john.fastabend@gmail.com>,
Wei Fang <wei.fang@nxp.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"imx@lists.linux.dev" <imx@lists.linux.dev>
Subject: Re: [EXT] Re: [PATCH 1/1] net: fec: using page pool to manage RX buffers
Date: Fri, 30 Sep 2022 22:01:35 +0200 [thread overview]
Message-ID: <YzdLHx+N4SXaAkUe@lunn.ch> (raw)
In-Reply-To: <PAXPR04MB9185E69829540686618987D289569@PAXPR04MB9185.eurprd04.prod.outlook.com>
> The testing above was on the imx8 platform. The following are the testing result
> On the imx6sx board:
>
> ######### Original implementation ######
>
> shenwei@5810:~/pktgen$ iperf -c 10.81.16.245 -w 2m -i 1
> ------------------------------------------------------------
> Client connecting to 10.81.16.245, TCP port 5001
> TCP window size: 416 KByte (WARNING: requested 1.91 MByte)
> ------------------------------------------------------------
> [ 1] local 10.81.17.20 port 36486 connected with 10.81.16.245 port 5001
> [ ID] Interval Transfer Bandwidth
> [ 1] 0.0000-1.0000 sec 70.5 MBytes 591 Mbits/sec
> [ 1] 1.0000-2.0000 sec 64.5 MBytes 541 Mbits/sec
> [ 1] 2.0000-3.0000 sec 73.6 MBytes 618 Mbits/sec
> [ 1] 3.0000-4.0000 sec 73.6 MBytes 618 Mbits/sec
> [ 1] 4.0000-5.0000 sec 72.9 MBytes 611 Mbits/sec
> [ 1] 5.0000-6.0000 sec 73.4 MBytes 616 Mbits/sec
> [ 1] 6.0000-7.0000 sec 73.5 MBytes 617 Mbits/sec
> [ 1] 7.0000-8.0000 sec 73.4 MBytes 616 Mbits/sec
> [ 1] 8.0000-9.0000 sec 73.4 MBytes 616 Mbits/sec
> [ 1] 9.0000-10.0000 sec 73.9 MBytes 620 Mbits/sec
> [ 1] 0.0000-10.0174 sec 723 MBytes 605 Mbits/sec
>
>
> ###### Page Pool implémentation ########
>
> shenwei@5810:~/pktgen$ iperf -c 10.81.16.245 -w 2m -i 1
> ------------------------------------------------------------
> Client connecting to 10.81.16.245, TCP port 5001
> TCP window size: 416 KByte (WARNING: requested 1.91 MByte)
> ------------------------------------------------------------
> [ 1] local 10.81.17.20 port 57288 connected with 10.81.16.245 port 5001
> [ ID] Interval Transfer Bandwidth
> [ 1] 0.0000-1.0000 sec 78.8 MBytes 661 Mbits/sec
> [ 1] 1.0000-2.0000 sec 82.5 MBytes 692 Mbits/sec
> [ 1] 2.0000-3.0000 sec 82.4 MBytes 691 Mbits/sec
> [ 1] 3.0000-4.0000 sec 82.4 MBytes 691 Mbits/sec
> [ 1] 4.0000-5.0000 sec 82.5 MBytes 692 Mbits/sec
> [ 1] 5.0000-6.0000 sec 82.4 MBytes 691 Mbits/sec
> [ 1] 6.0000-7.0000 sec 82.5 MBytes 692 Mbits/sec
> [ 1] 7.0000-8.0000 sec 82.4 MBytes 691 Mbits/sec
> [ 1] 8.0000-9.0000 sec 82.4 MBytes 691 Mbits/sec
> ^C[ 1] 9.0000-9.5506 sec 45.0 MBytes 686 Mbits/sec
> [ 1] 0.0000-9.5506 sec 783 MBytes 688 Mbits/sec
Cool, so it helps there as well.
But you knew i was interested in these numbers. So you should of made
them part of the commit message so i didn't have to ask...
Andrew
next prev parent reply other threads:[~2022-09-30 20:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-30 19:37 [PATCH 1/1] net: fec: using page pool to manage RX buffers Shenwei Wang
2022-09-30 19:52 ` Andrew Lunn
2022-09-30 19:58 ` [EXT] " Shenwei Wang
2022-09-30 20:01 ` Andrew Lunn [this message]
2022-09-30 20:08 ` Shenwei Wang
2022-09-30 20:05 ` Andrew Lunn
2022-09-30 20:07 ` [EXT] " Shenwei Wang
2022-09-30 20:20 ` Andrew Lunn
2022-09-30 20:15 ` Andrew Lunn
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=YzdLHx+N4SXaAkUe@lunn.ch \
--to=andrew@lunn.ch \
--cc=ast@kernel.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=hawk@kernel.org \
--cc=imx@lists.linux.dev \
--cc=john.fastabend@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=shenwei.wang@nxp.com \
--cc=wei.fang@nxp.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