Virt-LM: a Benchmark for Live Migration of Virtual Machine∗

Virt-LM: a Benchmark for Live Migration of Virtual Machine∗

Virt-LM: A Benchmark for Live Migration of Virtual Machine∗ Dawei Huang, Deshi Ye, Qinming He, Jianhai Chen, Kejiang Ye College of Computer Science, Zhejiang University Hangzhou, 310027, China {tossboyhdw,yedeshi,hqm,chenjh919,yekejiang}@zju.edu.cn ABSTRACT General Terms Virtualization technology has been widely applied in data Design, Measurement, Performance centers and IT infrastructures, with advantages of server consolidation and live migration. Through live migration, Keywords data centers could flexibly move virtual machines among different physical machines to balance workloads, reduce en- Benchmark, Data Center, Live Migration, Performance, Vir- ergy consumption and enhance service availability. tual Machine Today’s data centers can grow to a huge scale. This im- plies that frequent live migration would be desireble for the 1. INTRODUCTION economic use of hardware resources. Then, the performance Virtualization technology has been widely applied in data of the live migration strategy will be an issue. So, we need a centers and IT infrastructures, since it provides a solution reliant evaluation method to choose the software and hard- to the challenges of a data center: efficient hardware utiliza- ware environments that will produce the best live migration tion, reduced energy consumption, service availability and performance. reliability, and effective host management. Virtualization However, there is not a complete live migration bench- enables server consolidation without interfering with server mark available currently. In addition, the existing evaluation isolation. Even more excitingly, virtualization enables live methodologies select different metrics, different workloads migration. and different test means. Thus, it is difficult to compare Live migration means that a whole VM (Virtual Machine) their results. can be moved between different physical machines without In this paper we first survey the current research and their disconnecting the client or application. Consequently, a data evaluation methods on live migration. We then summarize center can flexibly remap hardware resources among virtual the critical issues for the live migration evaluation and also machines, to balance workload, save energy and enhance raise other unreported potential problems. service availability. We propose our solutions and present an implementation in our live migration benchmark – Virt-LM. This is a bench- 1.1 Motives of Live Migration Benchmark mark for comparing live migration performance among dif- Many of today’s data centers have grown to a massive ferent software and hardware environments in a data center scale. At Microsoft Management Summit 2008, Debra Chra- scenario. We detail its design and provide some experimen- paty said Microsoft was adding 10,000 servers a month. At tal results to validate its effectiveness. 2008 MYSQL User Conference and Expo, Jeff Rothschld revealed that Facebook’s data center possessed more than Categories and Subject Descriptors 30,000 servers. Such a huge scale implies there should be frequent live migration to ensure economic use of the hard- C.4 [Computer Systems Organization]: PERFORMANCE ware resources. OF SYSTEMS—Measurement techniques, Design studies; However, live migration costs. It consumes hardware re- D.2.8 [SOFTWARE ENGINEERING]: Metrics—Per- sources and network bandwidth. This will influence the formance measures QoS(Quality of Service). Many researchers are attracted ∗ to finding new migration strategies that have less impact. This work was supported by National 973 Fundamental Research Project of China (No. 2007CB310900). Data center administrators also have to configure a better hardware and software environment for live migration. In both cases, they must compare performance among differ- ent strategies and environments to validate their conclusion. Permission to make digital or hard copies of all or part of this work for A reliable and impartial evaluation approach is needed. personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies 1.2 Limitations of Existing Evaluation Method- bear this notice and the full citation on the first page. To copy otherwise, to ologies republish, to post on servers or to redistribute to lists, requires prior specific However, there is not an available live migration bench- permission and/or a fee. ICPE’11, March 14–16, 2011, Karlsruhe, Germany. mark, not to mention an authenticated one. On virtualiza- Copyright 2011 ACM 978-1-4503-0519-8/11/03 ...$10.00. tion, existing benchmarks are all dedicated to the server con- 307 solidation scenario. VMware developed VMmark [11]. Intel Load balancing. VMs are migrated from congested hosts developed vConsolidate [2]. SPEC released SPECvirt sc2010 [15]. to light ones to get optimal resource utilization, max- In current research on live migration, evaluation method- imize workload throughput and avoid overload. ologies are designed just to support their viewpoints. They choose different metrics, select different workloads and em- Online maintenance To free one physical machine for up- ploy different testing means. Thus, their performance re- grade or maintenance, all its VM servers are migrated sults are difficult to compare. Moreover, they don’t empha- away without disconnecting clients. As a result, sys- size some important aspects concerning their meaningful- tem reliability and availability is improved. ness, fairness and reliability. Power management. If many physical machines are light- To date recent research has only migrated VMs from an loaded, their VMs can be consolidated into fewer ones. idle physical machine in their tests. However, in a real data This frees some physical machines and saves power. center scenario, a VM is migrated from a busy machine to balance workloads. A busy machine consumes even more Varieties of live migration algorithms have been designed, resources when enabling live migration, and its performance and the prevailing ones are Pre-Copy techniques [3, 12, 18]. will degrade. Furthermore, existing research tests a migra- This have even been applied in WAN environments [1, 10, tion at only one or at particular times in the whole run of 5, 16]. The pre-Copy technique is designed to minimize VM a workload on a VM. However, when a VM server runs in a service downtime. It copies memory pages to the destination real scenario, it could be migrated at any moment and most node round after round while keeping the VM service still likely will produces different results. Consequently, applying available. When the applications’ writable working set be- the results from this research would not achieve a full fair- comes small enough, the VM is suspended and only its CPU ness and reliability. We will discuss more details and more state and dirty pages in the last round are sent out to the issues in Section 3. destination. In the pre-copy phase, although the VM service is still available, great service degradation can happen be- 1.3 Our Contribution cause the migration daemon continually consumes network To overcome these limitations, we improve the existing bandwidth to transfer the dirty pages in each iteration. evaluation methods and present an implementation in our Later research introduces approaches using memory com- live migration benchmark – Virt-LM. Our major contribu- pression [6] to reduce the network bandwidth consumption, tions are listed as follows. and others that use remote direct memory access [5] to re- i) This is a new design and implementation of a live migra- duce migration overhead. Other novel strategies include tion benchmark. Our benchmark Virt-LM can compare live Checking/Recovery and Trace/Replay approach [8] and Post- migration performance among different software and hard- Copy technique [4]. ware environments in a data center scenario. In a WAN environment, VM image files and local block de- ii) We define its specific design goals of the Virt-LM. We vices have to be transferred for migration. These implemen- give the reasons for its metrics and workloads choices, and tations include Collective [14], Internet Suspend/Resume [7] consider the issues about its meaningfulness, reliability, com- and uDenali [17]. Some work combines Pre-Copy with writ- parability and repeatability. Its design ensures it is easy to ing throttling [1], while some migrate the whole VM system use, stable to run and compatible with some VMM(Virtual using block-bitmap [10]. Machine Monitor) platforms. In industry, VMware and XenSource implement VMo- iii) The critical problems encountered when evaluating live tion [12] and XenMotion [3] in their virtualization products. migration performance are briefly explained. We identified They employ similar LAN schemes. Both migrate physi- the problems in Section 3.3.1 and 3.8 that have never been cal memory as well as network connections, and adopt the mentioned in the literature. We provide feasible solutions for Pre-Copy algorithm to reduce migration downtime for QoS. these problems, and give their implementations in Virt-LM. The rest of this paper is organized as follows. Section 2 2.2 Existing Evaluation Methodologies investigates the background of live VM migration, and sum- A huge scale data center may have to migrate its VMs marizes the limitations of existing evaluation methodologies. time and again to optimize the hardware utilization, balance Section 3 defines six design goals of the Virt-LM. It also ex- the workloads, save energy and keep the server maintained. plains several

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    10 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us