标题: | 低负荷虚拟机器内部通讯 Lightweight Inter-Virtual-Machine Communication |
作者: | 张明絜 MingChieh Chang 张瑞川 Ruei Chuan Chang 资讯科学与工程研究所 |
关键字: | 虚拟机器;区域通讯;内部通讯;区域虚拟机器通讯;vitual machine;local communication;local inter machine communicatoin;inter-domain communication;inter-virtual machine communication |
公开日期: | 2004 |
摘要: | 复杂的应用与伺服器系统一般会利用multi-tier搭配machine redundancy来达到load balance与提升系统的reliability。这不但会造成硬体成本的提高,系统管理的困难,也会使得CPU 使用率大幅降低。除此之外,也因各系统均需要相互通讯,而使得内部与外部的通讯大量提升。虚拟机器技术提供了一个方式来降低机器数量与提升CPU 使用率。此外,它也提供了降低内部通讯负载量的机会。 一般而言,这些内部的通讯还是利用传统的网路通讯协定来达成。然而,有许多虚拟机器实际上是处于同一个实体机器上。根据这一点,我们可以利用简易的通讯协定来提升通讯的速度。 在此论文中,我们利用同一个实体机器的特性,设计了fast Inter Virtual-machine Communication (fast-IVC)的机制。该机制会在建立TCP/IP 连线时,主动判断收发端是否处于同一台实体机器上。若是,则改用较简单的通讯协定来取代原本TCP/IP通讯协定。根据实验,利用fast-IVC传递资料可以提升50%到150%的效能。 Complex applications or Internet services are usually constructed by multiple tiers and machine to improve reliability. However, it not only requires high hardware cost and expensive management overhead but also incurs both inter and intra machine communication overhead. Moreover, the CPU utilization of each machine is usually low since many services are I/O-bound and each machine performs a less-complicated function in the multiple-tier architecture. The virtual machine technology was proposed for consolidating the machines and improving the CPU utilization. In addition, it also provides an opportunity to reduce the overhead of the inter-machine communication. Generally, machines communicate with each other via network protocols. However, virtual machines reside on the same physical host, making it possible to improve the performance of the communication among them. In this thesis, we propose a mechanism called fast Inter Virtual-machine Communication (fast-IVC), which transparently turns the TCP/IP based network communication between two virtual machines on the same physical host into shared memory based communication. Fast-IVC will detect whether the communication endpoints reside on the same physical machine. If they are, the complex TCP/IP stack will be skipped transparently and the communication performance will be improved. We implement the fast-IVC on Xen. According to the performance results, the performance improvement ranges from 50% to 150%. |
URI: | http://140.113.39.130/cdrfb3/record/nctu/#GT009223572 http://hdl.handle.net/11536/76622 |
显示于类别: | Thesis |
文件中的档案:
If it is a zip file, please download the file and unzip it, then open index.html in a browser to view the full text content.