xdp-project / xdp-tutorial

XDP tutorial
2.33k stars 563 forks source link

Linux vs xdp #258

Open Adarsh97 opened 2 years ago

Adarsh97 commented 2 years ago

What advantage xdp will give over Linux kernel in cases like sending packets, receiving packets in user space etc in terms of throughput etc Theoretically how to explain the advantage of xdp over Linux kernel ? Any comparative study is there ?

tohojo commented 2 years ago

Adarsh Sunilkumar @.***> writes:

What advantage xdp will give over Linux kernel in cases like sending packets, receiving packets in user space etc in terms of throughput etc Theoretically how to explain the advantage of xdp over Linux kernel ? Any comparative study is there ?

There's https://github.com/xdp-project/xdp-paper, but it doesn't cover AF_XDP

0xff07 commented 2 years ago

Also there's a presentation titled Low-Latency, Deterministic Networking with Standard Linux using XDP Sockets in ELCE 2019 talking about architectural aspects of AF_XDP. It also includes some benchmarks on AF_PACKET and AF_XDP.