Vnetradar: Lightweight and Network-Wide Traffic Measurement in Virtual Networks

Tie Ma,Jin Zhang,Long Luo,Hongfang Yu,Gang Sun,Jian Sun
DOI: https://doi.org/10.1109/globecom48099.2022.10000703
2022-01-01
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.
What problem does this paper attempt to address?