SketchPipe: Toward Accurate Sketch-based Network Measurement on Multi-Pipeline Switches with Splitless Sketch Placement
Xiang Chen, Longlong Zhu, Linying Zheng, Hongyang Du, Dong Zhang, Jianshan Zhang, Xuan Liu, Qun Huang, Dusit Niyato, Haifeng Zhou, Chunming Wu, Hongyan Liu, Kui Ren
摘要
Sketches compactly measure traffic statistics with limited resource usage and are compatible with high-speed multipipeline switches. Existing solutions place sketches on multipipeline switches via array-split placement that splits each sketch array into several identical slices and places each slice on a specific pipeline. However, they incur two issues that drop measurement accuracy: (1) Different slices in different pipelines redundantly measure the same flows, wasting scarce switch resources. (2) Some slices receive much higher traffic loads than other slices. Hence, the data of different slices are highly varied, making their analysis inaccurate.
We propose SketchPipe, a framework that offers accurate sketch-based measurement for multi-pipeline switches. The key ideas are two-fold. First, SketchPipe places each sketch array exclusively on a pipeline. Second, it caches the flow keys of normal packets while using synthetic state packets to asynchronously transfer cached keys to sketch arrays. As such, it avoids splitting arrays to enable accurate measurement while avoiding affecting normal packet processing. Our experiments on 12.8 Tbps Tofino2 switches show that SketchPipe improves accuracy by up to two orders of magnitude for various sketches and network monitoring applications.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- CocoSketch: high-performance sketch-based measurement over arbitrary partial key query 引用了 Jaqen: A High-Performance Switch-Native Approach for Detecting and Mitigating Volumetric DDoS Attacks with Programmable Switches
- CocoSketch: high-performance sketch-based measurement over arbitrary partial key query 引用了 Flow Event Telemetry on Programmable Data Plane
它引用的 Paper14
- Jaqen: A High-Performance Switch-Native Approach for Detecting and Mitigating Volumetric DDoS Attacks with Programmable SwitchesZaoxing Liu, Hun Namkung, Georgios Nikolaidis, Jeongkeun Lee 等USENIX Security 2021 · 221 次引用
- CocoSketch: high-performance sketch-based measurement over arbitrary partial key queryYinda Zhang, Zaoxing Liu, Ruixin Wang, Tong Yang 等SIGCOMM 2021 · 146 次引用
- Flow Event Telemetry on Programmable Data PlaneYu Zhou, Chen Sun, Hongqiang Harry Liu, Rui Miao 等SIGCOMM 2020 · 139 次引用
- TEA: Enabling State-Intensive Network Functions on Programmable SwitchesDaehyeok Kim, Zaoxing Liu, Yibo Zhu, Changhoon Kim 等SIGCOMM 2020 · 121 次引用
- Flightplan: Dataplane Disaggregation and Placement for P4 ProgramsNik Sultana, John Sonchack, Hans Giesen, Isaac Pedisich 等NSDI 2021 · 95 次引用
相关 Paper
- Phantom: Virtualizing Switch Register Resources for Accurate Sketch-based Network MeasurementXiang Chen, Hongyan Liu, Zhengyan Zhou, Xi Sun 等EuroSys 2025 · 4 次引用
- A Robust Counting Sketch for Data Plane Intrusion DetectionSian Kim, Changhun Jung, RhongHo Jang, David Mohaisen 等NDSS 2023
- OctoSketch: Enabling Real-Time, Continuous Network Monitoring over Multiple CoresYinda Zhang, Peiqing Chen, Zaoxing LiuNSDI 2024 · 18 次引用
- MC-Sketch: Enabling Heterogeneous Network Monitoring Resolutions with Multi-Class SketchKate Ching-Ju Lin, Wei-Lun LaiINFOCOM 2022 · 17 次引用
- Sketchovsky: Enabling Ensembles of Sketches on Programmable SwitchesHun Namkung, Zaoxing Liu, Daehyeok Kim, Vyas Sekar 等NSDI 2023 · 44 次引用
