Journal of Frontiers of Computer Science and Technology ›› 2011, Vol. 5 ›› Issue (6): 493-500.

• 学术研究 • Previous Articles     Next Articles

Detection and analysis of virtual machine exits

WANG Xiaolin1, ZHANG Binbin1, JIN Xinxin1, WANG Zhenlin2, LUO Yingwei1, LI Xiaoming1   

  1. 1. School of Electronics Engineering and Computer Science, Peking University, Beijing 100871, China 2. Department of Computer Science, Michigan Technological University, Michigan 49931-1295, USA
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-06-01 Published:2011-06-01

虚拟机陷出的检测及分析

汪小林1, 张彬彬1, 靳辛欣1, 王振林2, 罗英伟1, 李晓明1   

  1. 1. 北京大学 信息科学技术学院, 北京 100871
    2. 密西根理工大学 计算机系, 美国 密西根州 49931-1295

Abstract: It’s essential to learn about sensitive instructions that cause virtual machine (VM) to exit to the virtual machine monitor (VMM) to find new ways to optimize the performance of VM. This paper proposes a novel method, competition in bucket method (CBM), to track all VM exits efficiently, by mapping sensitive instructions to buckets according to instruction addresses, and find out hot instructions in each bucket.

Key words: virtualization, virtual machine monitor (VMM), hot instructions, virtual machine exits, competition in bucket method (CBM)

摘要: 虚拟机执行敏感指令时会陷出到虚拟机管理器(virtual machine monitor, VMM)处理, 虚拟机频繁陷出是影响虚拟化性能的重要因素, 因此全面了解导致陷出的敏感指令对虚拟化性能优化有重要意义。提出了一个创新性的方法“桶竞争法”(competition in bucket method, CBM), 通过把敏感指令的地址映射到不同的桶中, 采用竞争方式在各个桶内寻找陷出次数最多的几个地址, 能高效地跟踪所有的虚拟机陷出。

关键词: 虚拟化, 虚拟机管理器(VMM), 热指令, 虚拟机陷出, 桶竞争法(CBM)