When the virtual machine technique is applied to many fields such as the server integration, the communication inter virtual machines will be very complex and frequent, and so the communication mechanism of the virtual machines themselves will become a bottleneck. Currently, when one guest virtual machine in Xen wants to communicate with another on the same physical machine, it must extend the data transfer path and degrade the inter-domain communication performance. On the basis of an intensive study of the communication of the Xen virtual machines, it puts forward a communicating method based on the shared memory, which is used to improve the performance of the communication between different virtual machines on one physical machine. The experimental result shows that this method has greatly increased the communication bandwidth between virtual machines, and effectively balanced the CPU utilization of every virtual machine as well.%当虚拟机技术应用在服务器整合等领域时,虚拟机之间的通信会非常频繁.虚拟机本身的通信机制将成为瓶颈.目前,在Xen中不同的虚拟机间进行通信时,不仅通信路径长.而且虚拟机间的切换会造成很大的性能开销.在深人研究Xen虚拟机通信机制的基础上,提出了一种基于共享内存的通信方法,用于提高同一台物理机器上不同虚拟机之问通信的性能.实验结果表明,该方法极大地增加了虚拟机之间的通信带宽,并且有效平衡一f各个虚拟机的CPU利用率.
展开▼