A Sketch Algorithm to Monitor High Packet Delay in Network Traffic

Jiaqi Zhu, Kai Zhang, Qun Huang
{"title":"A Sketch Algorithm to Monitor High Packet Delay in Network Traffic","authors":"Jiaqi Zhu, Kai Zhang, Qun Huang","doi":"10.1145/3469393.3469398","DOIUrl":null,"url":null,"abstract":"Packet delay is a consensual indicator of network conditions. High delay packets of a flow indicate that there may be network congestion or network anomalies. In this paper, we consider Intra-FlowPacketDelay (IFPD), which is defined as the time span between two adjacent packets of a flow. In particular, we aim to detect packets that exhibit high IFPD. The key challenge is to simultaneously achieve high detection accuracy and preserve low resource usage. Existing measurement approaches reduce resource overheads by injecting probe packets or sampling. However, they can only measure an average delay of some packets but fail to monitor delay behavior of every single packet. To this end, we propose a sketch-based approach. Unfortunately, existing sketch-based methods cannot be directly applied to our high IFPD detection problem. That is because traditional sketch algorithms require that the update operation is additive, while measuring IFPD needs to deal with timestamps, which is not additive. We address this issue in three aspects: (i) using fingerprints to mitigate hash conflicts; (ii) a conservative update method that only selects one bucket to update; (iii) a replacement strategy that keeps potential flows with high IFPD in the sketch. Our experiments on real world traces demonstrate that our solution identifies high IFPD with nearly 99% recall rate and 99% precision with 600 KB memory, which outperforms existing sketch-based solutions.","PeriodicalId":291942,"journal":{"name":"5th Asia-Pacific Workshop on Networking (APNet 2021)","volume":"92 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-06-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"5th Asia-Pacific Workshop on Networking (APNet 2021)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3469393.3469398","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Packet delay is a consensual indicator of network conditions. High delay packets of a flow indicate that there may be network congestion or network anomalies. In this paper, we consider Intra-FlowPacketDelay (IFPD), which is defined as the time span between two adjacent packets of a flow. In particular, we aim to detect packets that exhibit high IFPD. The key challenge is to simultaneously achieve high detection accuracy and preserve low resource usage. Existing measurement approaches reduce resource overheads by injecting probe packets or sampling. However, they can only measure an average delay of some packets but fail to monitor delay behavior of every single packet. To this end, we propose a sketch-based approach. Unfortunately, existing sketch-based methods cannot be directly applied to our high IFPD detection problem. That is because traditional sketch algorithms require that the update operation is additive, while measuring IFPD needs to deal with timestamps, which is not additive. We address this issue in three aspects: (i) using fingerprints to mitigate hash conflicts; (ii) a conservative update method that only selects one bucket to update; (iii) a replacement strategy that keeps potential flows with high IFPD in the sketch. Our experiments on real world traces demonstrate that our solution identifies high IFPD with nearly 99% recall rate and 99% precision with 600 KB memory, which outperforms existing sketch-based solutions.
一种监控网络流量中高数据包延迟的草图算法
分组延迟是网络状况的一个共识指标。如果某个流的时延较高,说明可能存在网络拥塞或网络异常。在本文中,我们考虑Intra-FlowPacketDelay (IFPD),它被定义为一个流的两个相邻数据包之间的时间跨度。特别是,我们的目标是检测显示高IFPD的数据包。关键的挑战是同时实现高检测精度和保持低资源占用。现有的测量方法通过注入探测包或采样来减少资源开销。然而,它们只能测量某些数据包的平均延迟,而不能监控每个数据包的延迟行为。为此,我们提出了一种基于草图的方法。不幸的是,现有的基于草图的方法不能直接应用于我们的高IFPD检测问题。这是因为传统的草图算法要求更新操作是加性的,而测量IFPD需要处理时间戳,这不是加性的。我们从三个方面解决了这个问题:(i)使用指纹来缓解哈希冲突;(ii)保守更新方法,只选择一个桶进行更新;(iii)在草图中保留高IFPD的潜在流量的替代策略。我们在真实世界轨迹上的实验表明,我们的解决方案识别出高IFPD,在600 KB内存下具有近99%的召回率和99%的精度,优于现有的基于草图的解决方案。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信