[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210226152710.31a6f26e@carbon>
Date: Fri, 26 Feb 2021 15:27:10 +0100
From: Jesper Dangaard Brouer <jbrouer@...hat.com>
To: Björn Töpel <bjorn.topel@...el.com>
Cc: Toke Høiland-Jørgensen <toke@...hat.com>,
Björn Töpel <bjorn.topel@...il.com>,
ast@...nel.org, daniel@...earbox.net, netdev@...r.kernel.org,
bpf@...r.kernel.org, maciej.fijalkowski@...el.com, hawk@...nel.org,
magnus.karlsson@...el.com, john.fastabend@...il.com,
kuba@...nel.org, davem@...emloft.net
Subject: Re: [PATCH bpf-next v4 1/2] bpf, xdp: make bpf_redirect_map() a map
operation
On Fri, 26 Feb 2021 12:40:33 +0100
Björn Töpel <bjorn.topel@...el.com> wrote:
> @Jesper Do you have a CPUMAP benchmark that you can point me to? I just
> did functional testing for CPUMAP
I usually just use the xdp_redirect_cpu samples/bpf program.
Your optimization will help the RX enqueue side, but the bottleneck for
CPUMAP is the remote CPU dequeue. You should still be able to see that
RX-side performance improve, and that should be enough (even-though
packets are dropped before reaching remote CPU). I'm not going to ask
you to test scale out to more CPUs.
--
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