北京大学学报(自然科学版)

基于Xen平台的虚拟机交互式性能隔离改进

夏虞斌,杨春,钮艳,程旭   

  1. 北京大学微处理器研究开发中心, 北京100871;
  • 收稿日期:2009-04-23 出版日期:2010-01-20 发布日期:2010-01-20

Improvement of the Interactive Performance Isolation of Virtual Machines on Xen Platform

XIA Yubin, YANG Chun, NIU Yan, CHENG Xu   

  1. Microprocessor Research and Development Center, Peking University, Beijing, 100871;
  • Received:2009-04-23 Online:2010-01-20 Published:2010-01-20

摘要: 分析了高整合程度环境下, 虚拟机出现连续性网络延迟峰值的异常现象, 设计并实现 了针对交互式性能隔离的虚拟机调度算法优化方案, 包括协作式抢占、抢占返回和精确核算机制, 这些优化方案不需要对客户操作系统做任何修改。实验表明, 在8台CPU密集型虚拟机同时运行的情况下, 另外8台虚拟机网络延迟的最高5%平均值降低至优化前的0.93%, Firefox浏览邮件延迟的最高5%平均值降低至优化前的56.1%。

关键词: 虚拟化, 瘦客户计算, 交互式性能, 调度算法

Abstract: The authors address the problemthat in a highly-consolidated environment, there are continuous peaks of network latency of guest OS. Three optimizations of VM scheduler are designed and implemented to improve interactive performance isolation, including cooperative preemption, preempt-back and accurate accounting. None of these optimizations needs guest OS to be modified. The evaluation results show that with 8 computing-intensive VMs running concurrently, the average of top 5% network latency of other 8 VMs is reducedto as mush as 0.93% of the original one, and the one of web-mail browsing by Firefox is reduced to 56.1%.

Key words: virtualization, thin client computing, interactive performance, scheduling algorithm

中图分类号: