Lightweight Per-Flow Traffic Measurement Using Improved LRU List

Da Yao,Haibo Wang,Hongli Xu,Minli Zhang
DOI: https://doi.org/10.1109/tnse.2023.3236147
IF: 6.6
2023-01-01
IEEE Transactions on Network Science and Engineering
Abstract:Per-flow traffic measurement is extremely important for various applications, e.g., flow size distribution, flow cardinality and DDos detection. Previous works, e.g., Elastic Sketch and FlowRadar, incur massive per-packet processing overhead and/or large memory consumption. In this paper, we present a novel least-recently-used (LRU) list based solution, called LRU-TX, for lightweight and accurate per-flow traffic measurement. Different from the classic LRU list with one exit at the tail, we maintain another exit at a certain position $r$ (not the tail) in the list. Many terminated flows will be removed from the exit at position $r$ as soon as possible with their counters less than a given threshold, which helps to decrease both the amortized processing overhead and the memory consumption. We also formally analyze the impact of different parameters (e.g., the exit's position, the threshold) on the measurement performance. Experimental results and extensive simulation results show that LRU-TX can increase the throughput by 30% at least, and reduce the memory cost by 50%, compared with the state-of-the-art solutions under the same measurement error conditions.
What problem does this paper attempt to address?