• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2015, Vol. 37 ›› Issue (05): 901-906.

• 论文 • Previous Articles     Next Articles

An improved realization method for GPU virtualization          

CHEN Zhijia,ZHU Yuanchang,DI Yanqiang,FENG Shaochong   

  1. (Department of Electronic and Optics,Ordnance Engineering College,Shijiazhuang 050003,China)
  • Received:2013-09-17 Revised:2014-01-09 Online:2015-05-25 Published:2015-05-25

Abstract:

In recent desktop cloud scenarios,a serious problem is that the 3D graphic processing performance of user virtual machines can not satisfy users’increasingly high requirements. In this paper,the main realization modes of GPU virtualization are first researched and analyzed.Then based on the above analysis of virtualization methods,a kind of new virtualization scenario comprising of VMM passthrough and API remoting is proposed. We utilize Hypervisor to create two kinds of virtual machines:one root virtual machine,named GVM that monopolizes the GPU resources and several child virtual machines named DVMs that don’t interact with GPU directly.The GVM shares GPU memory and command channels with the DVMs.Thus GPU calls from the child virtual machines can be transported to the GVM.Subsequently the GVM calls physical GPU and transports the results to the DVMs. The typical virtualization methods are tested and the results prove that the method can effectively improve the 3D graphic process performance of user virtual machines.

Key words: GPU virtualization;VMM pass-through;API remoting;GVM;DVM