期刊文献+

面向多核虚拟机的高效瞬态协同调度算法

Efficient transitory co-scheduling for MP virtual machines
原文传递
导出
摘要 随着多核硬件技术的迅速发展和应用对计算能力需求的不断增强,多核虚拟机应用也越来越广泛。但多核虚拟机会引发锁占用的可扩展性问题,锁占用严重影响系统的整体性能。本文基于Linux的完全公平调度器(CFS)设计并实现了一个高效的瞬态协同调度算法,能够高效地解决锁占用问题并获得更好的系统性能。实验结果表明,相比Linux 2.6.38内核,该算法可以显著地提高系统性能,在SysBench.OLTP的测试用例中系统整体性能最多提高到3.41倍,并且对调度公平性几乎没有影响。 Multiprocessor (MP) virtual machines (VMs) are widely used in cloud environments with the development of MP hardware and the demands for greater computing power. However, MP VMs suffer from the lock holder preemption (LHP) issue, which causes significant system performance degradation. This paper describes an efficient transitory co-scheduling algorithm based on the Linux CFS scheduler that effectively bypasses the guest spin lock loop to achieve better system performance. Tests show that this method significantly improves system performance (up to 3.41 fold performance advantage over the original Linux kernel 2.6.38 with SysBench. OLTP 4-VM case), while at the same time improving system latency with little to no effect on scheduling fairness.
出处 《清华大学学报(自然科学版)》 EI CAS CSCD 北大核心 2014年第4期495-501,共7页 Journal of Tsinghua University(Science and Technology)
基金 国家自然科学基金面上项目(61170050) 核高基重大专项基金(2012ZX01039004)
关键词 虚拟机 调度 多核 锁占用 virtual machine scheduling multicore lock holder preemption
  • 相关文献

参考文献16

  • 1Karlin A,Li K,Manasse M,et al.Empirical studies of competitive spinning for a shared-memory multiprocessor[J].ACM SIGOPS Operating Systems Review,1991,25(5):41-55.
  • 2Zahorjan J,Lazowska D,Eager D.The effect of scheduling discipline on spin overhead in shared memory parallel Systems[J].IEEE Transactions on Parallel and Distributed Systems,1991,2(2):180-198.
  • 3Ousterhout J.Scheduling techniques for concurrent systems[C] //Proceedings of the 3rd International Conference on Distributed Computing Systems.Florida,USA:IEEE,1982:22-30.
  • 4Strazdins P,Uhlmann J.A comparison of local and gang scheduling on a beowulf cluster[C] //Proceedings of the2004IEEE International Conference on Cluster Computing.Washington,DC:IEEE,2004:55-72.
  • 5Feitelson D G,Rudolph L.Gang scheduling performance benefits for fine-grain synchronization[J].Journal of Parallel and Distributed Computing,1992,16(4):306-318.
  • 6Wiseman Y,Feitelson D.Paired gang scheduling[J].IEEE Transactions on Parallel and Distributed Systems,2003,14(6):581-592.
  • 7Lee W,Frank M,Lee V,et al.Implications of I/O for gang scheduled workloads[C] //Job Scheduling Strategies for Parallel Processing.Berlin Heidelberg:Springer,1997:215-237.
  • 8Uhlig V,Levasseur J,Skoglund E,et al.Towards scalable multiprocessor virtual machines[C] //Virtual Machine Research and Technology Symposium.San Jose,California:USENIX,2004:43-56.
  • 9Johnson F,Stoica R,Alilamaki A,et al.Decoupling contention management from scheduling[J].ACM SIGARCH Computer Architecture News,2010,38(1):117-128.
  • 10Sukwong O,Kim H S.Is co-scheduling too expensive for SMP VMs[C] //Proceedings of the 6th conference on Computer systems.Salzburg,Austria:ACM,2011:257-272.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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