[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1484833039.16328.24.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Thu, 19 Jan 2017 05:37:19 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Roman Yeryomin <leroi.lists@...il.com>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [net, 3/6] net: korina: increase tx/rx ring sizes
On Thu, 2017-01-19 at 12:55 +0200, Roman Yeryomin wrote:
> On 17 January 2017 at 21:20, Eric Dumazet <eric.dumazet@...il.com> wrote:
> > Note that at 100M, 64 rx descriptors have a 8 ms max latency.
> >
> > Switching to 256 also multiply by 4 the latency -> 32 ms latency.
> >
> > Presumably switching to NAPI and GRO would avoid the latency increase
> > and save a lot of cpu cycles for a MIPS board.
> >
>
> Eric, thanks for suggesting GRO, it gives huge performance gain when
> receiving locally (55->95Mbps) and more than 25% gain for NAT
> (55->70Mbps).
> Also reading the datasheet more carefully I see that device rx
> descriptor status flags are interpreted incorrectly. So will provide
> an updated set.
Oh right NAPI for rx is already implemented, so using GRO is a trivial
patch.
Powered by blists - more mailing lists