期刊文献+

Xen虚拟CPU空闲调度算法 被引量:6

An Idle Virtual CPU Scheduling Algorithm on Xen Virtual Machines
下载PDF
导出
摘要 在Xen虚拟化环境下,Credit调度算法是非抢占式调度算法,当虚拟CPU空时它不会将空闲状态信息通知给Xen,因此不会放弃物理CPU的使用权.虽然已有文献提出在虚拟CPU空闲时的处理方法,但它依然存在很多问题,例如空闲虚拟CPU的空闲时间还存在浪费的现象、没有考虑特权Service OS的空闲状态和虚拟机空闲状态判断不准确等,这造成很多不必要的性能损失.针对这样的问题,在Credit算法的基础上提出了虚拟CPU空闲调度算法,虚拟CPU空闲状态接收模块接收到的虚拟CPU空闲通知,动态调整该虚拟机的虚拟CPU的credit值,并将空闲的CPU时间分配给调度队列中其他的虚拟CPU使用.同时,根据该虚拟机的虚拟CPU的平均空闲率,重新调整该虚拟机的权重,从而实现了反馈控制与虚拟机调度的动态集成,实验结果证明该调度方法使系统的整体性能得到大大提高. In the environment of Xen virtual machines, Credit algorithm is non-preemptible. When virtual CPU is idle, it can not inform Xen of its idle state, which leads to its keeping the usage of physical CPU. Currently, the existing methods to process idle virtual CPU only paid attention to the optimization of guest OS, and neglected that of service OS. That is to say, it has three problems to optimize, such as the waste of the time of idle virtual CPU, no consideration of idle state of service OS and the inaccuracy of the judgement of virtual machine's idle state, which causes great much needless loss. According to the problems, an idle virtual CPU scheduling algorithm based on Credit algorithm is given. When the message of virtual CPU's idle state is notified by reception module of idle state of virtual CPU, virtual CPU's credit of virtual machine is modified dynamically, in order to allocate the reminder of idle time to other virtual machine. At the same time, the weight of virtual machine is also modified according to the virtual CPUs' average idle rate of the virtual machine, which realizes the dynamic integration between virtual machine's scheduling method and feedback control. The experiment results show that the idle virtual CPU scheduling algorithm improves greatly the performance of virtual machines.
作者 王凯 侯紫峰
出处 《计算机研究与发展》 EI CSCD 北大核心 2013年第11期2429-2435,共7页 Journal of Computer Research and Development
关键词 虚拟机监控器 Credit算法 特权服务操作系统 客户操作系统 虚拟处理器 平均空闲率 virtual machine monitor (VMM) Credit algorithm~ service OS guest OS~ VCPUaverage idle rate
  • 相关文献

参考文献8

  • 1Barham P. Dragovic B. Fraser K. et al. Xen and the art of virtualization [C] //Proc of the 19th ACM SOSP. New York: ACM. 2003: 164-177.
  • 2Pratt I. Fraser K. Hand S. et al. Xen3. 0 and the art of virtualization [C/OLJ //Proc of the Linux Symp, 2005. [ 2007-11-15]. http://www. Iinuxsymposium. org/2005/ linuxsymposium_procv2. pdf.
  • 3Xen Org. Credit Scheduler [EB/OL]. [2007-11-20]. bttp:// wiki. xensource. com/ xenwiki/CreditScheduler.
  • 4Leslie I M, Mcauley D. Black R, er al. The design and implementation of an operating system to support distributed multimedia applications [J]. IEEE Journal of Selected Areas in Communications, 1996. 14(7): 1280-1297.
  • 5Cberkasova L. Gupta D, Vahdat A. Wben virtual is harder than real: Resource allocation challenges in virtual macbine based IT environments, HPL-2007-25 [R]. Palo Alto: HP Laboratories, 2007: 1-9.
  • 6顾振宇,张申生,李晓勇.Xen中Credit调度算法的优化[J].微型电脑应用,2009,25(2):1-3. 被引量:8
  • 7Diego O. Cox A L. Rixner S. Scheduling I/O in virtual machine monitors [C] //Proc of the 4th ACM SIGPLAN/ SIGOPS Int Conf on Virtual Execution Environments. New York: ACM, 2008: 1-10.
  • 8Intel Corporation. Intel vanderpool technology for IA-32 processors (VT-x) preliminary specification [DB/OL]. (2005-08-02) [2008-01-20]. http://developer. intel. com.

二级参考文献5

  • 1K. J. Duda and D. R. Cheriton. Borrowed-virtual-time (BVT) scheduling: supporting latency-sensitive threads m a general-purpose scheduler [ A ]. Proceedings of the 17th ACM SOSP[ C ]. 1999.
  • 2I. M. Leslie, D. Mcauley, R. Black, T. Roscoe, P. T. Barham, D. Evers, R. Fairbaims, and E. Hyden. The Design and Implementation of an Operating System to Support Distributed Multimedia Applications [ J ]. IEEE Journal of Selected Areas in Communications, 1996.
  • 3D.Ongaro,A.L.Cox, S.Rixner. Scheduling I/O in Virtual Machine Momtors[A].ACM/Usenix International Conference On Virtual Execution Environments [ C ]. Mar. 2008. 1-10.
  • 4L.Cherkasova, D. Gupta and A.Vahdat. Comparison of the Three CPU Schedulers in Xen [ C ]. ACM SIGMETRICS Performance Evaluation Review (PER),2007.42-51.
  • 5D. Chisnall. The Definitive Guide to The Xen Hypervisor [ M ]. Prentice Hall, 2008.

共引文献7

同被引文献82

  • 1周文煜,陈华平,杨寿保,方君.基于虚拟机迁移的虚拟机集群资源调度[J].华中科技大学学报(自然科学版),2011,39(S1):130-133. 被引量:37
  • 2王飞跃.计算实验方法与复杂系统行为分析和决策评估[J].系统仿真学报,2004,16(5):893-897. 被引量:147
  • 3Vaquero L M, Rodero Merino L, Moran D. Locking the sky, a sur- veyon IaaS cloud security [J]. Computing, 2011, 91 (1): 93 -118.
  • 4Somani G, Chauhdhary S. Load balancing in Xen virtual machine monitoring [A]. Proceeding Third International Conference on Con- temporary computing [C]. 2010: 62 - 70.
  • 5Xi S, Wilson J, I.u C, et al. Gill: RT-Xen: Towards real-time hypervisor scheuling in Xen [A]. Proc International conference on Embedded software [C]. 2011: a9-48.
  • 6BIERWIRTH C, MEISEL F. A survey of berth allocation and quay crane scheduling problems in container terminals[J]. Eu- ropean Journal of Operational Research, 2010,202 (3) : 615-627.
  • 7CARLO H J, VIS I F A, ROODBERGEN K J. Storage yard operations in container terminals: literature overview, trends, and research directions[J]. European Journal of Operational Re- search,2014,235(2) :412-430.
  • 8CARLO H J, VIS I F A, ROODBERGEN K J. Transport op- erations in container terminals: literature overview, trends, re- search directions and classification scheme[J]. European Jour- nal of Operational Research, 2014,236 (1) : 1-13.
  • 9IMAI A, NISHIMURA E, PAPADIMITRIOU S. Marine co- ntainer terminal configurations for efficient handling of mega- containerships[J]. Transportation Research Part E, Logistics and Transportation Review, 2013,49(1) : 141-158.
  • 10SALIDO M A, RODRIGUEZ-MOLINS M, BARBER F. A d- eeision support system for managing combinatorial problems in container terminals [J]. Knowledge-Based Systems, 2012, 29 (5) :63-74.

引证文献6

二级引证文献24

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部