[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPhsuW61ov7CB3UZ2KmNdh5ugyTcKdGob6JovPXr60funqC+Og@mail.gmail.com>
Date: Thu, 11 Apr 2019 10:45:12 -0700
From: Song Liu <liu.song.a23@...il.com>
To: Jesper Dangaard Brouer <brouer@...hat.com>
Cc: Networking <netdev@...r.kernel.org>,
Daniel Borkmann <borkmann@...earbox.net>,
Alexei Starovoitov <alexei.starovoitov@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Ilias Apalodimas <ilias.apalodimas@...aro.org>,
bpf <bpf@...r.kernel.org>,
Toke Høiland-Jørgensen <toke@...e.dk>,
Edward Cree <ecree@...arflare.com>
Subject: Re: [PATCH bpf-next 0/5] Bulk optimization for XDP cpumap redirect
On Thu, Apr 11, 2019 at 6:18 AM Jesper Dangaard Brouer
<brouer@...hat.com> wrote:
>
> On Wed, 10 Apr 2019 16:36:40 -0700
> Song Liu <liu.song.a23@...il.com> wrote:
>
> > On Wed, Apr 10, 2019 at 6:00 AM Jesper Dangaard Brouer
> > <brouer@...hat.com> wrote:
> > >
> > > This patchset utilize a number of different kernel bulk APIs for optimizing
> > > the performance for the XDP cpumap redirect feature.
> >
> > Could you please share some numbers about the optimization?
>
> I've documented ALL the details here:
> https://github.com/xdp-project/xdp-project/blob/master/areas/cpumap/cpumap02-optimizations.org
Thanks for the results! Please consider adding the results somewhere.
>
> I seem to have found that the SKB-list approach is not a performance
> advantage, which is very surprising. BUT it might still be due to
> invalid benchmarking, as I found that F27 behind my back is auto-loading
> iptables-filter modules, which change performance. Thus, I have to
> redo a lot of the tests...
>
> I'm considering removing the SKB-list patch from the patchset, as all
> other patches show a performance increase/improvement. Then we can
> merge that, and then I can focus on SKB-list approach in another
> patchset. BUT as I said above, I might have wrong/invalid
> measurements... I have to retest before I concluded anything...
So we will wait for the new results?
Thanks,
Song
>
> --
> Best regards,
> Jesper Dangaard Brouer
> MSc.CS, Principal Kernel Engineer at Red Hat
> LinkedIn: http://www.linkedin.com/in/brouer
Powered by blists - more mailing lists