Understanding Host Network Stack Latency
Tianyu Zuo, Jaehyun Hwang, Ao Tang, Rachit Agarwal, Qizhe Cai
摘要
One of the most frequently cited flaws of Linux host network stacks is their high latency—recent studies show that the Linux network stack suffers from millisecond-scale tail latency. This has motivated clean-slate solutions such as userspace stacks and specialized host networking hardware, but without understanding the true root causes of Linux tail latency, these efforts risk repeating the same pitfalls. This paper studies the root causes of tail latency in the Linux network stack and reaches a surprising conclusion: the dominant bottlenecks lie not in packet processing itself, but in how the host manages CPU resources for networking. Through extensive measurements, we identify three key factors: misattribution of processing time by CPU schedulers, limitations of CPU runtime as a fairness abstraction, and the inefficiency of interrupt tuning under unpredictable packet arrivals. We show that addressing these factors improves performance by up to 5.3× while maintaining similar throughput. Together, these results suggest that achieving low-latency networking requires rethinking host CPU scheduling and host-NIC interaction, providing new design directions for operating systems, network stacks, and future host networking hardware.
问 Lune
几分钟看清这篇 Paper 的位置,不用再花一下午。
Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
相关 Paper
- Understanding host network stack overheadsQizhe Cai, Shubham Chaudhary, Midhul Vuppalapati, Jaehyun Hwang 等SIGCOMM 2021 · 150 次引用
- Host Congestion ControlSaksham Agarwal, Arvind Krishnamurthy, Rachit AgarwalSIGCOMM 2023 · 47 次引用
- SBB: Eliminating Centralized Bottlenecks in Userspace Network RuntimeKang Hu, Shuqi Dong, Chuandong Li, Ran Yi 等OSDI 2026
- Rearchitecting Linux Storage Stack for µs Latency and High ThroughputJaehyun Hwang, Midhul Vuppalapati, Simon Peter, Rachit AgarwalOSDI 2021 · 63 次引用
- How to diagnose nanosecond network latencies in rich end-host stacksRoni Haecki, Radhika Niranjan Mysore, Lalith Suresh, Gerd Zellweger 等NSDI 2022 · 58 次引用
