Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering

Previous Articles     Next Articles

Research on a Stand-alone I / O Virtualization Method

SONG Yu,JIANG Lie-hui,DONG Wei-yu,CHEN Hui-chao   

  1. (State Key Laboratory of Mathematical Engineering and Advanced Computing,PLA Information Engineering University,Zhengzhou 450001,China)
  • Received:2013-09-16 Online:2014-10-15 Published:2014-10-13

一种独立式I / O 虚拟化方法研究

宋 聿,蒋烈辉,董卫宇,陈慧超   

  1. (解放军信息工程大学数学工程与先进计算国家重点实验室,郑州450001)
  • 作者简介:宋 聿(1988 - ),男,硕士研究生,主研方向:虚拟化技术;蒋烈辉,教授;董卫宇,副教授;陈慧超,硕士研究生。

Abstract: Because current virtualized devices in the system simulation process and I / O instructions execute serially, which can not play performance advantages of accelerated I / O access technical such as Direct Memory Access(DMA), asynchronous I / O in the real architecture,there is a certain gap between virtual platform I / O performance and the real I / O performance. To solve this problem,this paper presents a stand-alone I / O virtualization method,which separates the I / O simulation activities such as disk access from the Virtual Machine Monitor(VMM) only retained the appropriate interfaces by putting the activities in a stand-alone process to achieve I / O simulation and parallel instruction execution, and based on QEMU platform implements the method. Experimental results show that the I / O performance is better than the original QEMU I / O subsystem by this method. Because I / O instructions do not have to wait for I / O simulation ends, this method not only improves the speed of the CPU instruction execution,but also can effectively improve disk read speed by 4. 9% and increase software Viewpref VGA benchmark score by 9. 2% .

Key words: I / O virtualization, device simulation, Virtual Machine Monitor(VMM), asynchronous I / O, Direct Memory Access(DMA)

摘要: 当前虚拟化系统中的设备仿真过程与I / O 指令串行执行,无法发挥真实体系结构中直接存储器访问、异步I / O 等加速I / O 访问技术的性能优势,致使虚拟平台I / O 性能与真实I / O 性能存在一定差距。针对该问题,提出一种独立式I / O 虚拟化方法,通过将I / O 仿真活动(如磁盘读写)分离成一个独立的进程,虚拟机监控器(VMM)只保留相应的接口,达到将VMM 与I / O 设备分离实现仿真与指令并行化执行的目的,并基于QEMU 平台实现该方法。实验结果表明,采用该方法后的QEMU I / O 读写性能优于原有I / O 子系统。由于I / O 指令不必再等待I / O 仿真的结束,因此在提高CPU 指令执行速度的同时,能够有效提高4. 9% 的磁盘读取速度及9. 2% 的VGA 测试基准软件 Viewpref 得分。

关键词: I / O 虚拟化, 设备仿真, 虚拟机监控器, 异步I / O, 直接存储器访问

CLC Number: