CubeTrace: Microscopic Network Tracing for Heterogeneous Cloud Gateways
Yunming Xiao, Yinchao Yang, Jiaqi Zheng, Xuqian Li, Dongbo Gu, Jun Zhang, Miantao Wan, Chao Pei, Chen Tian, Mingwei Xu, Ang Chen, Congcong Miao
Abstract
Modern cloud gateways have evolved to include diverse network functions and heterogeneous hardware, such as programmable switches and FPGAs, to handle increasing workloads and minimize forwarding latency. Existing network tracing tools, however, operate primarily at device granularity and cannot pinpoint which function on which hardware component causes packet losses or latency spikes. To bridge this gap, we present CubeTrace, a unified, function-level flow tracing system that enables microscopic tracing inside heterogeneous cloud gateways. CubeTrace standardizes tracing units as cubes across different hardware platforms, regardless of their varied underlying implementations, and operates at flow granularity for reliability reasons. This introduces a new tracing abstraction for heterogeneous gateways while maintaining low overhead. Moreover, the collected flow-cube data by CubeTrace can be decoded into packet-level representations and integrated with well-established distributed tracing frameworks, enabling the use of off-the-shelf analysis tools. Our evaluations demonstrate that CubeTrace introduces minimal overhead, consuming less than 1% of memory resources and adding less than 1% to forwarding latency. Having been deployed in a large-scale cloud gateway, Cu-beTrace has significantly improved problem localization, reducing resolution times from hours or even days to just minutes.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext ca6b7602-00d8-4bfa-8754-c5ebb4815290Builds on18
- Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservicesZhipeng Jia, Emmett WitchelASPLOS 2021 · 218 citations
- Caladan: Mitigating Interference at Microsecond TimescalesJoshua Fried, Zhenyuan Ruan, Amy Ousterhout, Adam BelayOSDI 2020 · 213 citations
- Understanding host network stack overheadsQizhe Cai, Shubham Chaudhary, Midhul Vuppalapati, Jaehyun Hwang et al.SIGCOMM 2021 · 150 citations
- Flow Event Telemetry on Programmable Data PlaneYu Zhou, Chen Sun, Hongqiang Harry Liu, Rui Miao et al.SIGCOMM 2020 · 139 citations
- LightGuardian: A Full-Visibility, Lightweight, In-band Telemetry System Using SketchletsYikai Zhao, Kaicheng Yang, Zirui Liu, Tong Yang et al.NSDI 2021 · 131 citations
Related papers
- VTrace: Automatic Diagnostic System for Persistent Packet Loss in Cloud-Scale Overlay NetworkChongrong Fang, Haoyu Liu, Mao Miao, Jie Ye et al.SIGCOMM 2020 · 34 citations
- VNetPath: Diagnosis of Virtual Network Failures in Virtualized Environments through Path TracingYinqin Zhao, Gaoxu Guo, Xingjian Zhang, Chang Liu et al.INFOCOM 2026
- LossLens: Robust Byte-level TCP Loss Detection at the Datacenter GatewayRui Ding, Zikang Feng, An Zhang, Yuchen Song et al.INFOCOM 2026
- MegaTE: Extending WAN Traffic Engineering to Millions of Endpoints in Virtualized CloudCongcong Miao, Zhizhen Zhong, Yunming Xiao, Feng Yang et al.SIGCOMM 2024 · 14 citations
- Foxhound: Server-Grade Observability for Network-Augmented ApplicationsLucas Castanheira, Alberto Schaeffer-Filho, Theophilus A. BensonEuroSys 2023 · 1 citation
