Self-Adaptive Sampling for Network Traffic Measurement
Authors:
- 10 May 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-10
Abstract
Per-flow traffic measurement in the high-speed network plays an important role in many practical applications. Due to the limited on-chip memory and the mismatch between off-chip memory speed and line rate, sampling-based methods select and forward a part of flow traffic to off-chip memory, complementing sketch-based solutions in estimation accuracy and online query support. However, most current work uses the same sampling probability for all flows, overlooking that the sampling rates different flows require to meet the same accuracy constraint are different. It leads to a waste in storage and communication resources. In this paper, we present self-adaptive sampling, a framework to sample each flow with a probability adapted to flow size/spread. Then we propose two algorithms, SAS-LC and SAS-LOG, which are geared towards per-flow spread estimation and per-flow size estimation by using different compression functions. Experimental results based on real Internet traces show that, when compared to NDS in per-flow spread estimation, SAS-LC can save around 10% on-chip space and reduce up to 40% communication cost for large flows. Moreover, SAS-LOG can save 40% on-chip space and reduce up to 96% communication cost for large flows than NDS in per-flow size estimation.Keywords
Funding Information
- National Natural Science Foundation of China
This publication has 35 references indexed in Scilit:
- An adaptive flow counting method for anomaly detection in SDN2013
- Discount Counting for Fast Flow Statistics on Flow Size and Flow VolumeIEEE/ACM Transactions on Networking, 2013
- HyperLogLog in practice2013
- Counter braidsACM SIGMETRICS Performance Evaluation Review, 2008
- Probabilistic lossy countingACM SIGCOMM Computer Communication Review, 2008
- Learn More, Sample Less: Control of Volume and Variance in Network MeasurementIEEE Transactions on Information Theory, 2005
- Flow sampling under hard resource constraintsACM SIGMETRICS Performance Evaluation Review, 2004
- ACCEL-RATEACM SIGMETRICS Performance Evaluation Review, 2004
- New directions in traffic measurement and accountingACM Transactions on Computer Systems, 2003
- A linear-time probabilistic counting algorithm for database applicationsACM Transactions on Database Systems, 1990