Lune

NSDI2022Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

17 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • μMon: Empowering Microsecond-level Network Monitoring with Wavelets cites FlyMon: enabling on-the-fly task reconfiguration for network measurement
  • FlyMon: enabling on-the-fly task reconfiguration for network measurement cites CocoSketch: high-performance sketch-based measurement over arbitrary partial key query
  • Stable-Sketch: A Versatile Sketch for Accurate, Fast, Web-Scale Data Stream Processing cites CocoSketch: high-performance sketch-based measurement over arbitrary partial key query
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers17

  1. CocoSketch: high-performance sketch-based measurement over arbitrary partial key queryYinda Zhang, Zaoxing Liu, Ruixin Wang, Tong Yang et al.SIGCOMM 2021 · 146 citations
  2. 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
  3. FlyMon: enabling on-the-fly task reconfiguration for network measurementHao Zheng, Chen Tian, Tong Yang, Huiping Lin et al.SIGCOMM 2022 · 52 citations
  4. μMon: Empowering Microsecond-level Network Monitoring with WaveletsHao Zheng, Chengyuan Huang, Xiangyu Han, Jiaqi Zheng et al.SIGCOMM 2024 · 26 citations
  5. Stable-Sketch: A Versatile Sketch for Accurate, Fast, Web-Scale Data Stream ProcessingWeihe Li, Paul PatrasWWW 2024 · 23 citations

Builds on2

  1. Universal Online Sketch for Tracking Heavy Hitters and Estimating Moments of Data StreamsQingjun Xiao, Zhiying Tang, Shigang ChenINFOCOM 2020 · 30 citations
  2. 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

  1. Sketchovsky: Enabling Ensembles of Sketches on Programmable SwitchesHun Namkung, Zaoxing Liu, Daehyeok Kim, Vyas Sekar et al.NSDI 2023 · 44 citations
  2. Phantom: Virtualizing Switch Register Resources for Accurate Sketch-based Network MeasurementXiang Chen, Hongyan Liu, Zhengyan Zhou, Xi Sun et al.EuroSys 2025 · 4 citations
  3. 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
  4. Toward Nearly-Zero-Error Sketching via Compressive SensingQun Huang, Siyuan Sheng, Xiang Chen, Yungang Bao et al.NSDI 2021 · 82 citations
  5. BitSense: Universal and Nearly Zero-Error Optimization for Sketch Counters with Compressive SensingRui Ding, Shibo Yang, Xiang Chen, Qun HuangSIGCOMM 2023 · 25 citations
Dusk over the sea between two cliffs drawn in fine vertical lines