All of lore.kernel.org
 help / color / mirror / Atom feed
* XDP_REDIRECT forwarding speed
@ 2020-05-26  7:00 Denis Salopek
  2020-05-26  8:04 ` Jesper Dangaard Brouer
  0 siblings, 1 reply; 3+ messages in thread
From: Denis Salopek @ 2020-05-26  7:00 UTC (permalink / raw)
  To: xdp-newbies@vger.kernel.org

Hi!

I want to make sure I did everything right to make my XDP program
(simple forwarding with bpf_redirect_map) as fast as possible. Is following
advices and gotchas from this: 
https://www.mail-archive.com/netdev@vger.kernel.org/msg184139.html enough
or are there some additional/newer recommendations? I managed to get near
line-rate on my Intel X520s (on Ryzen 3700X and one queue/CPU), but not
quite 14.88 Mpps so I was wondering is there something else to speed
things up even more.

Also, are there any recommended settings/tweaks for bidirectional
forwarding? I suppose there would be a drop in performance compared to
single direction, but has anyone done any benchmarks?

Regards,
Denis

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-26 11:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-26  7:00 XDP_REDIRECT forwarding speed Denis Salopek
2020-05-26  8:04 ` Jesper Dangaard Brouer
2020-05-26 11:09   ` Denis Salopek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.