作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (3): 97-98. doi: 10.3969/j.issn.1000-3428.2010.03.032

• 网络与通信 • 上一篇    下一篇

基于Linux内核的网络性能优化

杨晓强1,2,朱 明1,2,杨 坚1,2   

  1. (1. 中国科学技术大学网络传播系统与控制联合实验室,合肥 230027; 2. 中国科学技术大学网络传播系统与控制安徽省重点实验室,合肥 230027)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2010-02-05 发布日期:2010-02-05

Optimization of Network Performance Based on Linux Kernel

YANG Xiao-qiang1,2, ZHU Ming1,2, YANG Jian1,2   

  1. (1. Joint Lab of Network Communication System & Control, University of Science & Technology of China, Hefei 230027; 2. Key Lab of Anhui of Network Communication System & Control, University of Science & Technology of China, Hefei 230027)
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-02-05 Published:2010-02-05

摘要: 针对服务器的网络性能,提出并实现一种基于Linux内核的改进方案——ONPK。该方案通过减少系统调用和数据复制、改写网卡驱动来实现网络性能的优化。实验结果证明,该方案能明显改善服务器的网络性能,在保持发送速度有所提高的情况下,CPU的使用率平均可降低11%。

关键词: 网络性能, Linux内核, CPU使用率, 系统调用

Abstract: Aiming at the network performance of service, this paper proposes and realizes an improved scheme based on the Linux kernel called ONPK. In order to optimize the network performance, it cuts down the times of system call and reduces the times of data copy, changes the way of sending data by rewrite the NIC driver. Experimental results show ONPK can improve the network performance apparently, and reduce the CPU utilization for 11% averagely with a little increase of the sending rate.

Key words: network performance, Linux kernel, CPU utilization rate, system call

中图分类号: