Advanced Search
Volume 47 Issue 6
Jun.  2025
Turn off MathJax
Article Contents
GAO Guoju, ZHOU Shaolong, SUN Yu-E, HUANG He. Priority-aware Per-flow Size Measurement in High-speed Networks[J]. Journal of Electronics & Information Technology, 2025, 47(6): 1885-1895. doi: 10.11999/JEIT240834
Citation: GAO Guoju, ZHOU Shaolong, SUN Yu-E, HUANG He. Priority-aware Per-flow Size Measurement in High-speed Networks[J]. Journal of Electronics & Information Technology, 2025, 47(6): 1885-1895. doi: 10.11999/JEIT240834

Priority-aware Per-flow Size Measurement in High-speed Networks

doi: 10.11999/JEIT240834 cstr: 32379.14.JEIT240834
Funds:  The National Natural Science Foundation of China (62332013, 62472298), China Postdoctoral Science Foundation (2023M732537)
  • Received Date: 2024-10-08
  • Rev Recd Date: 2025-05-02
  • Available Online: 2025-05-24
  • Publish Date: 2025-06-30
  •   Objective  Network traffic measurement is essential for supporting applications such as anomaly detection and capacity planning. With growing demand for flow-level analysis, traffic measurement technologies are facing increasing performance requirements. In typical network environments, a flow comprises packets sharing a common five-tuple (including source/destination IP address, source/destination port, and protocol). Measuring per-flow size presents three core challenges: high data volume, fast transmission rates, and limited on-chip memory. Sketch-based data structures offer an effective trade-off among memory efficiency, query speed, and measurement accuracy, and have been widely adopted for tasks such as per-flow size estimation, cardinality estimation, persistent flow detection, and burst detection. However, the rising need for differentiated traffic handling has highlighted the limitations of traditional Sketches, which treat all flows uniformly. Existing priority-aware Sketches often fail to maintain both high accuracy for high-priority flows and overall system throughput. To address this gap, this study proposes EssentialKeeper, a priority-aware algorithm that combines priority-sensitive hashing with Cuckoo Hashing. The proposed method ensures accurate measurement for high-priority flows while maintaining efficient system-wide performance. This approach supports differentiated traffic measurement in high-speed networks and contributes both theoretical insights and practical value.  Methods  In practical networks, different traffic types have distinct requirements for measurement accuracy. For example, suspicious or malicious flows require high-precision measurement for security monitoring, whereas latency-sensitive services such as real-time video streaming demand continuous tracking to maintain service quality. To accommodate these varying demands, several priority-aware Sketch algorithms have been proposed. These typically partition memory into high- and low-priority regions, assigning different levels of accuracy according to flow priority. All incoming traffic first passes through the high-priority region, where high-priority flows are retained, whereas others are redirected with degraded measurement accuracy. This architecture, however, presents performance challenges. Because low-priority flows constitute the majority of network traffic, they still traverse the high-priority region, incurring additional hash computations and memory access overhead. This overhead substantially lowers throughput. Algorithms such as MC-Sketch and Cuckoo Sketch are particularly affected. Although PA-Sketch introduces priority-aware hashing to reduce the processing load for low-priority flows, it compromises measurement accuracy for medium-priority flows, limiting its practical utility. To address these limitations, this study proposes EssentialKeeper, a new Sketch algorithm for efficient priority-aware traffic measurement under constrained memory conditions. The algorithm combines priority-aware hashing with Cuckoo Hashing. For high-priority flows, it dynamically allocates more hash functions and candidate buckets, using Cuckoo hashing’s "kick-out and relocate" mechanism to enhance measurement precision. For low-priority flows, it employs an optimized Count-Sketch (CS-Sketch) structure to ensure fast processing. This hybrid design sustains high throughput while ensuring accurate tracking of high-priority traffic, thereby resolving the speed-accuracy trade-off that limits existing approaches.  Results and Discussions  This study evaluates EssentialKeeper using the real-world CAIDA-2019 traffic dataset and a network interaction dataset derived from Stack Overflow. Performance is assessed under different priority allocation strategies—random and size-based—and across a range of memory configurations. Optimal algorithm parameters are determined through systematic tuning (Fig. 35). Compared with existing priority-aware Sketches, EssentialKeeper demonstrates substantial improvements across three key metrics. Under the random priority allocation strategy, the average relative error for high-priority flows decreases by 63.2%, while the F1-score increases by 14.8% (Fig. 6, Fig. 7). With size-based priority allocation, the error is reduced by 53.8%, and the F1-score improves by 11.8% (Fig. 8, Fig. 9). Additionally, EssentialKeeper achieves a 10.8% increase in throughput (Fig. 10), while maintaining lower memory overhead. These results highlight the effectiveness of EssentialKeeper in supporting accurate and efficient priority-aware traffic measurement in high-speed network environments.  Conclusions  This study proposes EssentialKeeper, a novel algorithm for priority-aware traffic measurement in high-speed networks. By enhancing the structure of existing priority-aware Sketches, the algorithm enables accurate, differentiated measurement based on flow priority. It combines the efficient conflict resolution of Cuckoo Hashing with the adaptive precision of priority-aware hashing, thereby improving measurement accuracy for high-priority flows while sustaining high throughput for low-priority traffic. Experimental results demonstrate that EssentialKeeper reduces the average relative error of high-priority flows by 58.5%, increases the F1-score by 13.3%, and improves overall system throughput by 10.8% compared to the best existing approaches, achieving a favorable trade-off between speed and accuracy. Despite these advances, several challenges remain. One is the integration with sampling algorithms. Since high-priority flows often carry more critical information, future work could explore dynamic sampling strategies that retain high-priority packets while selectively discarding lower-priority traffic. This hybrid approach may further reduce system overhead without compromising measurement precision. Another direction is task generalization. Beyond per-flow size and cardinality estimation, other core measurement tasks—such as persistent flow detection and burst detection—may benefit from priority-aware techniques. Extending EssentialKeeper to support these applications would broaden its utility. Finally, current experiments are conducted in a CPU-based environment. However, practical deployment in production networks may require adaptation to hardware platforms such as P4 switches or FPGAs, which impose tighter resource constraints. Future research should focus on implementing and optimizing priority-aware Sketch algorithms for hardware deployment to assess feasibility and facilitate real-world adoption.
  • loading
  • [1]
    CISCO. Cisco annual internet report (2018–2023) white paper[EB/OL]. https://www.cisco.com/c/en/us/solutions/collateral/executive-perspectives/annual-internet-report/white-paper-c11-741490.html, 2020.
    [2]
    ZHAO Yikai, ZHOU Wei, HAN Wenchen, et al. Achieving top-K K-fairness for finding global top-K K frequent items[J]. IEEE Transactions on Knowledge and Data Engineering, 2025, 37(4): 1508–1526. doi: 10.1109/TKDE.2024.3523033.
    [3]
    LI Yuanpeng, WANG Feiyu, YU Xiang, et al. LadderFilter: Filtering infrequent items with small memory and time overhead[J]. Proceedings of the ACM on Management of Data, 2023, 1(1): 10. doi: 10.1145/3588690.
    [4]
    YANG Tong, JIANG Jie, LIU Peng, et al. Elastic sketch: Adaptive and fast network-wide measurements[C]. The 2018 Conference of the ACM Special Interest Group on Data Communication, Budapest, Hungary, 2018: 561–575. doi: 10.1145/3230543.3230544.
    [5]
    YANG Tong, ZHANG Haowei, LI Jinyang, et al. HeavyKeeper: An accurate algorithm for finding top-k elephant flows[J]. IEEE/ACM Transactions on Networking, 2019, 27(5): 1845–1858. doi: 10.1109/TNET.2019.2933868.
    [6]
    CHENG Shiyu, YANG Dongsheng, YANG Tong, et al. LTC: A fast algorithm to accurately find significant items in data streams[J]. IEEE Transactions on Knowledge and Data Engineering, 2022, 34(9): 4342–4356. doi: 10.1109/TKDE.2020.3038911.
    [7]
    DU Yang, HUANG He, SUN Y E, et al. Self-adaptive sampling based per-flow traffic measurement[J]. IEEE/ACM Transactions on Networking, 2023, 31(3): 1010–1025. doi: 10.1109/TNET.2022.3212066.
    [8]
    ZHANG Yinda, LI Jinyang, LEI Yutian, et al. On-off sketch: A fast and accurate sketch on persistence[J]. Proceedings of the VLDB Endowment, 2020, 14(2): 128–140. doi: 10.14778/3425879.3425884.
    [9]
    WANG Haibo, MELISSOURGOS D, MA Chaoyi, et al. Real-time spread burst detection in data streaming[J]. Proceedings of the ACM on Measurement and Analysis of Computing Systems, 2023, 7(2): 35. doi: 10.1145/3589979.
    [10]
    LIN K C J and LAI Weilun. MC-sketch: Enabling heterogeneous network monitoring resolutions with multi-class sketch[C]. IEEE INFOCOM 2022 - IEEE Conference on Computer Communications, London, United Kingdom, 2022: 220–229. doi: 10.1109/INFOCOM48880.2022.9796955.
    [11]
    YAN Yibo, CHEN Cheng, LIN Huiping, et al. Priority-aware per-flow measurement using cuckoo Sketch[C]. 2020 IFIP Networking Conference (Networking), Paris, France, 2020: 622–624.
    [12]
    LI Sitan, HUANG Jiawei, ZHANG Wenlu, et al. PA-sketch: A fast and accurate sketch for differentiated flow estimation[C]. 2023 IEEE 31st International Conference on Network Protocols (ICNP), Reykjavik, Iceland, 2023: 1–11. doi: 10.1109/ICNP59255.2023.10355581.
    [13]
    MINTON G T and PRICE E. Improved concentration bounds for count-sketch[C]. The Twenty-Fifth Annual ACM-SIAM Symposium on Discrete Algorithms, Portland, Oregon, 2014: 669–686. doi: 10.5555/2634074.2634125.
    [14]
    TING D. Count-min: Optimal estimation and tight error bounds using empirical error distributions[C]. The 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, London, United Kingdom, 2018: 2319–2328. doi: 10.1145/3219819.3219975.
    [15]
    ESTAN C and VARGHESE G. New directions in traffic measurement and accounting: Focusing on the elephants, ignoring the mice[J]. ACM Transactions on Computer Systems, 2003, 21(3): 270–313. doi: 10.1145/859716.859719.
    [16]
    ZHAO Xiaolei, WEN Mei, TANG Minjin, et al. HybridSketch: A memory-centric precise approach for flow measurement[C]. ICC 2020 - 2020 IEEE International Conference on Communications (ICC), Dublin, Ireland, 2020: 1–7. doi: 10.1109/ICC40277.2020.9149374.
    [17]
    CAIDA. Anonymized internet traces 2019[EB/OL]. https://catalog.caida.org/dataset/passive_2019_pcap, 2019.
  • 加载中

Catalog

    通讯作者: 陈斌, bchen63@163.com
    • 1. 

      沈阳化工大学材料科学与工程学院 沈阳 110142

    1. 本站搜索
    2. 百度学术搜索
    3. 万方数据库搜索
    4. CNKI搜索

    Figures(10)  / Tables(5)

    Article Metrics

    Article views (190) PDF downloads(34) Cited by()
    Proportional views
    Related

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return