Accelerating networking with AF_XDP
Accelerating networking with AF_XDP
Posted May 5, 2020 14:38 UTC (Tue) by f18m (guest, #133856)Parent article: Accelerating networking with AF_XDP
Hi Jonathan,
Thanks for this very interesting article.
One question though: is AF_XDP still hindered by interrupts? I mean in high-performance applications the "ksoftirqd" thread will jump up to 100% of CPU usage in scenarios where you're receiving a lot of packets per second... on 100Gbps the theoretical max is 148 MPPS... unless you use DPDK framework, which does use polling instead of interrupts, you will never achieve that PPS rates on Linux. Is AF_XDP using a polling mechanism or relies on interrupts?
Thanks for this very interesting article.
One question though: is AF_XDP still hindered by interrupts? I mean in high-performance applications the "ksoftirqd" thread will jump up to 100% of CPU usage in scenarios where you're receiving a lot of packets per second... on 100Gbps the theoretical max is 148 MPPS... unless you use DPDK framework, which does use polling instead of interrupts, you will never achieve that PPS rates on Linux. Is AF_XDP using a polling mechanism or relies on interrupts?
Thanks!
Posted Jan 22, 2023 17:15 UTC (Sun)
by dankamongmen (subscriber, #35141)
[Link]
Accelerating networking with AF_XDP
irq load will be a function of how often NAPI posts from its loop, which can be controlled with sysctls.