{"title":"TailoredSketch: A Fast and Adaptive Sketch for Efficient Per-Flow Size Measurement","authors":"Guoju Gao;Zhaorong Qian;He Huang;Yu-E Sun;Yang Du","doi":"10.1109/TNSE.2024.3503904","DOIUrl":null,"url":null,"abstract":"Accurate and fast per-flow size traffic measurement is fundamental to some network applications, especially in face of the processing and memory constraints of switches. Sketch, a compact data structure, can output high-fidelity approximate per-flow statistics. However, most existing sketches, such as Count-Min, are trapped in the dilemma between a large counting range and memory waste, due to the highly skewed characteristics of network traffic size distribution. In this paper, we propose an adaptive counter-splicing-based sketch for per-flow size measurement, called TailoredSketch. Specifically, we divide each counter of TailoredSketch into two parts, named basic and carry-in counters. When the basic counters overflow, the carry-in counters work, and meanwhile several carry-in counters in different positions can be spliced to expand the counting range. We also incorporate sampling into TailoredSketch, where we set different sampling probabilities at each layer to distinguish between elephant and mouse flows better. In order to further increase the memory utilization of TailoredSketch, we optimize it by removing the flag bits of each counter. Extensive experiments based on the real-world dataset CAIDA show that our sketch can achieve better overall performance compared to several existing algorithms.","PeriodicalId":54229,"journal":{"name":"IEEE Transactions on Network Science and Engineering","volume":"12 1","pages":"505-517"},"PeriodicalIF":6.7000,"publicationDate":"2024-11-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Network Science and Engineering","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10759832/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Accurate and fast per-flow size traffic measurement is fundamental to some network applications, especially in face of the processing and memory constraints of switches. Sketch, a compact data structure, can output high-fidelity approximate per-flow statistics. However, most existing sketches, such as Count-Min, are trapped in the dilemma between a large counting range and memory waste, due to the highly skewed characteristics of network traffic size distribution. In this paper, we propose an adaptive counter-splicing-based sketch for per-flow size measurement, called TailoredSketch. Specifically, we divide each counter of TailoredSketch into two parts, named basic and carry-in counters. When the basic counters overflow, the carry-in counters work, and meanwhile several carry-in counters in different positions can be spliced to expand the counting range. We also incorporate sampling into TailoredSketch, where we set different sampling probabilities at each layer to distinguish between elephant and mouse flows better. In order to further increase the memory utilization of TailoredSketch, we optimize it by removing the flag bits of each counter. Extensive experiments based on the real-world dataset CAIDA show that our sketch can achieve better overall performance compared to several existing algorithms.
期刊介绍:
The proposed journal, called the IEEE Transactions on Network Science and Engineering (TNSE), is committed to timely publishing of peer-reviewed technical articles that deal with the theory and applications of network science and the interconnections among the elements in a system that form a network. In particular, the IEEE Transactions on Network Science and Engineering publishes articles on understanding, prediction, and control of structures and behaviors of networks at the fundamental level. The types of networks covered include physical or engineered networks, information networks, biological networks, semantic networks, economic networks, social networks, and ecological networks. Aimed at discovering common principles that govern network structures, network functionalities and behaviors of networks, the journal seeks articles on understanding, prediction, and control of structures and behaviors of networks. Another trans-disciplinary focus of the IEEE Transactions on Network Science and Engineering is the interactions between and co-evolution of different genres of networks.