摘要
当前虚拟桌面实施方法中,终端用户对3D图形处理能力越来越高的要求与虚拟机GPU处理能力之间的矛盾逐渐凸显。为解决上述问题,对GPU虚拟化的典型实施方法进行了研究。在对上述虚拟化技术进行分析的基础上,介绍了一种改进的基于设备独占法和API remoting法的虚拟化方案。利用Hypervisor创建两种模式的虚拟机,分别为一台父虚拟机(GVM)和多台子虚拟机(DVM)。GVM完全独占物理GPU,而DVM与物理GPU无直接交互关系。两种模式虚拟机共享GPU内存以及指令通道,DVM中的GPU调用指令传递至GVM,通过GVM对物理GPU进行快速调用,将调用结果返回到共享内存空间,进而呈现给用户。最后对改进的GPU虚拟化方法与典型虚拟化方法进行了对比与分析,总结了其中的优缺点,梳理了将来的研究重点。
In recent desktop cloud scenarios,a serious problem is that the 3D graphic processing per- formance 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 chan- nels with the DVMs. Thus GPU calls from the child virtual machines can be transported to the GVM. Subsequently the GVM calls physical GPIU and transports the results to the DVMs. The typical virtual- ization methods are tested and the results prove that the method can effectively improve the 3D graphic process performance of user virtual machines.
出处
《计算机工程与科学》
CSCD
北大核心
2015年第5期901-906,共6页
Computer Engineering & Science
基金
装备预研基金(9140A04030213JB3401)