Re: [net, 3/6] net: korina: increase tx/rx ring sizes

2017-01-19 Thread Eric Dumazet
On Thu, 2017-01-19 at 12:55 +0200, Roman Yeryomin wrote: > On 17 January 2017 at 21:20, Eric Dumazet 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

Re: [net, 3/6] net: korina: increase tx/rx ring sizes

2017-01-19 Thread Roman Yeryomin
On 17 January 2017 at 21:20, Eric Dumazet wrote: > On Tue, 2017-01-17 at 20:27 +0200, Roman Yeryomin wrote: >> On 17 January 2017 at 19:58, David Miller wrote: >> > From: Roman Yeryomin >> > Date: Tue, 17 Jan 2017 19:32:36

Re: [net, 3/6] net: korina: increase tx/rx ring sizes

2017-01-17 Thread Eric Dumazet
On Tue, 2017-01-17 at 20:27 +0200, Roman Yeryomin wrote: > On 17 January 2017 at 19:58, David Miller wrote: > > From: Roman Yeryomin > > Date: Tue, 17 Jan 2017 19:32:36 +0200 > > > >> Having larger ring sizes almost eliminates rx fifo overflow, thus >

Re: [net, 3/6] net: korina: increase tx/rx ring sizes

2017-01-17 Thread David Miller
From: Roman Yeryomin Date: Tue, 17 Jan 2017 20:27:57 +0200 > On 17 January 2017 at 19:58, David Miller wrote: >> From: Roman Yeryomin >> Date: Tue, 17 Jan 2017 19:32:36 +0200 >> >>> Having larger ring sizes almost eliminates rx

Re: [net, 3/6] net: korina: increase tx/rx ring sizes

2017-01-17 Thread Roman Yeryomin
On 17 January 2017 at 19:58, David Miller wrote: > From: Roman Yeryomin > Date: Tue, 17 Jan 2017 19:32:36 +0200 > >> Having larger ring sizes almost eliminates rx fifo overflow, thus improving >> performance. >> This patch reduces rx overflow

Re: [net, 3/6] net: korina: increase tx/rx ring sizes

2017-01-17 Thread David Miller
From: Roman Yeryomin Date: Tue, 17 Jan 2017 19:32:36 +0200 > Having larger ring sizes almost eliminates rx fifo overflow, thus improving > performance. > This patch reduces rx overflow occurence by approximately 1000 times (from > ~25k down to ~25 times per 3M frames)

[net, 3/6] net: korina: increase tx/rx ring sizes

2017-01-17 Thread Roman Yeryomin
Having larger ring sizes almost eliminates rx fifo overflow, thus improving performance. This patch reduces rx overflow occurence by approximately 1000 times (from ~25k down to ~25 times per 3M frames) Signed-off-by: Roman Yeryomin --- drivers/net/ethernet/korina.c | 4 ++-- 1