SketchPipe: Toward Accurate Sketch-based Network Measurement on Multi-Pipeline Switches with Splitless Sketch Placement

Xiang Chen, Longlong Zhu, and Linying Zheng, Zhejiang University; Hongyang Du, The University of Hong Kong; Dong Zhang, Fuzhou University; Jianshan Zhang, Minjiang University; Xuan Liu, Yangzhou University; Qun Huang, Peking University; Dusit Niyato, Nanyang Technological University; Haifeng Zhou and Chunming Wu, Zhejiang University; Hongyan Liu, Fuzhou University; Kui Ren, Zhejiang University

Sketches compactly measure traffic statistics with limited resource usage and are compatible with high-speed multi-pipeline switches. Existing solutions place sketches on multi-pipeline 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.

NSDI '26 Open Access Sponsored by
King Abdullah University of Science and Technology (KAUST)

Open Access Media

USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.

BibTeX
@inproceedings {316588,
author = {Xiang Chen and Longlong Zhu and Linying Zheng and Hongyang Du and Dong Zhang and Jianshan Zhang and Xuan Liu and Qun Huang and Dusit Niyato and Haifeng Zhou and Chunming Wu and Hongyan Liu and Kui Ren},
title = {{SketchPipe}: Toward Accurate Sketch-based Network Measurement on {Multi-Pipeline} Switches with Splitless Sketch Placement},
booktitle = {23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI 26)},
year = {2026},
isbn = {978-1-939133-54-0},
address = {Renton, WA},
pages = {899--914},
url = {https://www.usenix.org/conference/nsdi26/presentation/chen-xiang},
publisher = {USENIX Association},
month = may
}

Presentation Video