一种网络协议的自适应控制方法  被引量:5

A New Self Adaptive Control Method for Network Protocol Processing

在线阅读下载全文

作  者:潘清[1,2] 李未[1] 马世龙[1] 张晓清[3] 孙凌云[3] 

机构地区:[1]北京航空航天大学软件开发环境国家重点实验室 [2]装备指挥技术学院电子工程系北京101416 [3]装备指挥技术学院电子工程系

出  处:《计算机学报》2004年第12期1612-1616,共5页Chinese Journal of Computers

基  金:国家科研基金 ( 413 15 0 40 2 )资助

摘  要:网络服务器过载问题已经成为日益关注的问题 ,过载会引起服务器系统性能急剧下降 ,客户请求长时间得不到响应 .国内外已经提出很多有关网络服务器过载的解决方案 ,其中 ,比较有效的方案是引入线程机制 ,通过中断和查询相结合来解决这个问题 .文章从改进传统的操作系统内核事件处理机制出发 ,在传统的事件处理机制中引入了反馈控制 ,提出了基于自适应的网络协议控制方法 ,该方法通过控制网络协议处理中的硬件中断和软件中断处理 ,不仅避免了系统接收活锁问题 ,同时 ,也避免了由于过量中断所造成的网络协议处理和应用软件“饥饿”的问题 .测试表明在过载情况下 ,UDP性能提高了 10 0 % ,TCP性能也得到了明显的改善 .与其它方法相比 ,这些方法中有些无法克服接收活锁的问题 ,另外一些方法由于采用了查询机制 ,产生了延迟和额外的开销 ,这就使得文章提出的方法在性能上比采用查询机制的方法更好 .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.

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

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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