首页 | 本学科首页   官方微博 | 高级检索  
     

采用轮询机制提高Linux系统的网络性能
引用本文:贾彩霞,吴秋峰,朱卫国,郭仲海.采用轮询机制提高Linux系统的网络性能[J].计算机工程与应用,2004,40(11):134-138.
作者姓名:贾彩霞  吴秋峰  朱卫国  郭仲海
作者单位:1. 清华大学自动化系,北京,100084
2. 北京清华得实科技股份有限责任公司,北京,100085
摘    要:目前,Linux操作系统被广泛应用在网络数据包收发系统中。这是因为,Linux采用中断机制来响应外部事件,保证了系统能够合理高效地利用CPU资源。但是,在高负荷网络环境下,大量的CPU资源将会被频繁到达的网卡中断占用,导致系统遭遇性能瓶颈,出现接收活锁1。为了避免在高负荷网络环境下系统性能下降,该文采用轮询机制处理网络数据的收发,而在低负荷网络环境中,仍然采用原有的中断机制。

关 键 词:接收活锁  中断机制  轮询机制
文章编号:1002-8331-(2004)11-0134-05

Using Polling to Improve the Network Performance of Linux Servers
Jia Caixia,Wu Qiufeng,Zhu Weiguo,Guo Zhonghai.Using Polling to Improve the Network Performance of Linux Servers[J].Computer Engineering and Applications,2004,40(11):134-138.
Authors:Jia Caixia  Wu Qiufeng  Zhu Weiguo  Guo Zhonghai
Affiliation:Jia Caixia 1 Wu Qiufeng 1 Zhu Weiguo 2 Guo Zhonghai 21
Abstract:Nowadays Linux operating system is widely used in packet forwarding systems .This is because Linux uses interface interrupts to schedule network tasks,it can ensure that CPU can be efficiently used to manage various I/O devices in o rdinary networks.But in high-speed networks,frequent response to network ta sks will use most of the CPU resources.So the system will definitely suffer fro m performance bottleneck and receive livelock.To alleviate this problem,this p aper uses polling threads during high network loads and interrupts during low ne twork loads.
Keywords:Receive livelock  Interrupt-driven  Polling  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号