文章摘要
王浩昆,张文力,张钊,陈明宇.LightShaper:一个高精度通用流量整形工具[J].高技术通讯(中文),2024,34(11):1178~1188
LightShaper:一个高精度通用流量整形工具
LightShaper:a high-precision and generic traffic shaping tool
  
DOI:
中文关键词: 流量整形; 速率控制; 测试负载; 包间隔分布
英文关键词: traffic shaping, rate control, test load, inter-departure distribution
基金项目:
作者单位
王浩昆 (中国科学院计算技术研究所北京 100090) 
张文力  
张钊  
陈明宇  
摘要点击次数: 20
全文下载次数: 31
中文摘要:
      模拟流量通常是系统能力与服务质量评估和优化的常见手段,而常用工具往往存在硬件模拟成本高、不灵活、软件模拟流量特征精度差的问题。如何低成本精确再现负载流量特征是一个挑战。为此,本文提出了一种高精度、低成本的方法实现对测试负载的流量特征控制。使用独立的流量特征控制中间件LightShaper对流量负载进行缓冲、汇聚、同步,并使用一种基于占位包填充的软件方法,在标准网卡上实现了高精度的包间隔控制。LightShaper能按需塑造流量负载的速率波形与包间隔分布波形,提供了流量整形、多源同步、延迟变换、流内乱序变换等不同功能,达到接近硬件的包间隔控制精度。在随机包间隔分布测试中,LightShaper在均方误差和KL散度这2个分布拟合度指标上,相比传统基于计时器的软件方法,分别实现了6.67~28.10倍和2.01~18.88倍的提升,便于低成本灵活复现评测负载。
英文摘要:
      Simulated traffic is frequently adopted as a standard methodology for evaluating and enhancing the performance and quality of services within systems. However, commonly used tools are often characterized by high costs associated with hardware emulation, a lack of adaptability, and suboptimal precision in replicating traffic characteristics through software simulation. The challenge lies in the accurate replication of load traffic features at an affordable cost. Therefore, this paper introduces a novel approach that combines high precision with economic efficiency for the control of traffic features in test loads. Leveraging the independent traffic feature control middleware, LightShaper, to buffer, aggregate, and synchronize traffic loads, the method also incorporates a software technique based on placeholder packet filling, enabling the precise control of packet intervals on standard network cards. LightShaper is capable of dynamically shaping the network traffic waveform and packet interval distribution waveform of traffic loads, offering a suite of functionalities including traffic shaping, synchronization across multiple sources, delay transformation, and intra-flow disorder transformation, thereby attaining a level of packet interval control accuracy comparable to that of hardware. In the context of random packet interval distribution testing, LightShaper has demonstrated significant improvements over traditional timer-based software methods, with enhancements ranging from 6.67 to 28.10 times in mean square error and from 2.01 to 18.88 times in KL divergence, thus enabling the cost-effective and agile reproduction of evaluation loads.
查看全文   查看/发表评论  下载PDF阅读器
关闭

分享按钮