lkml.org 
[lkml]   [2021]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 3/6] net: ocelot: pre-compute injection frame header content
Le Mon, 15 Nov 2021 06:08:00 -0800,
Jakub Kicinski <kuba@kernel.org> a écrit :

> On Mon, 15 Nov 2021 11:13:44 +0100 Clément Léger wrote:
> > Test on standard packets with UDP (iperf3 -t 100 -l 1460 -u -b 0 -c *)
> > - With pre-computed header: UDP TX: 33Mbit/s
> > - Without UDP TX: 31Mbit/s
> > -> 6.5% improvement
> >
> > Test on small packets with UDP (iperf3 -t 100 -l 700 -u -b 0 -c *)
> > - With pre-computed header: UDP TX: 15.8Mbit/s
> > - Without UDP TX: 16.4Mbit/s
> > -> 4.3% improvement
>
> Something's wrong with these numbers or I'm missing context.
> You say improvement in both cases yet in the latter case the
> new number is lower?

You are right Jakub, I swapped the last two results,

Test on small packets with UDP (iperf3 -t 100 -l 700 -u -b 0 -c *)
- With pre-computed header: UDP TX: 16.4Mbit/s
- Without UDP TX: 15.8Mbit/s
-> 4.3% improvement

--
Clément Léger,
Embedded Linux and Kernel engineer at Bootlin
https://bootlin.com

\
 
 \ /
  Last update: 2021-11-15 15:12    [W:0.087 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site