Efficient and Accurate Flow Record Collection With HashFlow
- 26 July 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 33 (5) , 1069-1083
Abstract
Traditional tools like NetFlow face great challenges as both the speed and the complexity of the network traffic increase. To keep the pace up, we propose HashFlow for more efficient and accurate collection of flow records. HashFlow keeps large flows in its main flow table and uses an ancillary table to summarize the other flows when the main table is full. With our flow collision resolution and flow record promotion schemes, a flow in the ancillary table is promoted back to the main flow table with a guaranteed probability when it becomes large enough. These operations can be performed highly efficiently, so HashFlow can keep up with ultra-high traffic speed. We implement HashFlow in a Tofino switch, and using traces from different operational networks, we compare its performance against some state-of-the-art flow measurement algorithms. Our experiments show that, for various types of traffic analysis applications, HashFlow consistently demonstrates clearly better performance than its competitors. For example, the performance of HashFlow in flow size estimation, flow size distribution estimation and heavy hitter detection is up to 21, 60 and 35 percent better than those of the best competitors respectively, and these merits of HashFlow come with almost no degradation of throughput.Keywords
Funding Information
- National Key Research and Development Program of China (2018YFB1800401)
- National Natural Science Foundation of China (61972189, 62002009)
This publication has 28 references indexed in Scilit:
- Heavy-Hitter Detection Entirely in the Data Plane2017
- One Sketch to Rule Them All2016
- More load, more differentiation — A design principle for deadline-aware congestion control2015
- Hierarchical Heavy Hitters with the Space Saving Algorithm2012
- Analysis of the impact of sampling on NetFlow traffic classificationComputer Networks, 2011
- Building a better NetFlow2004
- Sampling for Passive Internet Measurement: A ReviewStatistical Science, 2004
- Cuckoo hashingJournal of Algorithms, 2004
- An Improved Data Stream Summary: The Count-Min Sketch and Its Applications2004
- Finding Frequent Items in Data Streams2002