摘要
为了解决传统NAPI机制中单核网络处理的性能瓶颈问题,Google提出了Receive packet steering(RPS),将接收到的网络流量均衡到多个CPU核上并行处理,从而提高网络吞吐量。但是,RPS只是一种静态均衡策略,不能充分利用系统资源。改进了RPS的流量均衡方法,提出了一种基于系统实时负载的网络流量均衡方法,综合考虑各CPU核的实时负载情况,动态地均衡网络流量。实验结果表明,该方法能够根据系统当前的各CPU核的负载情况动态地分配网络流量,因此能够更加有效地提高系统的网络吞吐量。
In order to solve the performance bottlenecks of the NAPI mechanism on single core, a method called Receive packet steering(RPS) is presented by Google. The network traffic received is balanced to multiple CPU cores, so the network throughput is improved. But RPS just uses a static balancing strategy and cannot make full use of system resources. A traffic-balancing method based on real-time load of the system is presented by this paper. It is proved that the method can balance the traffic dynamically by the load of each CPU core, and improve the network throughput more effectively.
出处
《计算机安全》
2014年第3期7-11,共5页
Network & Computer Security