期刊文献+

Xen虚拟机的虚拟CPU松弛协同调度方法 被引量:4

A Relaxed Co-Scheduling Method of Virtual CPUs on Xen Virtual Machines
下载PDF
导出
摘要 目前,Xen虚拟机调度算法均采用独立调度虚拟CPU的方式,而没有考虑虚拟机各虚拟CPU之间的协同调度关系,这会使虚拟机各个虚拟CPU之间产生很大的时钟中断数量偏差等问题,从而导致系统不稳定.为了提高系统的稳定性,基于Credit算法提出了一种比RCS(relaxed co-scheduling)算法更松弛的协同调度算法MRCS(more relaxed co-scheduling).该算法采用非抢占式协同调整方法将各个虚拟CPU相对运行的时间间隔控制在同步时间检测的上限门限值Tmax之内,同时利用同步队列中虚拟CPU优化选择调度方法和Credit算法的虚拟CPU动态迁移方法,能够更加及时地协同处理虚拟CPU,并且保证了各个物理CPU的负载均衡,有效地减少客户操作系统与VMM的环境切换次数,降低了系统开销.实验结果证明该方法不但保证了系统的稳定性,而且使系统性能得到一定程度的提升.虚拟机调度算法不仅影响虚拟机的性能,更会影响虚拟机的稳定性,致力于虚拟机调度算法的研究是一项非常有意义的工作. In the environment of Xen virtual machine based on the SMP system with two or more physical CPU cores,the current virtual machine scheduling algorithms make all virtual CPUs be scheduled independently and do not consider the co-scheduling relationship of guest OS' virtual CPUs,which leads to too much deviation of timer interruptions among virtual CPUs and so on,which causes the decline of guest OS' stability.According to the problem,a more relaxed co-scheduling algorithm of virtual CPUs on Xen virtual machines than the relaxed co-scheduling one is given.It adopts a non-preemptive co-scheduling method to restrain relative running time of virtual CPUs between 0 and the upper limit to co-scheduling time detection Tmax.And it makes virtual CPUs' co-scheduling more quickly and physical CPUs' load more balanced by the method of optimized selection of virtual CPU and the method of dynamic migration of virtual CPUs in Credit.Meanwhile it reduces the whole virtualization system's overhead further.The experimental results show that the method ensures the stability of the virtualization system,and it improves the performance of virtual machines to a certain extent.The scheduling algorithm of virtual machines has the direct effect on the performance and stability,and it is a significant job to go into scheduling algorithms of virtual machines.
作者 王凯 侯紫峰
出处 《计算机研究与发展》 EI CSCD 北大核心 2012年第1期118-127,共10页 Journal of Computer Research and Development
关键词 虚拟机监控器 Credit算法 特权服务操作系统 客户操作系统 虚拟处理器 协同调度 VMM credit algorithm service OS guest OS VCPU co-scheduling
  • 相关文献

参考文献10

  • 1Oracle Corporation. Oracle VM VirtualBox User Manual. Version 3.2.0 [DB/OL]. [ 2010-07-12 ]. http://dlc, sun. com. edgesuite, net/virtualbox/4.0.2/UserManual, pdf.
  • 2VMware. VMware Co scheduling SMP VMs in VMware ESX Server [OB/OL]. [2008-05-02]. http://communities. vmware, com/docs/DOC-4960.
  • 3VMware. VMware Performance Tuning Best Practices for ESX Server 3 [DB/OL]. [ 2009 01-06 ]. http.-//www. vmware, com/pdf/vi performance_tuning, pdf.
  • 4Southern G, Hwang D, Barnes R D. SMP virtualization performance evaluation [C] //Proc of 2nd Int Workshop on Virtualization Performance: Analysis, Characterization, and Tools. Boston: ISPASS, 2009:1-15.
  • 5Cherkasova L, Gupta D, Vahdat A. When virtual is harder than real: Resource allocation challenges in virtual machine based IT environments, HPL-2007-25 [R]. Palo Alto: HP Laboratories, 2007:1-9.
  • 6Leslie I M, Mcauley D, Black R, et 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.
  • 7Diego O, Alan I. C, Scott R. 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.
  • 8顾振宇,张申生,李晓勇.Xen中Credit调度算法的优化[J].微型电脑应用,2009,25(2):1-3. 被引量:8
  • 9Intel Corporation. InteI vanderpool technology for IA-32 processors (VT-x) preliminary specification [DB/OL]. [2005 08-02]. http://developer, intel, com.
  • 10Credit scheduler [EB/OL]. [2007-11-15 ]. http://wiki xensource, corn/xenwiki/CreditScheduler.

二级参考文献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

同被引文献35

  • 1Vaquero L M, Rodero Merino L, Moran D. Locking the sky, a sur- veyon IaaS cloud security [J]. Computing, 2011, 91 (1): 93 -118.
  • 2Somani G, Chauhdhary S. Load balancing in Xen virtual machine monitoring [A]. Proceeding Third International Conference on Con- temporary computing [C]. 2010: 62 - 70.
  • 3Xi 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.
  • 4Younge A J,Henschel R,Brown J T,et al.Analysis of virtualization technologies for high performance computing environments[C]∥Proc of 2011IEEE 4th International Conference on Cloud Computing,2011:9-16.
  • 5Olukotun K,Hammond L,Laudon J.Chip multiprocessor architecture:Techniques to improve throughput and latency[M].California:Morgan&Claypool Publishers,2007.
  • 6Chisnall D.The definitive guide to the Xen hypervisor[M]∥Upper daddle river,NJ:Prentice Hall Press,2007.
  • 7Zhou L,Wu S,Sun H,et al.Virtual machine scheduling for parallel soft real-time applications[C]∥Proc of 20131EEE 21st International Symposium on Modeling,Analysis and Simulation of Computer and Telecommunication,2013:525-534.
  • 8Credit Scheduler[EB/OL].[2014-05-18].http://wiki.xen.org/wiki/Credit_Scheduler.
  • 9Lee M,Krishnakumar A S,Krishnan P,et al.Supporting soft real-time tasks in the Xen hypervisor[C]∥Proc of 2010ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments,2010:97-108.
  • 10Yu P,Xia M,Lin Q,et al.Real-time enhancement for Xen hypervisor[C]∥Proc of IEEE/IFIP 8th International Conference on Embedded and Ubiquitous Computing,2010:23-30.

引证文献4

二级引证文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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