Multi-core network packet steering: Difference between revisions

Content deleted Content added
OAbot (talk | contribs)
m Open access bot: url-access=subscription updated in citation with #oabot.
Citation bot (talk | contribs)
Added hdl. | Use this bot. Report bugs. | Suggested by Headbomb | #UCB_toolbar
 
(3 intermediate revisions by one other user not shown)
Line 2:
{{copyedit|reason=an encylopedic tone in the lead section|date=July 2025}}
 
[[Network packet]] steering of transmitted and received traffic for [[Multi-core_processor|multi-core architectures]] is needed in modern network computing environment, especially in [[Data_center|data centers]], where the high bandwidth and heavy loads would easily congestion a single core's [[Queueing theory|queue]].<ref name="RSS++">{{Cite book |last1=Barbette |first1=Tom |last2=Katsikas |first2=Georgios P. |last3=Maguire |first3=Gerald Q. |last4=Kostić |first4=Dejan |chapter=RSS++: Load and state-aware receive side scaling |date=2019-12-03 |title=Proceedings of the 15th International Conference on Emerging Networking Experiments and Technologies |chapter-url=https://dl.acm.org/doi/10.1145/3359989.3365412 |series=CoNEXT '19 |pages=318–333 |___location=New York, NY, USA |publisher=Association for Computing Machinery |doi=10.1145/3359989.3365412 |hdl=2078.1/262641 |isbn=978-1-4503-6998-5 }}</ref>
[[File:Simple NIC and cores architecture.png|thumb|upright=1.7|Simple graph showing the path receiving packets need to travel to reach the cores' queues]]
For this reason many techniques, both in hardware and in software, are leveraged in order to distribute the incoming load of packets across the cores of the [[Central processing unit|processor]].
Line 31:
== Software techniques ==
Software techniques like RPS and RFS employ one of the CPU cores to steer incoming packets across the other cores of the processor. This comes at the cost of introducing additional [[Inter-processor interrupt|inter-processor interrupts (IPIs)]]; however the number of hardware interrupts will not increase and potentially, by employing an [[Interrupt coalescing|interrupt aggregation]] technique, it could even be reduced.<ref name="RPS kernel linux docs">{{Cite web|title=RPS kernel linux docs|url=https://www.kernel.org/doc/html/v5.1/networking/scaling.html#rps-receive-packet-steering|access-date=2025-07-08|website=kernel.org|publisher=The Linux Kernel documentation|language=en-US}}</ref><br>
The benefits of a software solutions is the ease in implementation, without having to change any component (like the [[Network_interface_controller|NIC]]) of the currently used architecture, but by simply deploying the proper [[Loadable kernel module|kernel module]]. This benefit can be crucial especially in cases where the server machine can't be customized or accessed (like in [[Cloud computing#Infrastructure as a service (IaaS)|cloud computing]] environment), even if the network performances could be reduced as compared the hardware supported ones.<ref name="RPS linux news (LWM)">{{Cite web|last1=Corbet |first1=Jonathan |title=RPS linux news (LWM)|url=https://lwn.net/Articles/362339/|access-date=2025-07-08|website=lwn.net|date=17 November 2009 |publisher=Linux Weekly News|language=en-US}}</ref><ref name="RPS by redhat">{{Cite web|title=RPS by redhat|url=https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/6/html/performance_tuning_guide/network-rps|access-date=2025-07-08|website=docs.redhat.com|publisher=Red Hat Documentation|language=en-US}}</ref><ref name="RFS by nvidea" />
 
=== RPS ===
Line 68:
 
== Further readings ==
* {{Cite book |last1=Enberg |first1=Pekka |last2=Rao |first2=Ashwin |last3=Tarkoma |first3=Sasu |chapter=Partition-Aware Packet Steering Using XDP and eBPF for Improving Application-Level Parallelism |date=2019-12-09 |title=Proceedings of the 1st ACM CoNEXT Workshop on Emerging in-Network Computing Paradigms |chapter-url=https://dl.acm.org/doi/10.1145/3359993.3366766 |series=ENCP '19 |pages=27–33 |___location=New York, NY, USA |publisher=Association for Computing Machinery |doi=10.1145/3359993.3366766 |hdl=10138/326309 |isbn=978-1-4503-7000-4}}
* {{Cite book |last1=Helbig |first1=Maike |last2=Kim |first2=Younghoon |chapter=IAPS: Decreasing Software-Based Packet Steering Overhead Through Interrupt Reduction |date=2025-01-01 |pages=127–130 |title=2025 International Conference on Information Networking (ICOIN) |doi=10.1109/ICOIN63865.2025.10993154 |isbn=979-8-3315-0694-0 }}
* {{Cite book |last1=Kumar |first1=Ashwin |last2=Katkam |first2=Rajneesh |last3=Chaudhary |first3=Pranav |last4=Naik |first4=Priyanka |last5=Vutukuru |first5=Mythili |chapter=AppSteer: Framework for Improving Multicore Scalability of Network Functions via Application-aware Packet Steering |date=2024-05-01 |pages=18–27 |title=2024 IEEE 24th International Symposium on Cluster, Cloud and Internet Computing (CCGrid) |doi=10.1109/CCGrid59990.2024.00012 |isbn=979-8-3503-9566-2 }}
* {{Cite journal |last1=Tyunyayev |first1=Nikita |last2=Delzotti |first2=Clément |last3=Eran |first3=Haggai |last4=Barbette |first4=Tom |date=2025-06-09 |title=ASNI: Redefining the Interface Between SmartNICs and Applications |url=https://dl.acm.org/doi/10.1145/3730966 |journal=Proc. Proceedings of the ACM Netw.on Networking|volume=3 |issue=CoNEXT2 |pages=1–22 |doi=10.1145/3730966|url-access=subscription }}
 
== External links ==