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

一种网络协议的自适应控制方法
引用本文:潘清,李未,马世龙,张晓清,孙凌云.一种网络协议的自适应控制方法[J].计算机学报,2004,27(12):1612-1616.
作者姓名:潘清  李未  马世龙  张晓清  孙凌云
作者单位:1. 北京航空航天大学软件开发环境国家重点实验室,北京,100086;装备指挥技术学院电子工程系,北京,101416
2. 北京航空航天大学软件开发环境国家重点实验室,北京,100086
3. 装备指挥技术学院电子工程系,北京,101416
基金项目:国家科研基金 ( 413 15 0 40 2 )资助
摘    要:网络服务器过载问题已经成为日益关注的问题,过载会引起服务器系统性能急剧下降,客户请求长时间得不到响应.国内外已经提出很多有关网络服务器过载的解决方案,其中,比较有效的方案是引入线程机制,通过中断和查询相结合来解决这个问题.文章从改进传统的操作系统内核事件处理机制出发,在传统的事件处理机制中引入了反馈控制,提出了基于自适应的网络协议控制方法,该方法通过控制网络协议处理中的硬件中断和软件中断处理,不仅避免了系统接收活锁问题,同时,也避免了由于过量中断所造成的网络协议处理和应用软件“饥饿”的问题、测试表明在过载情况下,UDP性能提高了100%,TCP性能也得到了明显的改善.与其它方法相比,这些方法中有些无法克服接收活锁的问题,另外一些方法由于采用了查询机制,产生了延迟和额外的开销,这就使得文章提出的方法在性能上比采用查询机制的方法更好。

关 键 词:网络协议  自适应控制方法  中断控制  操作系统

A New Self Adaptive Control Method for Network Protocol Processing
PAN Qing,LI Wei,MA Shi-Long,ZHANG Xiao-Qing,SUN Ling-Yun.A New Self Adaptive Control Method for Network Protocol Processing[J].Chinese Journal of Computers,2004,27(12):1612-1616.
Authors:PAN Qing  LI Wei  MA Shi-Long  ZHANG Xiao-Qing  SUN Ling-Yun
Affiliation:PAN Qing 1),2) LI Wei 1) MA Shi-Long 1) ZHANG Xiao-Qing 2) SUN Ling-Yun 2) 1)
Abstract:The problem of network server overload has attracted a lot of attention. Overload can cause performance of network server drop sharply and clients have to wait for a long time to get responses. Many solutions have been proposed for solving this problem. Most of them are using thread mechanism which combine polling and interrupt processing together to solve the problem. This paper focuses on improving kernel event process mechanism of current operating system. A self adaptive control method is proposed for network protocol processing which added feedback control logic into current event driven mechanism. Through the control of hardware interrupt processing and software interrupt processing, the problem of receive livelock is prevented, also problems of starvation of network protocol processing and user level processing are prevented. It is showed that the performance of UDP processing is improved by about 100% over unmodified kernel under heavy workload. Also the performance of TCP processing is improved greatly. Comparing with other methods, some of those methods still can not overcome the problem of receive livelock, others which used polling mechanism can cause problems of delay and extra overhead. This makes the method proposed in this paper have better performance than those methods which use polling mechanism.
Keywords:network protocol  self-adaptive control method  interrupt control  operating system
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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