Sketchovsky: Enabling Ensembles of Sketches on Programmable Switches
Hun Namkung, Zaoxing Liu, Daehyeok Kim, Vyas Sekar, Peter Steenkiste
Abstract
Network operators need to run diverse measurement tasks on programmable switches to support management decisions (e.g., traffic engineering or anomaly detection). While prior work has shown the viability of running a single sketch instance, they largely ignore the problem of running an ensemble of sketch instances for a collection of measurement tasks. As such, existing efforts fall short of efficiently supporting a general ensemble of sketch instances. In this work, we present the design and implementation of Sketchovsky, a novel crosssketch optimization and composition framework. We identify five new cross-sketch optimization building blocks to reduce critical switch hardware resources. We design efficient heuristics to select and apply these building blocks for arbitrary ensembles. To simplify developer effort, Sketchovsky automatically generates the composed code to be input to the hardware compiler. Our evaluation shows that Sketchovsky makes ensembles with up to 18 sketch instances become feasible and can reduce up to 45% of the critical hardware resources.
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 583aa150-0fa6-44d7-a690-84dbea07e558Cited by top-tier papers7
- M5: Mastering Page Migration and Memory Management for CXL-based Tiered Memory SystemsYan Sun, Jongyul Kim, Zeduo Yu, Jiyuan Zhang et al.ASPLOS 2025 · 27 citations
- Effective Network-Wide Traffic Measurement: A Lightweight Distributed Sketch DeploymentFuliang Li, Kejun Guo, Jiaxing Shen, Xingwei WangINFOCOM 2024 · 14 citations
- When P4 Meets Run-to-completion ArchitectureHao Zheng, Xin Yan, Wenbo Li, Jiaqi Zheng et al.NSDI 2025 · 5 citations
- Remote TCP Connection Offload and ApplicationsShuo Li, Steven W. D. Chien, Tianyi Gao, Michio HondaNSDI 2026 · 3 citations
- HeavyLocker: Lock Heavy Hitters in Distributed Data StreamsQilong Shi, Xirui Li, Hanyue Zheng, Tong Yang et al.KDD 2025 · 2 citations
Builds on7
- Jaqen: A High-Performance Switch-Native Approach for Detecting and Mitigating Volumetric DDoS Attacks with Programmable SwitchesZaoxing Liu, Hun Namkung, Georgios Nikolaidis, Jeongkeun Lee et al.USENIX Security 2021 · 221 citations
- CocoSketch: high-performance sketch-based measurement over arbitrary partial key queryYinda Zhang, Zaoxing Liu, Ruixin Wang, Tong Yang et al.SIGCOMM 2021 · 146 citations
- Composing Dataplane Programs with μP4Hardik Soni, Myriana Rifai, Praveen Kumar, Ryan Doenges et al.SIGCOMM 2020 · 54 citations
- FlyMon: enabling on-the-fly task reconfiguration for network measurementHao Zheng, Chen Tian, Tong Yang, Huiping Lin et al.SIGCOMM 2022 · 52 citations
- Switch Code Generation Using Program SynthesisXiangyu Gao, Taegyun Kim, Michael D. Wong, Divya Raghunathan et al.SIGCOMM 2020 · 51 citations
Related papers
- SketchLib: Enabling Efficient Sketch-based Monitoring on Programmable SwitchesHun Namkung, Zaoxing Liu, Daehyeok Kim, Vyas Sekar et al.NSDI 2022
- HeteroSketch: Coordinating Network-wide Monitoring in Heterogeneous and Dynamic NetworksAnup Agarwal, Zaoxing Liu, Srinivasan SeshanNSDI 2022
- MC-Sketch: Enabling Heterogeneous Network Monitoring Resolutions with Multi-Class SketchKate Ching-Ju Lin, Wei-Lun LaiINFOCOM 2022 · 17 citations
- PatternSketch: General and Runtime Reconfigurable Time-series Network Traffic Pattern DetectionYang Du, Dan Wang, He Huang, Hanwen Zhang et al.EuroSys 2026
- SketchPipe: Toward Accurate Sketch-based Network Measurement on Multi-Pipeline Switches with Splitless Sketch PlacementXiang Chen, Longlong Zhu, Linying Zheng, Hongyang Du et al.NSDI 2026
