[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALzJLG8TDJtyxigwLGvS+eKMLW-Wnv8sLcb7ou35tNJBbCZTnQ@mail.gmail.com>
Date: Wed, 7 Sep 2016 17:40:21 +0300
From: Saeed Mahameed <saeedm@....mellanox.co.il>
To: John Fastabend <john.fastabend@...il.com>
Cc: Saeed Mahameed <saeedm@...lanox.com>,
iovisor-dev <iovisor-dev@...ts.iovisor.org>,
Linux Netdev List <netdev@...r.kernel.org>,
Jamal Hadi Salim <jhs@...atatu.com>,
Eric Dumazet <edumazet@...gle.com>,
Tom Herbert <tom@...bertland.com>
Subject: Re: [iovisor-dev] [PATCH RFC 11/11] net/mlx5e: XDP TX xmit more
On Wed, Sep 7, 2016 at 4:44 PM, John Fastabend via iovisor-dev
<iovisor-dev@...ts.iovisor.org> wrote:
> 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.
>
Hi John,
Right I should have been more clear here, numbers of streams refers to
the active RSS cores.
We just manipulate the number of rings with ethtool -L to test this.
>> *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
> _______________________________________________
> iovisor-dev mailing list
> iovisor-dev@...ts.iovisor.org
> https://lists.iovisor.org/mailman/listinfo/iovisor-dev
Powered by blists - more mailing lists