Optimizing Total Migration Time in Virtual Machine Live Migration

Total Page:16

File Type:pdf, Size:1020Kb

Optimizing Total Migration Time in Virtual Machine Live Migration IT 13 016 Examensarbete 30 hp Mars 2013 Optimizing Total Migration Time in Virtual Machine Live Migration Erik Gustafsson Institutionen för informationsteknologi Department of Information Technology Abstract Optimizing Total Migration Time in Virtual Machine Live Migration Erik Gustafsson Teknisk- naturvetenskaplig fakultet UTH-enheten The ability to migrate a virtual machine (VM) from one physical host to another is important in a number of cases such as power management, on-line Besöksadress: maintenance, and load-balancing. The amount of memory used in VMs have been Ångströmlaboratoriet Lägerhyddsvägen 1 steadily increasing up to several gigabytes. Consequently, the time to migrate Hus 4, Plan 0 machines, the total migration time, has been increasing. The aim of this thesis is to reduce the total migration time. Postadress: Box 536 751 21 Uppsala Previous work aimed at reducing the amount of time and disk space required for saving checkpoint images of virtual machines by excluding data from the memory that Telefon: is duplicated on the disk of the VM. Other work aimed at reducing the time to 018 – 471 30 03 restore a VM from a checkpoint by only loading a subset of data before resuming the Telefax: VM and marking the other memory as invalid. These techniques have been adapted 018 – 471 30 00 and applied to virtual machine live migration to reduce the total migration time. The implemented technique excludes sending duplicate data that exists on disk and Hemsida: resumes the VM before all memory has been loaded. http://www.teknat.uu.se/student The proposed technique has been implemented for fully virtualized guests in Xen 4.1. The results of research conducted with a number of benchmarks demonstrate that there is an average 44% reduction of the total migration time. Handledare: Bernhard Egger Ämnesgranskare: Philipp Rümmer Examinator: Ivan Christoff IT 13 016 Tryckt av: Reprocentralen ITC Acknowledgements I would sincerely like to thank Professor Bernhard Egger at Seoul National Uni- versity helping to supervise me during this thesis. I would also like to thank Professor Philipp Ruemmer at Uppsala University for reviewing my thesis. I would also like to dedicate this thesis to my lovingly special someone, Alek- sandra Oletic. i Contents Acknowledgements i Contents ii List of Figures iv Acronyms v 1 Introduction 1 1.1 Overview . .1 1.2 Live Migration . .1 1.3 Motivation and Problem Definition . .2 1.4 Contributions . .2 1.5 Outline . .2 2 Virtual Machine Monitors, Xen, and Memory Management 4 2.1 Overview . .4 2.2 Paravirtualization . .5 2.3 Hardware Assisted Virtualization . .5 2.4 Memory Management and Page Tables . .6 2.5 The Page Cache . .6 3 Related Work 7 3.1 Introduction . .7 3.2 Performance Measurements . .7 3.3 Live Migration Methods and Techniques . .8 3.3.1 Iterative Pre-Copy . .8 3.3.2 Memory Compression of Pre-Copy . .8 3.3.3 Post-Copy . .9 3.3.4 System Trace and Replay . .9 3.3.5 SonicMigration with Paravirtualized Guests . 10 3.3.6 Discussion of Live Migration Techniques . 10 3.4 Checkpoint Methods and Techniques . 11 3.4.1 Efficiently Checkpointing a Virtual Machine . 11 ii 3.4.2 Fast Restore of Checkpointed Memory using Working Set Estimation . 12 4 Proposed Solution to Optimize Total Migration Time 13 4.1 Page Cache Elimination . 13 4.2 Page Cache Data Loaded at the Destination Host . 15 4.3 Maintaining Consistency . 17 5 Implementation Details 20 5.1 Live Migration . 20 5.2 Pre-fetch Restore . 20 5.2.1 The Page Fault Handler . 20 5.2.2 Intercepting I/O to Maintain Consistency . 21 5.2.3 Optimizations . 22 6 Results 24 6.1 Experimental Setup . 24 6.2 Results . 25 6.3 Comparison with Other Methods . 32 6.3.1 Memory Compression . 32 6.3.2 Post-Copy . 32 6.3.3 Trace and Replay . 32 6.3.4 SonicMigration with Paravirtualized Guests . 33 7 Conclusion and Future Work 34 7.1 Conclusions . 34 7.2 Future Work . 34 Bibliography 36 iii List of Figures 2.1 Structure of Xen . .4 4.1 Network Topology . 13 4.2 Time-line Overview . 15 4.3 Simplified Architecture . 16 4.4 Violation cases . 18 5.1 Execution Trace over the Sector Accessed . 23 6.1 Total migration time normalized to unmodified Xen . 26 6.2 Downtime normalized to unmodified Xen . 26 6.3 Total data transferred . 28 6.4 Data sent over the network . 29 6.5 Performance degradation normalized to unmodified Xen . 30 iv Acronyms dom0 domain 0. domU user domain. EPT Extended Page Tables. HVM hardware virtual machine. MFN machine frame number. MMU memory management unit. NAS Network Attached Storage. NPT Nested Page Tables. PFN page frame number. PTE page table entry. SPT shadow page table. SSD solid-state drive. VCPU virtual CPU. VM virtual machine. v 1 Introduction 1.1 Overview In recent years, server virtualization has seen a steady increase of attention and popularity due to a multitude of factors. Virtualization [7] is the principle of providing a virtual interface for hardware. A virtual interface can create inde- pendence from the physical hardware by providing a layer of abstraction that accesses the hardware. A virtual machine [17] is a machine that runs in a vir- tualized environment as opposed to directly on hardware. Decoupling the OS from the physical machine by virtualization has enabled several techniques and methods to be employed such as power management capabilities, on-line maintenance, and load balancing which is enabled by the ability to move a virtual machine from one physical host to another. These capabilities can be achieved because the state of the virtual machine, the virtual CPUs (VCPUs), the memory, and any attached device can be recorded. The state can then be transferred to another physical host which enables the same virtual interface to the hardware where the virtual machine can be re- sumed. The process of moving the state from a physical host to another is called migration. Running several virtual machines on one physical server allows pooling of re- sources together to provide better power management [14]. Moving a virtual machine from one physical server to another provides cluster environments to do on-line maintenance [13]. Load balancing can be achieved by dynamically moving and allocating virtual machines across a cluster of physical hosts [22]. The use of each of these techniques requires the ability to efficiently move the virtual machine between physical hosts, and is called virtual machine migration. 1.2 Live Migration Live migration builds upon the idea of migration and takes it a step further. The "live" in live migration pertains to the fact that the migration should be 1 transparent to the users. As a consequence, the guest OS should be running during the migration. The downtime is the time it takes for the source host to suspend execution of the virtual machine (VM) until the destination host resumes it. The VM should not be stopped for a considerable amount of time in order for the it to be usable during the migration and thereby transparent to the users who ideally are not aware of the migration occurring. 1.3 Motivation and Problem Definition The aim of this thesis is to further improve upon and to reduce the the total migration time of virtual machine live migration. The total migration time is the time it takes from when the migration is initiated for a VM on the source host until the VM is resumed on the destination host. In order to be able to provide the capability of live migration, a low downtime is required. Downtime is the time during which the virtual machine is not responsive. Suspending the state of the VM includes pausing the VCPUs as well as other connected devices. Extensive work has previously been done to reduce the downtime but less work has been done focusing on reducing the total migration time. Total migration time can be very important in data centers since a reduction in total migration time improves load balancing, proactive fault tolerance, and power management capabilities. 1.4 Contributions The contributions of this thesis are: • A technique is presented that reduces the total migration time by sending only a critical subset of data through the network. We identify and cor- rectly handle all scenarios that could lead to a corrupt memory image or disk of the VM during and after the migration. • The proposed technique has been implemented in Xen 4.1 and various benchmarks have been conducted with fully-virtualized Linux guests. • The results have been analyzed compared to the performance of the orig- inal Xen implementation. The total migration time is reduced by 40.48 seconds on average which corresponds to a 44% relative reduction. 1.5 Outline The thesis is structured as follows. Chapter 1 introduces to the thesis topic. Chapter 2 continues with an introduction to virtualization concepts and tools used. Chapter 3 presents a discussion of related and previous works. Thereafter, Chapter 4 proposes a solution to the problems discussed. Chapter 5 presents 2 an discussion about implementation details. Chapter 6 provides an in-depth analysis of the solution. Chapter 7 concludes the thesis and discusses future work. 3 2 Virtual Machine Monitors, Xen, and Memory Management The following sections in this chapter discusses important background informa- tion abut virtualization, tools used, and a brief overview of relevant computer architecture. A basic knowledge of computer architecture is assumed and can be found in [17]. 2.1 Overview Xen is an open source bare metal hypervisor [1]. A hypervisor is a virtualization layer on top of the hardware that runs virtual machines.
Recommended publications
  • Copy on Write Based File Systems Performance Analysis and Implementation
    Copy On Write Based File Systems Performance Analysis And Implementation Sakis Kasampalis Kongens Lyngby 2010 IMM-MSC-2010-63 Technical University of Denmark Department Of Informatics Building 321, DK-2800 Kongens Lyngby, Denmark Phone +45 45253351, Fax +45 45882673 [email protected] www.imm.dtu.dk Abstract In this work I am focusing on Copy On Write based file systems. Copy On Write is used on modern file systems for providing (1) metadata and data consistency using transactional semantics, (2) cheap and instant backups using snapshots and clones. This thesis is divided into two main parts. The first part focuses on the design and performance of Copy On Write based file systems. Recent efforts aiming at creating a Copy On Write based file system are ZFS, Btrfs, ext3cow, Hammer, and LLFS. My work focuses only on ZFS and Btrfs, since they support the most advanced features. The main goals of ZFS and Btrfs are to offer a scalable, fault tolerant, and easy to administrate file system. I evaluate the performance and scalability of ZFS and Btrfs. The evaluation includes studying their design and testing their performance and scalability against a set of recommended file system benchmarks. Most computers are already based on multi-core and multiple processor architec- tures. Because of that, the need for using concurrent programming models has increased. Transactions can be very helpful for supporting concurrent program- ming models, which ensure that system updates are consistent. Unfortunately, the majority of operating systems and file systems either do not support trans- actions at all, or they simply do not expose them to the users.
    [Show full text]
  • The Page Cache Today’S Lecture RCU File System Networking(Kernel Level Syncmem
    2/21/20 COMP 790: OS Implementation COMP 790: OS Implementation Logical Diagram Binary Memory Threads Formats Allocators User System Calls Kernel The Page Cache Today’s Lecture RCU File System Networking(kernel level Syncmem. Don Porter management) Memory Device CPU Management Drivers Scheduler Hardware Interrupts Disk Net Consistency 1 2 1 2 COMP 790: OS Implementation COMP 790: OS Implementation Recap of previous lectures Background • Page tables: translate virtual addresses to physical • Lab2: Track physical pages with an array of PageInfo addresses structs • VM Areas (Linux): track what should be mapped at in – Contains reference counts the virtual address space of a process – Free list layered over this array • Hoard/Linux slab: Efficient allocation of objects from • Just like JOS, Linux represents physical memory with a superblock/slab of pages an array of page structs – Obviously, not the exact same contents, but same idea • Pages can be allocated to processes, or to cache file data in memory 3 4 3 4 COMP 790: OS Implementation COMP 790: OS Implementation Today’s Problem The address space abstraction • Given a VMA or a file’s inode, how do I figure out • Unifying abstraction: which physical pages are storing its data? – Each file inode has an address space (0—file size) • Next lecture: We will go the other way, from a – So do block devices that cache data in RAM (0---dev size) physical page back to the VMA or file inode – The (anonymous) virtual memory of a process has an address space (0—4GB on x86) • In other words, all page
    [Show full text]
  • Dynamically Tuning the JFS Cache for Your Job Sjoerd Visser Dynamically Tuning the JFS Cache for Your Job Sjoerd Visser
    Dynamically Tuning the JFS Cache for Your Job Sjoerd Visser Dynamically Tuning the JFS Cache for Your Job Sjoerd Visser The purpose of this presentation is the explanation of: IBM JFS goals: Where was Journaled File System (JFS) designed for? JFS cache design: How the JFS File System and Cache work. JFS benchmarking: How to measure JFS performance under OS/2. JFS cache tuning: How to optimize JFS performance for your job. What do these settings say to you? [E:\]cachejfs SyncTime: 8 seconds MaxAge: 30 seconds BufferIdle: 6 seconds Cache Size: 400000 kbytes Min Free buffers: 8000 ( 32000 K) Max Free buffers: 16000 ( 64000 K) Lazy Write is enabled Do you have a feeling for this? Do you understand the dynamic cache behaviour of the JFS cache? Or do you just rely on the “proven” cachejfs settings that the eCS installation presented to you? Do you realise that the JFS cache behaviour may be optimized for your jobs? November 13, 2009 / page 2 Dynamically Tuning the JFS Cache for Your Job Sjoerd Visser Where was Journaled File System (JFS) designed for? 1986 Advanced Interactive eXecutive (AIX) v.1 based on UNIX System V. for IBM's RT/PC. 1990 JFS1 on AIX was introduced with AIX version 3.1 for the RS/6000 workstations and servers using 32-bit and later 64-bit IBM POWER or PowerPC RISC CPUs. 1994 JFS1 was adapted for SMP servers (AIX 4) with more CPU power, many hard disks and plenty of RAM for cache and buffers. 1995-2000 JFS(2) (revised AIX independent version in c) was ported to OS/2 4.5 (1999) and Linux (2000) and also was the base code of the current JFS2 on AIX branch.
    [Show full text]
  • NOVA: a Log-Structured File System for Hybrid Volatile/Non
    NOVA: A Log-structured File System for Hybrid Volatile/Non-volatile Main Memories Jian Xu and Steven Swanson, University of California, San Diego https://www.usenix.org/conference/fast16/technical-sessions/presentation/xu This paper is included in the Proceedings of the 14th USENIX Conference on File and Storage Technologies (FAST ’16). February 22–25, 2016 • Santa Clara, CA, USA ISBN 978-1-931971-28-7 Open access to the Proceedings of the 14th USENIX Conference on File and Storage Technologies is sponsored by USENIX NOVA: A Log-structured File System for Hybrid Volatile/Non-volatile Main Memories Jian Xu Steven Swanson University of California, San Diego Abstract Hybrid DRAM/NVMM storage systems present a host of opportunities and challenges for system designers. These sys- Fast non-volatile memories (NVMs) will soon appear on tems need to minimize software overhead if they are to fully the processor memory bus alongside DRAM. The result- exploit NVMM’s high performance and efficiently support ing hybrid memory systems will provide software with sub- more flexible access patterns, and at the same time they must microsecond, high-bandwidth access to persistent data, but provide the strong consistency guarantees that applications managing, accessing, and maintaining consistency for data require and respect the limitations of emerging memories stored in NVM raises a host of challenges. Existing file sys- (e.g., limited program cycles). tems built for spinning or solid-state disks introduce software Conventional file systems are not suitable for hybrid mem- overheads that would obscure the performance that NVMs ory systems because they are built for the performance char- should provide, but proposed file systems for NVMs either in- acteristics of disks (spinning or solid state) and rely on disks’ cur similar overheads or fail to provide the strong consistency consistency guarantees (e.g., that sector updates are atomic) guarantees that applications require.
    [Show full text]
  • Hibachi: a Cooperative Hybrid Cache with NVRAM and DRAM for Storage Arrays
    Hibachi: A Cooperative Hybrid Cache with NVRAM and DRAM for Storage Arrays Ziqi Fan, Fenggang Wu, Dongchul Parkx, Jim Diehl, Doug Voigty, and David H.C. Du University of Minnesota–Twin Cities, xIntel Corporation, yHewlett Packard Enterprise Email: [email protected], ffenggang, park, [email protected], [email protected], [email protected] Abstract—Adopting newer non-volatile memory (NVRAM) Application Application Application technologies as write buffers in slower storage arrays is a promising approach to improve write performance. However, due OS … OS … OS to DRAM’s merits, including shorter access latency and lower Buffer/Cache Buffer/Cache Buffer/Cache cost, it is still desirable to incorporate DRAM as a read cache along with NVRAM. Although numerous cache policies have been Application, web or proposed, most are either targeted at main memory buffer caches, database servers or manage NVRAM as write buffers and separately manage DRAM as read caches. To the best of our knowledge, cooperative hybrid volatile and non-volatile memory buffer cache policies specifically designed for storage systems using newer NVRAM Storage Area technologies have not been well studied. Network (SAN) This paper, based on our elaborate study of storage server Hibachi Cache block I/O traces, proposes a novel cooperative HybrId NVRAM DRAM NVRAM and DRAM Buffer cACHe polIcy for storage arrays, named Hibachi. Hibachi treats read cache hits and write cache hits differently to maximize cache hit rates and judiciously adjusts the clean and the dirty cache sizes to capture workloads’ tendencies. In addition, it converts random writes to sequential writes for high disk write throughput and further exploits storage server I/O workload characteristics to improve read performance.
    [Show full text]
  • Data Storage on Unix
    Data Storage on Unix Patrick Louis 2017-11-05 Published online on venam.nixers.net © Patrick Louis 2017 This publication is in copyright. Subject to statutory exception and to the provision of relevant collective licensing agreements, no reproduction of any part may take place without the written permission of the rightful author. First published eBook format 2017 The author has no responsibility for the persistence or accuracy of urls for external or third-party internet websites referred to in this publication, and does not guarantee that any content on such websites is, or will remain, accurate or appropriate. Contents Introduction 4 Ideas and Concepts 5 The Overall Generic Architecture 6 Lowest Level - Hardware & Limitation 8 The Medium ................................ 8 Connectors ................................. 10 The Drivers ................................. 14 A Mention on Block Devices and the Block Layer ......... 16 Mid Level - Partitions and Volumes Organisation 18 What’s a partitions ............................. 21 High Level 24 A Big Overview of FS ........................... 24 FS Examples ............................. 27 A Bit About History and the Origin of Unix FS .......... 28 VFS & POSIX I/O Layer ...................... 28 POSIX I/O 31 Management, Commands, & Forensic 32 Conclusion 33 Bibliography 34 3 Introduction Libraries and banks, amongst other institutions, used to have a filing system, some still have them. They had drawers, holders, and many tools to store the paperwork and organise it so that they could easily retrieve, through some documented process, at a later stage whatever they needed. That’s where the name filesystem in the computer world emerges from and this is oneofthe subject of this episode. We’re going to discuss data storage on Unix with some discussion about filesys- tem and an emphasis on storage device.
    [Show full text]
  • A Performance Study of VM Live Migration Over the WAN
    Master Thesis Electrical Engineering April 2015 A Performance Study of VM Live Migration over the WAN TAHA MOHAMMAD CHANDRA SEKHAR EATI Department of Communication Systems Blekinge Institute of Technology SE-371 79 Karlskrona Sweden This thesis is submitted to the School of Computing at Blekinge Institute of Technology in partial fulfillment of the requirements for the degree of Master of Science in Electrical Engineering on Telecommunication Systems. The thesis is equivalent to 40 weeks of full time studies. Contact Information: Author(s): Taha Mohammad, Chandra Sekhar Eati. E-mail: [email protected], [email protected]. University advisor(s): Dr. Dragos Ilie, Department of Communication Systems. University Examiner(s): Prof. Kurt Tutschku, Department of Communication Systems. School of Computing Blekinge Institute of Technology Internet : www.bth.se SE-371 79 Karlskrona Phone : +46 455 38 50 00 Sweden Fax : +46 455 38 50 57 Abstract Virtualization is the key technology that has provided the Cloud computing platforms a new way for small and large enterprises to host their applications by renting the available resources. Live VM migration allows a Virtual Machine to be transferred form one host to another while the Virtual Machine is active and running. The main challenge in Live migration over WAN is maintaining the network connectivity during and after the migration. We have carried out live VM migration over the WAN migrating different sizes of VM memory states and presented our solutions based on Open vSwitch/VXLAN and Cisco GRE approaches. VXLAN provides the mobility support needed to maintain the network connectivity between the client and the Virtual machine.
    [Show full text]
  • Arxiv:1901.01161V1 [Cs.CR] 4 Jan 2019
    Page Cache Attacks Daniel Gruss1, Erik Kraft1, Trishita Tiwari2, Michael Schwarz1, Ari Trachtenberg2, Jason Hennessey3, Alex Ionescu4, Anders Fogh5 1 Graz University of Technology, 2 Boston University, 3 NetApp, 4 CrowdStrike, 5 Intel Corporation Abstract last twenty years [3, 40, 53]. Osvik et al. [51] showed that an attacker can observe the cache state at the granularity of We present a new hardware-agnostic side-channel attack that a cache set using Prime+Probe, and later Yarom et al. [77] targets one of the most fundamental software caches in mod- showed this with cache line granularity using Flush+Reload. ern computer systems: the operating system page cache. The While different cache attacks have different use cases, the page cache is a pure software cache that contains all disk- accuracy of Flush+Reload remains unrivaled. backed pages, including program binaries, shared libraries, Indeed, virtually all Flush+Reload attacks target pages in and other files, and our attacks thus work across cores and the so-called page cache [30, 33, 34, 35, 42, 77]. The page CPUs. Our side-channel permits unprivileged monitoring of cache is a pure software cache implemented in all major op- some memory accesses of other processes, with a spatial res- erating systems today, and it contains virtually all pages in olution of 4 kB and a temporal resolution of 2 µs on Linux use. Pages that contain data accessible to multiple programs, (restricted to 6:7 measurements per second) and 466 ns on such as disk-backed pages (e.g., program binaries, shared li- Windows (restricted to 223 measurements per second); this braries, other files, etc.), are shared among all processes re- is roughly the same order of magnitude as the current state- gardless of privilege and permission boundaries [24].
    [Show full text]
  • An Updated Overview of the QEMU Storage Stack
    An Updated Overview of the QEMU Storage Stack Stefan Hajnoczi ± [email protected] Open Virtualization IBM Linux Technology Center 2011 Linux is a registered trademark of Linus Torvalds. The topic ● What is the QEMU storage stack? ● Configuring the storage stack ● Recent and future developments – “Cautionary statement regarding forward- looking statements” QEMU and its uses ● “QEMU is a generic and open source machine emulator and virtualizer” – http://www.qemu.org/ ● Emulation: – For cross-compilation, development environments – Android Emulator, shipping in an Android SDK near you ● Virtualization: – KVM and Xen use QEMU device emulation Storage in QEMU ● Devices and media: – Floppy, CD-ROM, USB stick, SD card, harddisk ● Host storage: – Flat files (img, iso) ● Also over NFS – CD-ROM host device (/dev/cdrom) – Block devices (/dev/sda3, LVM volumes, iSCSI LUNs) – Distributed storage (Sheepdog, Ceph) QEMU -drive option qemu -drive if=ide|virtio|scsi, file=path/to/img, cache=writethrough|writeback|none|unsafe ● Storage interface is set with if= ● Path to image file or device is set with path= ● Caching mode is set with cache= ● More on what this means later, but first the picture of the overall storage stack... The QEMU storage stack Application ·Application and guest kernel work similar to bare metal. File system & block layer ·Guest talks to QEMU via Driver emulated hardware. Hardware emulation ·QEMU performs I/O to an image file on behalf of the Image format (optional) guest. File system & block layer ·Host kernel treats guest I/O like any userspace Driver application. Guest QEMU Host Seeing double ● There may be two file systems.
    [Show full text]
  • Redhat Virtualization Tuning and Optimization Guide
    Red Hat Enterprise Linux 7 Virtualization Tuning and Optimization Guide Using KVM performance features for host systems and virtualized guests on RHEL Last Updated: 2020-09-10 Red Hat Enterprise Linux 7 Virtualization Tuning and Optimization Guide Using KVM performance features for host systems and virtualized guests on RHEL Jiri Herrmann Red Hat Customer Content Services [email protected] Yehuda Zimmerman Red Hat Customer Content Services [email protected] Dayle Parker Red Hat Customer Content Services Scott Radvan Red Hat Customer Content Services Red Hat Subject Matter Experts Legal Notice Copyright © 2019 Red Hat, Inc. This document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0 Unported License. If you distribute this document, or a modified version of it, you must provide attribution to Red Hat, Inc. and provide a link to the original. If the document is modified, all Red Hat trademarks must be removed. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. Linux ® is the registered trademark of Linus Torvalds in the United States and other countries. Java ® is a registered trademark of Oracle and/or its affiliates. XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
    [Show full text]
  • Ovirt Architecture
    oVirt Architecture Itamar Heim Director, RHEV-M Engineering, Red Hat oVirt Engine Architecture 1 oVirt Engine Large scale, centralized management for server and desktop virtualization Based on leading performance, scalability and security infrastructure technologies oVirt Engine Architecture 2 Kenrel-based Virtual Machine (KVM) ● Included in Linux kernel since 2006 ● Runs Linux, Windows and other operating system guests ● Advanced features ● Live migration ● Memory page sharing ● Thin provisioning ● PCI Pass-through ● KVM architecture provides high “feature-velocity” – leverages the power of Linux oVirt Engine Architecture 3 Linux as a Hypervisor? ● What makes up a hypervisor ? ● Hardware management ● Device drivers ● I/O Stack ● Resource Management ● Scheduling ● Access Control ● Power Management ● Memory Manager ● Device Model (emulation) ● Virtual Machine Monitor oVirt Engine Architecture 4 Linux as a Hypervisor? ● What makes up a hypervisor ? ● Hardware management ● Device drivers ● I/O Stack ● Resource Management Operating System Kernel ● Scheduling ● Access Control ● Power Management ● } Memory Manager ● Device Model (emulation) ● Virtual Machine Monitor oVirt Engine Architecture 5 Linux as a Hypervisor? How well does Linux perform as a hypervisor? Isn't Linux a general purpose operating system? Linux is architected to scale from the smallest embedded systems through to the largest multi-socket servers ● From cell phones through to mainframes KVM benefits from mature, time tested infrastructure ● Powerful, scalable memory manager
    [Show full text]
  • HAC: Hybrid Adaptive Caching for Distributed Storage Systems
    Appears in the Proceedings of the ACM Symposium on Operating System Principles (SOSP '97), Saint-Malo, France, October 1997 HAC: Hybrid Adaptive Caching for Distributed Storage Systems Miguel Castro Atul Adya Barbara Liskov Andrew C. Myers MIT Laboratory for Computer Science, 545 Technology Square, Cambridge, MA 02139 castro,adya,liskov,andru ¡ @lcs.mit.edu Abstract These systems cache recently used information at client ma- chines to provide low access latency and good scalability. This paper presents HAC, a novel technique for managing the This paper presents a new hybrid adaptive caching tech- client cache in a distributed, persistent object storage sys- nique, HAC, which combines page and object caching to tem. HAC is a hybrid between page and object caching that reduce the miss rate in client caches dramatically. The combines the virtues of both while avoiding their disadvan- approach provides improved performance over earlier ap- tages. It achieves the low miss penalties of a page-caching proaches Ð by more than an order of magnitude on com- system, but is able to perform well even when locality is poor, mon workloads. HAC was developed for use in a persistent since it can discard pages while retaining their hot objects. object store but could be applied more generally, if provided It realizes the potentially lower miss rates of object-caching information about object boundaries. For example, it could systems, yet avoids their problems of fragmentation and high be used in managing a cache of ®le system data, if an ap- overheads. Furthermore, HAC is adaptive: when locality is plication provided information about locations in a ®le that good it behaves like a page-caching system, while if locality correspond to object boundaries.
    [Show full text]