xdp-newbies.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to use AF_XDP in media connections
@ 2022-01-19  2:18 Roberts Tyrion
  0 siblings, 0 replies; only message in thread
From: Roberts Tyrion @ 2022-01-19  2:18 UTC (permalink / raw)
  To: xdp-newbies

Hi XDP experts,

Recently our team is trying to use AF_XDP to improve our socket
performance in media servers, which will spend 50%+ CPU resources in
socket send and recv functions. However, we still hear the different
voices that VPP/DPDK is one better option. I read many documents, and
found that if applications don’t attach packages, DPDK is better, and
if applications will process packages, XDP will approach the
performance of DPDK. For our applications, servers will create
hundreds of sockets to receive h264 streams, and send out these
streams into the different sockets. Based on the above descriptions,
do you think which solution is better one?

Another question is about AF_XDP usage: by this document,
https://www.kernel.org/doc/html/latest/networking/af_xdp.html

We need to use ethtool to map the ingress port and egress port, but
our application can create socket connections randomly, how to use
af_xdp to resolve this problem.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-19  2:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19  2:18 How to use AF_XDP in media connections Roberts Tyrion

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).