期刊文献+

虚拟环境下硬件事务内存辅助的同步机制 被引量:2

Hardware Transactional Memory Assisted Synchronization Mechanism in Virtualized Environment
下载PDF
导出
摘要 在虚拟化系统中,双重调度问题普遍存在。过度负载的现象进一步加剧了双重调度问题,造成了不可忽视的性能下降。如何在保护系统公平性的同时,缓解双重调度问题带来的负面影响,提高系统的整体性能,成为一个重要的课题。通过研究双重调度引发的同步机制效率问题,结合硬件事务内存的特点,为虚拟机内核设计了新的同步机制SPINRTM。一方面,SPINRTM基于硬件事务内存不可被打断的特性,保护了虚拟机内的临界区间,使其不被打断,有效缓解了双重调度问题;另一方面,SPINRTM结合了传统的排队自旋锁,保护了硬件事务内存的运行效率,也维护了系统的公平性。测试证明,在超负载的情况下,SPINRTM能够在保护系统公平性的同时,提高系统的整体性能。 In a virtualized environment,there is a common existence of double scheduling problem.Moreover,overcommitment exacerbates the problem,and causes a significant performance downgrade.As a result,how to alleviate this problem while protecting the system’s fairness and improve its overall performance has become a critical issue.This paper studies the performance issue of synchronization mechanism caused by double scheduling problem,and proposes a new synchronization mechanism SPINRTM with the help of hardware transactional memory.On the one hand,SPINRTM takes advantage of hardware transactional memory to protect critical sections from being preempted,which effectively alleviates double scheduling problem.On the other hand,it is combined with ticket spinlock to protect the efficiency of hardware transactional memory and guarantee the fairness of the system.Evaluation results show that SPINRTM can protect the system??s fairness and improve its performance at the same time when resources are overcommitted.
作者 余倩倩 董明凯 陈海波 YU Qianqian;DONG Mingkai;CHEN Haibo(Institute of Parallel and Distributed Systems, Shanghai Jiao Tong University, Shanghai 200240, China)
出处 《计算机科学与探索》 CSCD 北大核心 2017年第9期1429-1438,共10页 Journal of Frontiers of Computer Science and Technology
基金 国家自然科学基金面上项目(No.61572314) 国家重点研发计划(No.2016YFB1000104) 张江高科技园区高新技术成果转化项目(No.201501-YP-B108-012)~~
关键词 虚拟化 硬件事务内存 同步机制 virtualization hardware transactional memory synchronization mechanism
  • 相关文献

参考文献2

二级参考文献45

  • 1Amazon. Amazon elastic compute cloud [OL].[2010-08- 05]. http://aws, amazon, com/ecs2.
  • 2Clark C, Fraser K, Hand Steven, et al. Live migration of virtual machines [C] //Proc of NSDI'05. Berkeley, CA: USENIX Association, 2005:273-286.
  • 3VMWare. ESX Server - best practices using VMware virtual SMP [OL]. [2010-08-05]. http://www, vrnware, com/pdf/ vsmp best practices, pdf.
  • 4Barham P, Dragovic B, Fraser K, et al. Xen and the art of virtualization [C] //Proe of SOSP'03. New York: ACM, 2003:164-177.
  • 5Microsoft Corporation. Microsoft virtual server 2005 [OL]. [2010-08-05]. http://www, microsoft, corn/windowsserversystem] virtualserver/default, mspx.
  • 6Hoskins Matthew E. User-mode Linux [J]. Linux Journal, 2006, 2006(145): 2-2.
  • 7Chen P M, Noble B D. When virtual is better than real [C] //Proc of the 8th Workshop on Hot Topics in Operating Systems. Washington DC: IEEE Computer Society, 2001:133-138.
  • 8Kim H, Lim H, Jeong J, et al. Task-aware virtual machine scheduling for i/o performance [C]//Proc of VEE'09. New York: ACM, 2009:101-110.
  • 9Bovet D P, Cesati M. Understanding the Linux Kernel [M]. 3rd ed. Sebastopol: O'Reilly, 2005.
  • 10Uhlig V, LeVasseur J, Skoglund E, et al. Towards scalable multiprocessor virtual machines [C]//Proc of the 3rd Virtual Machine Research and Technology Symp. Berkeley, CA: USENIX Association, 2004:43-56.

共引文献84

同被引文献14

引证文献2

二级引证文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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