How to use AF_XDP in media connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux