全部 标题 作者
关键词 摘要

OALib Journal期刊
ISSN: 2333-9721
费用:99美元

查看量下载量

相关文章

更多...
-  2015 

基于I/O受限进程识别的虚拟处理器调度机制
A Virtual CPU Scheduling Mechanism Based on I/O??Awareness

DOI: 10.7652/xjtuxb201504009

Keywords: 虚拟化,虚拟机管理器,虚拟处理器调度,I/O受限进程
virtualization
,virtual machine monitor,virtual CPU scheduling,I/O??bound

Full-Text   Cite this paper   Add to My Lib

Abstract:

针对多核平台的虚拟化环境中客户机与虚拟机管理器(virtual machine monitor, VMM)之间语义缝隙造成客户机I/O性能下降的问题,提出了一种基于I/O受限进程识别的虚拟处理器(virtual CPU, vCPU)调度机制。该机制在客户机内部利用推断技术识别I/O受限进程,通过客户机与VMM的协作实现I/O事件与I/O受限进程的关联,利用保证客户机之间公平性的虚拟对称多核处理器(virtual symmetric multi??core processor, vSMP) Internal调度算法,优先调度与I/O事件关联的I/O受限进程所在的vCPU来桥接客户机与VMM之间的语义缝隙,提高拥有vSMP的客户机中I/O负载性能。测试结果表明,相比于KVM虚拟化环境的CFS调度机制,该机制可以在保证客户机CPU公平性的前提下,有效提升运行混合负载的vSMP客户机中I/O负载性能,同时只增加较小的客户机额外开销,可以应用在负载多样性和不可预测性的虚拟桌面和云计算环境中。
A novel I/O??aware virtual CPU (vCPU) scheduling mechanism in virtualized environments based on multi??core platform is proposed to eliminate the semantic gap between guest and virtual machine monitor (VMM) that dramatically degrades the performance of I/O??bound workloads in virtual symmetric multi??core processor (vSMP) virtual machine (VM). Inference techniques are used to identify the I/O??bound tasks, and the I/O??bound tasks and I/O events are correlated through the coordination between the guest operating system and VMM. Then the correlation information is used to bridge the semantic gap by a vSMP Internal algorithm so that a vCPU with I/O??bound task can selectively be scheduled to handle its incoming events promptly with ensured fairness among VMs. Extensive evaluations and comparisons with the CFS scheduler used by the KVM virtual machine monitor show that the proposed mechanism significantly improves I/O performance of vSMP VMs with ensured CPU fairness, and little overhead is introduced to guest. Therefore, the proposed mechanism is widely applicable in such environments with unpredictable and varying workloads as virtual desktop and cloud computing

References

[1]  [1]金海, 钟阿林, 吴松, 等. 多核环境下虚拟机VCPU调度研究: 问题与挑战 [J]. 计算机研究与发展, 2011, 48(7): 1216??1224.
[2]  [9]KIM H, KIM S, JEONG J, et al. Virtual asymmetric multiprocessor for interactive performance of consolidated desktops [C]∥Proceedings of the 10th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments. New York, USA: ACM, 2014: 29??40.
[3]  [10]XU Cong, GAMAGE S, LU Hui, et al. vTurbo: accelerating virtual machine I/O processing using designated turbo??sliced core [C]∥Proceedings of the 2013 USENIX Conference on Annual Technical Conference. Berkeley, CA, USA: USENIX, 2013: 243??254.
[4]  [11]CHENG Luwei, WANG Choli. vBalance: using interrupt load balance to improve I/O performance for SMP virtual machines [C]∥Proceedings of the Third ACM Symposium on Cloud Computing. New York, USA: ACM, 2012: 1??14.
[5]  [12]RUSSELL R. Virtio: towards a de??facto standard for virtual I/O devices [J]. ACM SIGOPS Operating Systems Review: Research and Developments in the Linux Kernel, 2008, 42(5): 95??103.
[6]  [13]ADAMS K, AGESEN O. A comparison of software and hardware techniques for x86 virtualization [C]∥Proceedings of the 12th International Conference on Architectural Support for Programming Languages and Operating Systems. New York, USA: ACM, 2006: 2??13.
[7]  [14]KIVITY A, KAMAY Y, LAOR D, et al. KVM: the Linux virtual machine monitor [J]. Proceedings of the Linux Symposium, 2007, 1: 225??230.
[8]  [15]KRISHNAKUMAR R. Kernel korner: kprobes??a kernel debugger [J]. Linux Journal, 2005, 2005(133): 11.
[9]  [16]MOLNAR I. Modular scheduler core and completely fair scheduler [EB/OL]. (2007??04??13) [2014??06??26]. http:∥lwn.net/Articles/230501.
[10]  [3]SONG Xiang, SHI Jicheng, CHEN Haibo, et al. Schedule processes, not VCPUs [C]∥Proceedings of the 4th Asia??Pacific Workshop on Systems. New York, USA: ACM, 2013: 1??7.
[11]  [4]XU Fei, LIU Fangming, JIN Hai, et al. Managing performance overhead of virtual machines in cloud computing: a survey, state of the art, and future directions [J]. Proceedings of the IEEE, 2014, 102(1): 11??31.
[12]  [7]UHLIG R, SMITH L, NEIGER G, et al. Intel virtualization technology [J]. Computer, 2005, 38(5): 48??56.
[13]  [8]Advanced Micro Devices. AMD64 virtualization codenamed “Pacifica” technology: secure virtual machine architecture reference manual [M]. Sunnyval, CA, USA: AMD, 2005: 49??51.
[14]  JIN Hai, ZHONG Alin, WU Song, et al. Virtual machine VCPU scheduling in the multi??core environment: issues and challenges [J]. Journal of Computer Research and Development, 2011, 48(7): 1216??1224.
[15]  [2]CHEN P M, NOBLE B D. When virtual is better than real [C]∥Proceedings of the 8th Workshop on Hot Topics in Operating Systems. Piscataway, NJ, USA: IEEE, 2001: 133??138.
[16]  [5]BARHAM P, DRAGOVIC B, FRASER K, et al. Xen and the art of virtualization [C]∥Proceedings of the 19th ACM Symposium on Operating Systems Principles. New York, USA: ACM, 2003: 164??177.
[17]  [6]KIM H, LIM H, JEONG J, et al. Transparently bridging semantic gap in CPU management for virtualized environments [J]. Journal of Parallel and Distributed Computing, 2011, 71(6): 758??773.

Full-Text

Contact Us

service@oalib.com

QQ:3279437679

WhatsApp +8615387084133