Thread (17 messages) 17 messages, 7 authors, 2021-02-27

Re: [PATCH bpf-next v4 1/2] bpf, xdp: make bpf_redirect_map() a map operation

flat view

From: Jesper Dangaard Brouer <hidden>
Date: 2021-02-26 14:28:55
Also in: bpf

On Fri, 26 Feb 2021 12:40:33 +0100
Björn Töpel [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help