优化Linux网络处理性能的软中断处理机制  被引量:2

Soft interruption handling mechanism to optimize handling performance for Linux network

在线阅读下载全文

作  者:熊安萍[1] 韩松[1] 蒋溢[1] 

机构地区:[1]重庆邮电大学计算机科学与技术学院,重庆400065

出  处:《计算机应用》2010年第1期104-107,113,共5页journal of Computer Applications

基  金:重庆市信息产业发展专项资金资助项目(200811004)

摘  要:软中断在Linux内核中,作为一种对时间要求最为严格的中断下半部处理机制,在处理网络数据包的过程中发挥着无可替代的作用,而软中断处理函数采用固定的循环检测次数,以至于系统可能在网络负载高的情况下对数据包不能进行及时有效处理。提出了一种最大循环检测次数可动态变化的方法来优化软中断处理机制,实验表明,相比现有的软中断机制而言,在同样的环境下可以处理更多的软中断例程,表现为捕获更多的网络数据包,提升了系统处理软中断的能力,进而在系统级上优化了Linux网络处理性能。As the most strict bottom half handling mechanism of interruption on time accuracy, soft interrupt mechanism plays an irreplaceable role in the process of handling network packet. However, unalterable circular check times taken by soft interruption handling function causes system unable to handle packets effectively under high traffic load. This paper presented a methodology of adaptive circular checking times to optimize soft interruption handling mechanism. Test shows that compared with the former mechanism, current soft interruption mechanism can handle more soft interruption routines in the same condition, i.e. capturing more network packets. The methodology improves the system's capacity to handle soft interruptions and optimizes the handling capability of Linux network.

关 键 词:软中断 下半部处理机制 LINUX内核 最大循环检测次数 软中断例程 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象