Home Science Waiting at the front door: Continuous monitoring of...
Science

Waiting at the front door: Continuous monitoring of latency in the host network stack

Key Points

arXiv:2606.02057v1 Announce Type: new Abstract: With networking moving into the sub-millisecond latency domain, latency in the end host itself can become a significant barrier to achieving consistently low application latency. Both the physical interconnect between the network card and the CPU, the kernel network stack, and the scheduling of applications themselves can be considerable sources of latency.

arXiv:2606.02057v1 Announce Type: new Abstract: With networking moving into the sub-millisecond latency domain, latency in the end host itself can become a significant barrier to achieving consistently low application latency. Both the physical interconnect between the network card and the CPU, the kernel network stack, and the scheduling of applications themselves can be considerable sources of latency. Previous work has studied host latency at various levels, yet there remains a lack of methods and tools to continuously monitor host latency in production. To remedy this, we present netstacklat, a monitoring tool that captures latency at several points in the host network, from the early parts of the Linux kernel network stack all the way until the application reads the data. We evaluate netstacklat in a testbed, demonstrating its ability to capture host latency across 144 variations of HTTP workloads for Nginx and Apache, while also showing how the low monitoring overhead does not inflate tail latency by more than 6%, where previous monitoring solutions increase it by over 100%. Furthermore, we share our initial findings from deploying netstacklat in Cloudflare's global CDN network.
arXiv:2606.02057v1 (ORG) CPU (ORG) Linux (ORG) Nginx (ORG) Cloudflare (ORG) CDN (ORG)
Originally published by arXiv CS Read original →