Accurate and O(1)-Time Query of Per-Flow Cardinality in High-Speed Networks

基数(数据建模) 网络数据包 计算机科学 流量(数学) 理论计算机科学 符号 离散数学 算法 数学 计算机网络 数据库 算术 几何学
作者
Qingjun Xiao,Yuexiao Cai,Yunpeng Cao,Shigang Chen
出处
期刊:IEEE ACM Transactions on Networking [Institute of Electrical and Electronics Engineers]
卷期号:31 (6): 2994-3009 被引量:4
标识
DOI:10.1109/tnet.2023.3268980
摘要

On a high-speed link, there may be tens of millions of IP packets per second and millions of active flows. Maintaining the state of each flow is a fundamental task underlying many network functions, such as load balancing and network anomaly detection. There are two important kinds of per-flow states: per-flow size (e.g., the number of packets received by an arbitrary destination IP) and per-flow cardinality (e.g., the number of distinct source IP addresses that contacted each destination IP). In this paper, we focus on the latter kind of states, and define a new problem: online query of per-flow cardinality, in which we query any given flow’s cardinality entirely on the data plane with low time complexity. For this problem, we propose three solutions named On-vHLL, Ton-vHLL and Aton-vHLL, whose time cost are $O(1)$ even for the query operation. Our proposed techniques are three folds. First, we redesign the traditional vHLL with new supplementary data structures called incremental update units (IUUs). When a certain flow’s cardinality is queried, these IUUs can avoid scanning the whole data structure and reduce the time complexity to $O(1)$ . Second, we apply a HLL register compression technique called TailCut to the On-vHLL sketch, which can save memory cost by 50%. Third, we add a prefilter based on min-heap, alongside the Ton-vHLL sketch. The prefilter is to give each currently sampled top- $k$ superspreader a dedicated HyperLogLog estimator for better accuracy. It can also absorb the superspreaders’ packets bypassing the sketch. We evaluate our new sketches by simulation with CAIDA traces. The results show that our On-vHLL, Ton-vHLL and Aton-vHLL sketches need about 5 memory accesses per packet. The time cost of query operation decreases by hundreds of times than the traditional vHLL that can only be queried offline. Meanwhile, the estimation error of flow spread by our Aton-vHLL is comparable to vHLL.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
酷波er应助12366666采纳,获得10
刚刚
王SQ完成签到 ,获得积分10
刚刚
feng完成签到 ,获得积分10
刚刚
moroa完成签到,获得积分10
1秒前
2秒前
流露完成签到,获得积分10
3秒前
Monica发布了新的文献求助10
3秒前
yang完成签到,获得积分10
3秒前
champtin完成签到 ,获得积分20
3秒前
纯真冰露完成签到,获得积分10
4秒前
SYLH应助成就小懒虫采纳,获得10
4秒前
5秒前
Yyy发布了新的文献求助10
5秒前
WANGs发布了新的文献求助10
6秒前
Chamsel完成签到,获得积分10
6秒前
Arml完成签到 ,获得积分10
6秒前
6秒前
Fa完成签到,获得积分10
6秒前
繁荣的忆文完成签到,获得积分10
6秒前
科研通AI5应助殇春秋采纳,获得10
6秒前
步行街车神ahua完成签到,获得积分10
7秒前
Sene完成签到,获得积分10
8秒前
8秒前
wanci应助Cynthia采纳,获得10
8秒前
guozizi完成签到,获得积分10
8秒前
吴学仕完成签到,获得积分10
9秒前
9秒前
9秒前
10秒前
科目三应助烨霖采纳,获得10
10秒前
豚豚完成签到,获得积分10
10秒前
yuuu完成签到 ,获得积分10
10秒前
10秒前
不安溪灵完成签到,获得积分10
10秒前
开放芝麻完成签到 ,获得积分10
11秒前
研友_nv4Bx8完成签到,获得积分10
11秒前
RebeccaHe举报努力的长安求助涉嫌违规
12秒前
搜集达人应助Yyy采纳,获得10
12秒前
慕青应助柠檬01210采纳,获得10
12秒前
聪明诗槐完成签到,获得积分10
12秒前
高分求助中
Chinesen in Europa – Europäer in China: Journalisten, Spione, Studenten 500
Arthur Ewert: A Life for the Comintern 500
China's Relations With Japan 1945-83: The Role of Liao Chengzhi // Kurt Werner Radtke 500
Two Years in Peking 1965-1966: Book 1: Living and Teaching in Mao's China // Reginald Hunt 500
Epigenetic Drug Discovery 500
Pathology of Laboratory Rodents and Rabbits (5th Edition) 400
A Combined Chronic Toxicity and Carcinogenicity Study of ε-Polylysine in the Rat 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3816166
求助须知:如何正确求助?哪些是违规求助? 3359723
关于积分的说明 10404224
捐赠科研通 3077544
什么是DOI,文献DOI怎么找? 1690330
邀请新用户注册赠送积分活动 813741
科研通“疑难数据库(出版商)”最低求助积分说明 767787