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

J4 ›› 2012, Vol. 34 ›› Issue (2): 78-81.

• 论文 • 上一篇    下一篇

VMSF—一种内核级虚拟机监控器调度框架

刘晓建,戴华东,颜跃进   

  1. (国防科学技术大学计算机学院,湖南 长沙 410073)
  • 收稿日期:2010-03-10 修回日期:2010-06-03 出版日期:2012-02-25 发布日期:2012-02-25

VMSF—A Virtual Machine Scheduling Framework for Hosted VMMs

LIU XiaoJian,DAI Huadong,YAN Yuejin   

  1. (School of Computer Science,National University of Defense Technology,Changsha 410073,China)
  • Received:2010-03-10 Revised:2010-06-03 Online:2012-02-25 Published:2012-02-25

摘要:

虚拟化技术由于具有提高资源利用率、降低系统总体拥有成本等优点得到越来越多的关注。虚拟机成为计算机系统的一种新型应用模式,但虚拟机应用在服务质量保证和协同运行等方面与传统商用操作系统面向的应用不同,虚拟机监控器应针对此类应用的特点设计相应的调度算法。但是,在传统基于宿主操作系统的虚拟化技术中,虚拟机的调度由宿主操作系统的标准调度器完成。本文提出一种不修改宿主操作系统现有调度机制的虚拟机调度扩展框架VMSF,该框架允许第三方自行开发适于虚拟机系统的调度算法。最后通过在Linux上开源的内核级虚拟机监控器KVM上移植Xen的Credit调度器验证了本文研究的有效性。

关键词: 虚拟机, 调度, 基于宿主操作系统的虚拟机监控器, KVM

Abstract:

Virtial machine is a new kind of application domain, which has many different scheduling requirements from the traditional software applications. It is the Virtual Machine Monitors’ duty to satisfy the running virtual machines’ QOS requirements. However, in hosted VMMs, the function of virtual machine scheduling is delegated to host operating systems, which can not handle the new situation well. In order to facilitate the adoption of more suitable scheduling algorithms, a new scheduling framework, VMSF, is introduced in this article. VMSF makes no modifications to the host operating systems’ scheduling mechanism, and at the same time, permits the adoption of the third party’s virtual machine schedulers. Finally, experiments are conducted on KVMs to verify the effectiveness of the framework.

Key words: irtual machine;schedule;hosted VMM;KVM