• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2014, Vol. 36 ›› Issue (10): 1937-1942.

• 论文 • 上一篇    下一篇

Xen虚拟网卡自适应中断调度优化策略

李国庆   

  1. (许昌学院信息工程学院,河南 许昌 461000)
  • 收稿日期:2014-06-09 修回日期:2014-08-23 出版日期:2014-10-25 发布日期:2014-10-25
  • 基金资助:

    河南省科技攻关资助项目(132102210491)

Adaptive scheduling optimization
mechanism for virtual NIC interrupt on Xen     

LI Guoqing   

  1. (School of Information Engineering,Xuchang University,Xuchang 461000,China)
  • Received:2014-06-09 Revised:2014-08-23 Online:2014-10-25 Published:2014-10-25

摘要:

对于Xen网络工作模式来说,高负荷网络环境下大量的CPU资源将会被频繁到达的网卡中断占用,导致系统遭遇性能瓶颈,提出一种可以根据网络繁忙程度进行轮询的中断自适应调整机制,通过定义面向两种优先级不同的虚拟缓冲区,根据缓冲区中数据队列长度进行判断处理,以保证不同业务的服务质量。该机制不需要增加额外的处理单元。实验表明,当外部网络数据频繁到达时也不会引发过多的CPU中断,从而提高了CPU的利用率。

关键词: 虚拟化, 中断, 延迟, 虚拟缓冲区

Abstract:

For the Xen network model, high load under the environment of network causes bottleneck of the system where most CPU resources are occupied by frequent interrupt from the NIC. To alleviate this problem, an adaptive interrupt latency scheduling mechanism based on Xen is proposed, which uses the polling or interrupt method in accordance with the queue length of virtual buffer without supplementing any additional processing units. And the mechanism can guarantee different qualities of service to some extent through the definition of the two types of priority virtual buffers. Experimental results show that, when frequent interrupt from the NIC occurs, CPU will not be interrupted frequently so that the CPU utilization is improved.

Key words: virtualization;interrupt;latency;virtual buffer