Tie Ma, Jin Zhang, Long Luo, Hongfang Yu, Gang Sun, Jian Sun
{"title":"vNetRadar: Lightweight and Network-Wide Traffic Measurement in Virtual Networks","authors":"Tie Ma, Jin Zhang, Long Luo, Hongfang Yu, Gang Sun, Jian Sun","doi":"10.1109/GLOBECOM48099.2022.10000703","DOIUrl":null,"url":null,"abstract":"Measuring traffic metrics is indispensable in virtual networks as it is the basis for a wide range of applications, such as network diagnostics and performance evaluation of the network algorithms. However, existing measurement schemes fail to have all these excellent characteristics simultaneously: 1) fine-grained, i.e. to obtain per packet level information. 2) lightweight, namely low CPU and bandwidth overhead. 3) network-wide, which means obtaining metrics of the whole network, e.g. per packet path. 4) easy-to-deploy, which refers to deployment without additional modification of Maximum Transmission Units (MTUs). We design vNetRadar, a virtual network measurement system, which has these excellent characteristics simultaneously. Specifically, vNetRadar 1) identifies each packet without increasing the size of each packet, to obtain network-wide metrics without MTU modification, 2) allocates each packet an area in memory, called backpack, and carries metadata in it to largely reduce bandwidth overhead. vNetRadar is implemented based on the extended Berkeley Packet Filter (eBPF) and is mainly in kernel space, avoiding the CPU overhead of copying packets to user space when performing the fine-grained measurement. Evaluation results show that the easy-to-deploy vNetRadar can get fine-grained network-wide metrics with low CPU and bandwidth overhead.","PeriodicalId":313199,"journal":{"name":"GLOBECOM 2022 - 2022 IEEE Global Communications Conference","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"GLOBECOM 2022 - 2022 IEEE Global Communications Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/GLOBECOM48099.2022.10000703","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Measuring traffic metrics is indispensable in virtual networks as it is the basis for a wide range of applications, such as network diagnostics and performance evaluation of the network algorithms. However, existing measurement schemes fail to have all these excellent characteristics simultaneously: 1) fine-grained, i.e. to obtain per packet level information. 2) lightweight, namely low CPU and bandwidth overhead. 3) network-wide, which means obtaining metrics of the whole network, e.g. per packet path. 4) easy-to-deploy, which refers to deployment without additional modification of Maximum Transmission Units (MTUs). We design vNetRadar, a virtual network measurement system, which has these excellent characteristics simultaneously. Specifically, vNetRadar 1) identifies each packet without increasing the size of each packet, to obtain network-wide metrics without MTU modification, 2) allocates each packet an area in memory, called backpack, and carries metadata in it to largely reduce bandwidth overhead. vNetRadar is implemented based on the extended Berkeley Packet Filter (eBPF) and is mainly in kernel space, avoiding the CPU overhead of copying packets to user space when performing the fine-grained measurement. Evaluation results show that the easy-to-deploy vNetRadar can get fine-grained network-wide metrics with low CPU and bandwidth overhead.
在虚拟网络中,流量度量是不可缺少的,因为它是网络诊断和网络算法性能评估等广泛应用的基础。然而,现有的测量方案无法同时具备所有这些优秀的特征:1)细粒度,即获取每个数据包级别的信息。2)轻量级,即低CPU和带宽开销。3)全网范围,这意味着获得整个网络的度量,例如每个数据包路径。4)易于部署,即无需额外修改最大传输单元(Maximum Transmission unit, mtu)即可部署。我们设计的虚拟网络测量系统vNetRadar同时具有这些优良的特性。具体来说,vNetRadar 1)在不增加每个数据包大小的情况下识别每个数据包,在不修改MTU的情况下获得全网范围的指标,2)在内存中为每个数据包分配一个区域,称为背包,并在其中携带元数据,以大大减少带宽开销。vNetRadar基于扩展的伯克利包过滤(eBPF)实现,主要在内核空间,避免了在执行细粒度测量时将数据包复制到用户空间的CPU开销。评估结果表明,易于部署的vNetRadar可以在低CPU和带宽开销的情况下获得细粒度的网络范围指标。