The packet generator (pktgen) is a fundamental module of the majority of soft- ware testers used to benchmark network pro- tocols and functions. The high performance of the pktgen is an important feature of Future I...The packet generator (pktgen) is a fundamental module of the majority of soft- ware testers used to benchmark network pro- tocols and functions. The high performance of the pktgen is an important feature of Future Internet Testbeds, and DPDK is a network packet accelerated platform, so we can use DPDK to improve performance. Meanwhile, green computing is advocated for in the fu- ture of the internet. Most existing efforts have contributed to improving either performance or accuracy. We, however, shifted the focus to energy-efficiency. We find that high per- formance comes at the cost of high energy consumption. Therefore, we started from a widely used high performance schema, deeply studying the multi-core platform, especially in terms of parallelism, core allocation, and fre- quency controlling. On this basis, we proposed an AFfinity-oriented Fine-grained CONtrolling (AFFCON) mechanism in order to improve energy efficiency with desirable performance. As clearly demonstrated through a series of evaluative experiments, our proposal can reduce CPU power consumption by up to 11% while maintaining throughput at the line rate.展开更多
文摘地面相控阵雷达相比于传统雷达在部署方式和功能上具有优势,有较好的应用前景.目前,采用硬件传输地面相控阵雷达数据流缺乏灵活性,而采用传统的基于Linux网络协议栈的传输方法具有性能瓶颈.针对上述问题,本文基于DPDK(Data Plane Development Kit,数据面开发套件)提出了一个面向地面相控阵雷达数据流的高性能传输机制.首先,针对CPU单核频率较低的问题设计了一种基于多核CPU的多线程方法.其次,设计了帧池、帧索引池和进程间通信协议,实现了数据的重组和消费.再次,融合了Mbuf和Mempool数据结构实现了高速网络报文的缓冲.最后,基于实际的硬件平台开展了实验,实验结果表明,本文提出的传输机制能够在低丢包数前提下实现单机不少于8通道的地面相控阵雷达数据流传输,数据传输效率相比于传统的Asio网络库在网络流量和数据包捕获率指标方面有一定的提高.
基金supported by the National Science Foundation of China (No. 61472130, Research on Graphic Processing Units-based High-performance Packet Processing)the China Postdoctoral Science Foundation funded project (No. 61702174)
文摘The packet generator (pktgen) is a fundamental module of the majority of soft- ware testers used to benchmark network pro- tocols and functions. The high performance of the pktgen is an important feature of Future Internet Testbeds, and DPDK is a network packet accelerated platform, so we can use DPDK to improve performance. Meanwhile, green computing is advocated for in the fu- ture of the internet. Most existing efforts have contributed to improving either performance or accuracy. We, however, shifted the focus to energy-efficiency. We find that high per- formance comes at the cost of high energy consumption. Therefore, we started from a widely used high performance schema, deeply studying the multi-core platform, especially in terms of parallelism, core allocation, and fre- quency controlling. On this basis, we proposed an AFfinity-oriented Fine-grained CONtrolling (AFFCON) mechanism in order to improve energy efficiency with desirable performance. As clearly demonstrated through a series of evaluative experiments, our proposal can reduce CPU power consumption by up to 11% while maintaining throughput at the line rate.