SketchLib: Enabling Efficient Sketch-based Monitoring on Programmable Switches
Hun Namkung, Zaoxing Liu, Daehyeok Kim, Vyas Sekar, Peter Steenkiste
Abstract
Sketching algorithms or sketches enable accurate network measurement results with low resource footprints. While emerging programmable switches are an attractive target to get these benefits, current implementations of sketches are either inefficient and/or infeasible on hardware. Our contributions in the paper are: (1) systematically analyzing the resource bottlenecks of existing sketch implementations in hardware; (2) identifying practical and correct-by-construction optimization techniques to tackle the identified bottlenecks; and
(3) designing an easy-to-use library called SketchLib to help developers efficiently implement their sketch algorithms in switch hardware to benefit from these resource optimizations. Our evaluation on state-of-the-art sketches demonstrates that SketchLib reduces the hardware resource footprint up to 96% without impacting fidelity.
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 78b584e5-0b2c-415c-834d-4b2fae1330dcCited by top-tier papers17
- CocoSketch: high-performance sketch-based measurement over arbitrary partial key queryYinda Zhang, Zaoxing Liu, Ruixin Wang, Tong Yang et al.SIGCOMM 2021 · 146 citations
- Brain-on-Switch: Towards Advanced Intelligent Network Data Plane via NN-Driven Traffic Analysis at Line-SpeedJinzhu Yan, Haotian Xu, Zhuotao Liu, Qi Li et al.NSDI 2024 · 60 citations
- FlyMon: enabling on-the-fly task reconfiguration for network measurementHao Zheng, Chen Tian, Tong Yang, Huiping Lin et al.SIGCOMM 2022 · 52 citations
- μMon: Empowering Microsecond-level Network Monitoring with WaveletsHao Zheng, Chengyuan Huang, Xiangyu Han, Jiaqi Zheng et al.SIGCOMM 2024 · 26 citations
- Stable-Sketch: A Versatile Sketch for Accurate, Fast, Web-Scale Data Stream ProcessingWeihe Li, Paul PatrasWWW 2024 · 23 citations
Builds on2
- Universal Online Sketch for Tracking Heavy Hitters and Estimating Moments of Data StreamsQingjun Xiao, Zhiying Tang, Shigang ChenINFOCOM 2020 · 30 citations
- Joltik: enabling energy-efficient "future-proof" analytics on low-power wide-area networksMingran Yang, Junbo Zhang, Akshay Gadre, Zaoxing Liu et al.MobiCom 2020 · 14 citations
Related papers
- Sketchovsky: Enabling Ensembles of Sketches on Programmable SwitchesHun Namkung, Zaoxing Liu, Daehyeok Kim, Vyas Sekar et al.NSDI 2023 · 44 citations
- Phantom: Virtualizing Switch Register Resources for Accurate Sketch-based Network MeasurementXiang Chen, Hongyan Liu, Zhengyan Zhou, Xi Sun et al.EuroSys 2025 · 4 citations
- Eagle: Toward Scalable and Near-Optimal Network-Wide Sketch Deployment in Network MeasurementXiang Chen, Qingjiang Xiao, Hongyan Liu, Qun Huang et al.SIGCOMM 2024 · 17 citations
- Toward Nearly-Zero-Error Sketching via Compressive SensingQun Huang, Siyuan Sheng, Xiang Chen, Yungang Bao et al.NSDI 2021 · 82 citations
- BitSense: Universal and Nearly Zero-Error Optimization for Sketch Counters with Compressive SensingRui Ding, Shibo Yang, Xiang Chen, Qun HuangSIGCOMM 2023 · 25 citations
