[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <57D019B2.7070007@gmail.com>
Date: Wed, 7 Sep 2016 06:44:18 -0700
From: John Fastabend <john.fastabend@...il.com>
To: Saeed Mahameed <saeedm@...lanox.com>,
iovisor-dev <iovisor-dev@...ts.iovisor.org>
Cc: netdev@...r.kernel.org, Tariq Toukan <tariqt@...lanox.com>,
Brenden Blanco <bblanco@...mgrid.com>,
Alexei Starovoitov <alexei.starovoitov@...il.com>,
Tom Herbert <tom@...bertland.com>,
Martin KaFai Lau <kafai@...com>,
Jesper Dangaard Brouer <brouer@...hat.com>,
Daniel Borkmann <daniel@...earbox.net>,
Eric Dumazet <edumazet@...gle.com>,
Jamal Hadi Salim <jhs@...atatu.com>
Subject: Re: [PATCH RFC 11/11] net/mlx5e: XDP TX xmit more
On 16-09-07 05:42 AM, Saeed Mahameed wrote:
> Previously we rang XDP SQ doorbell on every forwarded XDP packet.
>
> Here we introduce a xmit more like mechanism that will queue up more
> than one packet into SQ (up to RX napi budget) w/o notifying the hardware.
>
> Once RX napi budget is consumed and we exit napi RX loop, we will
> flush (doorbell) all XDP looped packets in case there are such.
>
> XDP forward packet rate:
>
> Comparing XDP with and w/o xmit more (bulk transmit):
>
> Streams XDP TX XDP TX (xmit more)
> ---------------------------------------------------
> 1 4.90Mpps 7.50Mpps
> 2 9.50Mpps 14.8Mpps
> 4 16.5Mpps 25.1Mpps
> 8 21.5Mpps 27.5Mpps*
> 16 24.1Mpps 27.5Mpps*
>
Hi Saeed,
How many cores are you using with these numbers? Just a single
core? Or are streams being RSS'd across cores somehow.
> *It seems we hit a wall of 27.5Mpps, for 8 and 16 streams,
> we will be working on the analysis and will publish the conclusions
> later.
>
Thanks,
John
Powered by blists - more mailing lists