计算机工程

所属专题: 云计算专题

• 云计算专题 • 上一篇    下一篇

I/O密集型虚拟机的域间通信优化方法

郭松辉 1,2,李清宝 1,2,孙瑞辰 1,孙磊 1   

  1. (1.解放军信息工程大学 密码工程学院,郑州 450001; 2.数学工程与先进计算国家重点实验室,郑州 450001)
  • 收稿日期:2015-12-22 出版日期:2017-01-15 发布日期:2017-01-13
  • 作者简介:郭松辉(1979—),男,博士研究生,主研方向为云计算、虚拟化技术;李清宝,教授、博士、博士生导师;孙瑞辰,硕士研究生;孙磊,副研究员、博士。
  • 基金项目:
    国家“973”计划项目(2011CB311801)。

Inter-domain Communication Optimization Method of I/O Intensive Virtual Machines

GUO Songhui 1,2,LI Qingbao 1,2,SUN Ruichen 1,SUN Lei 1   

  1. (1.Cryptography Engineering Institute,PLA Information Engineering University,Zhengzhou 450001,China; 2.State Key Laboratory of Mathematical Engineering and Advanced Computing,Zhengzhou 450001,China)
  • Received:2015-12-22 Online:2017-01-15 Published:2017-01-13

摘要: I/O密集型虚拟机需要频繁地进行域间通信,为解决现有虚拟机域间通信效率低、延迟大的问题,提出一种基于双环形缓冲区的用户域与驱动域域间通信优化方法。在用户域中建立与驱动域共享的双环形缓冲区,由虚拟机监控器依据I/O任务表对驱动域的访问权限进行控制,减少处理器模式切换和内存映射开销。实验结果表明,与原虚拟机域间通信机制相比,使用该优化方法后的域间通信机制具有更高的吞吐率和更低的延迟,大幅提高了用户域与驱动域的域间通信性能。

关键词: I/O密集型虚拟机, 域间通信, 双环形缓冲区, 共享内存, 授权表

Abstract: The virtual machines which are I/O intensive need to communicate with each other frequently.In order to solve the problems of low efficiency and big latency in inter-domain communication of virtual machines,an inter-domain communiaction optimization method between driver domain and user domain based on Double Ring Buffer(DRB) is proposed.Two ring buffers in user domain are built to be shared with a driver domain,and the access rights of the driver domain is controlled by the virtual machines monitor according to I/O task tables,which reduces the overhead of processor mode switching and memory mapping.Experimental results show that the inter-domain communication mechanism after using the optimization method has higher throughput and lower delay compared with original inter-domain virtual machine communication mechanism,and it greatly improves the inter-domain communication performance of the user domain and drive domain.

Key words: I/O intensive virtual machine, inter-domain communication, Double Ring Buffer(DRB), shared memory, grant table

中图分类号: