[go: nahoru, domu]

|
|
Subscribe / Log in / New account

Accelerating networking with AF_XDP

Accelerating networking with AF_XDP

Posted May 5, 2020 14:38 UTC (Tue) by f18m (subscriber, #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!


to post comments

Accelerating networking with AF_XDP

Posted Jan 22, 2023 17:15 UTC (Sun) by dankamongmen (subscriber, #35141) [Link]

irq load will be a function of how often NAPI posts from its loop, which can be controlled with sysctls.


Copyright © 2024, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds