COLO: COarse-grain LOck-stepping Virtual Machine for Non-stop Service. Eddie Dong, Tao Hong, Xiaowei Yang

Similar documents
COLO: COarse-grain LOck-stepping Virtual Machine for Non-stop Service

Intel Media SDK Library Distribution and Dispatching Process

Intel Ethernet Switch Load Balancing System Design Using Advanced Features in Intel Ethernet Switch Family

Intel Desktop Board D945GCPE Specification Update

Vendor Update Intel 49 th IDC HPC User Forum. Mike Lafferty HPC Marketing Intel Americas Corp.

Intel Desktop Board D945GCPE

Intel Desktop Board DG41BI

Intel Desktop Board DG43RK

Intel Data Direct I/O Technology (Intel DDIO): A Primer >

Intel Desktop Board DG41TY

A Superior Hardware Platform for Server Virtualization

Intel Desktop Board DP55WB

Intel Desktop Board DG41WV

Intel Desktop Board DG31PR

Cloud based Holdfast Electronic Sports Game Platform

The Transition to PCI Express* for Client SSDs

Intel Desktop Board DQ965GF

Intel Identity Protection Technology (IPT)

Intel SSD 520 Series Specification Update

Intel Desktop Board DQ43AP

RAID and Storage Options Available on Intel Server Boards and Systems

Intel Service Assurance Administrator. Product Overview

Intel Identity Protection Technology Enabling improved user-friendly strong authentication in VASCO's latest generation solutions

Creating Overlay Networks Using Intel Ethernet Converged Network Adapters

Intel Virtualization Technology (VT) in Converged Application Platforms

Intel Desktop Board DQ35JO

Intel Cloud Builder Guide: Cloud Design and Deployment on Intel Platforms

The Case for Rack Scale Architecture

Intel Desktop Board D945GCL

Running Windows 8 on top of Android with KVM. 21 October Zhi Wang, Jun Nakajima, Jack Ren

Accelerating High-Speed Networking with Intel I/O Acceleration Technology

VNF & Performance: A practical approach

How to Configure Intel X520 Ethernet Server Adapter Based Virtual Functions on Citrix* XenServer 6.0*

This guide explains how to install an Intel Solid-State Drive (Intel SSD) in a SATA-based desktop or notebook computer.

Intel Network Builders: Lanner and Intel Building the Best Network Security Platforms

Different NFV/SDN Solutions for Telecoms and Enterprise Cloud

Intel Desktop Board DG965RY

Intel Desktop Board DG33TL

Intel Ethernet and Configuring Single Root I/O Virtualization (SR-IOV) on Microsoft* Windows* Server 2012 Hyper-V. Technical Brief v1.

Intel Desktop Board DP43BF

Intel Matrix Storage Console

Benefits of Intel Matrix Storage Technology

Intel Core i5 processor 520E CPU Embedded Application Power Guideline Addendum January 2011

Intel Solid-State Drive Pro 2500 Series Opal* Compatibility Guide

Intel Virtualization Technology FlexMigration Application Note

Intel Cyber Security Briefing: Trends, Solutions, and Opportunities. Matthew Rosenquist, Cyber Security Strategist, Intel Corp

Intel Media Server Studio - Metrics Monitor (v1.1.0) Reference Manual

Achieving Real-Time Performance on a Virtualized Industrial Control Platform

Hybrid Virtualization The Next Generation of XenLinux

Intel Cloud Builder Guide to Cloud Design and Deployment on Intel Xeon Processor-based Platforms

How to Configure Intel Ethernet Converged Network Adapter-Enabled Virtual Functions on VMware* ESXi* 5.1

RAID and Storage Options Available on Intel Server Boards and Systems based on Intel 5500/5520 and 3420 PCH Chipset

Leading Virtualization 2.0

New Dimensions in Configurable Computing at runtime simultaneously allows Big Data and fine Grain HPC

How To Get A Client Side Virtualization Solution For Your Financial Services Business

新 一 代 軟 體 定 義 的 網 路 架 構 Software Defined Networking (SDN) and Network Function Virtualization (NFV)

Intel 810 and 815 Chipset Family Dynamic Video Memory Technology

with PKI Use Case Guide

Intel Storage System SSR212CC Enclosure Management Software Installation Guide For Red Hat* Enterprise Linux

Intel Extreme Memory Profile (Intel XMP) DDR3 Technology

Intel Desktop Board D945GCZ

Intel Ethernet Switch Converged Enhanced Ethernet (CEE) and Datacenter Bridging (DCB) Using Intel Ethernet Switch Family Switches

Intel Desktop Board DG31GL

Solution Recipe: Improve PC Security and Reliability with Intel Virtualization Technology

Intel Trusted Platforms Overview

Intel X38 Express Chipset Memory Technology and Configuration Guide

NFV Reference Platform in Telefónica: Bringing Lab Experience to Real Deployments

How High Temperature Data Centers and Intel Technologies Decrease Operating Costs

Intel Desktop Board D101GGC Specification Update

Intel RAID Controllers

Intel 965 Express Chipset Family Memory Technology and Configuration Guide

Recovery BIOS Update Instructions for Intel Desktop Boards

Power Benefits Using Intel Quick Sync Video H.264 Codec With Sorenson Squeeze

Intel Platform and Big Data: Making big data work for you.

Fiber Channel Over Ethernet (FCoE)

Benchmarking Cloud Storage through a Standard Approach Wang, Yaguang Intel Corporation

Top 5 Reasons to choose Microsoft Windows Server 2008 R2 SP1 Hyper-V over VMware vsphere 5

Intel Server Raid Controller. RAID Configuration Utility (RCU)

Scaling up to Production

System Image Recovery* Training Foils

Intel IXP42X Product Line of Network Processors and IXC1100 Control Plane Processor: Spread-Spectrum Clocking to Reduce EMI

Intel Core TM i7-660ue, i7-620le/ue, i7-610e, i5-520e, i3-330e and Intel Celeron Processor P4505, U3405 Series

COSBench: A benchmark Tool for Cloud Object Storage Services. Jiangang.Duan@intel.com

Intel Desktop Board D945GNT

HPC & Big Data THE TIME HAS COME FOR A SCALABLE FRAMEWORK

Intel Technical Advisory

Intel Cloud Builders Guide to Cloud Design and Deployment on Intel Platforms

Specification Update. January 2014

Memory Sizing for Server Virtualization. White Paper Intel Information Technology Computer Manufacturing Server Virtualization

Intel Q35/Q33, G35/G33/G31, P35/P31 Express Chipset Memory Technology and Configuration Guide

High Availability Server Clustering Solutions

Hetero Streams Library 1.0

10GBASE-T for Broad 10 Gigabit Adoption in the Data Center

How High Temperature Data Centers & Intel Technologies save Energy, Money, Water and Greenhouse Gas Emissions

Intel Rapid Storage Technology

Intel Desktop Board DP35DP. MLP Report. Motherboard Logo Program (MLP) 6/17/2008

An Oracle White Paper November Oracle Real Application Clusters One Node: The Always On Single-Instance Database

Transcription:

COLO: COarse-grain LOck-stepping Virtual Machine for Non-stop Service Eddie Dong, Tao Hong, Xiaowei Yang 1

Legal Disclaimer INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. INTEL PRODUCTS ARE NOT INTENDED FOR USE IN MEDICAL, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS. Intel may make changes to specifications and product descriptions at any time, without notice. All products, dates, and figures specified are preliminary based on current expectations, and are subject to change without notice. Intel, processors, chipsets, and desktop boards may contain design defects or errors known as errata, which may cause the product to deviate from published specifications. Current characterized errata are available on request. Intel and the Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. *Other names and brands may be claimed as the property of others. Copyright 2012 Intel Corporation.

Agenda 3 VM Replication & COLO COLO_KVM Performance Prediction Summary

Non-Stop Service with VM Replication 4 Typical Non-stop Service Requires Expensive hardware for redundancy Extensive software customization VM Replication: Cheap Application-agnostic Solution

Existing VM Replication Approaches 5 Replication Per Instruction: Lock-stepping Execute in parallel for deterministic instructions Lock and step for un-deterministic instructions Replication Per Epoch: Continuous Checkpoint Secondary VM is synchronized with Primary VM per epoch Output is buffered within an epoch

Problems 6 Lock-stepping Excessive replication overhead memory access in an MP-guest is undeterministic Continuous Checkpoint Extra network latency Excessive VM checkpoint overhead

Why COarse-grain LOck-stepping (COLO) 7 VM replication is an overly strong condition Why do we care about the VM state? The client cares about response only Can the control failover replication? without precise VM state Coarse-grain lock-stepping VMs Secondary VM is a replica, if it has generated same response as the primary so far If true, failover with no service stop Non-stop service focus on server response, not internal machine state!

How COLO Works 8 Response Model for C/S System & are the request and the execution result of an non-deterministic instruction Each response packet from the equation is a semantics response Successfully failover at kth packet if (C is the packet series the client received)

Why is CoLo Better 9 Comparing with Continuous VM checkpoint No buffering-introduced latency Less checkpoint frequency On demand vs. periodic Comparing with lock-stepping Eliminate excessive overhead of undeterministic instruction execution due to MP-guest memory access

Status 10 Academia paper published at ACM Symposium on Cloud Computing (SOCC 13) COLO: COarse-grained LOck-stepping Virtual Machines for Non-stop Service http://www.socc2013.org/home/program Refer to the paper for technical details Industry announcement Huawei FusionSphere uses COLO http://enterprise.huawei.com/ilink/enenterprise/abo ut/news/news-list/hw_308817?keytemps =

Agenda 11 VM Replication & COLO COLO_KVM Performance Prediction Summary

Architecture of COLO 12 Pnode: primary node; PVM: primary VM; Snode: secondary node; SVM: secondary VM

Network Process 13 RX Pnode Receive a packet from client Mirror the packet and send to Snode Send the packet to Tap NIC Snode Receive the packet from Pnode Redirect the packet to Tap NIC TX Snode No need to change exiting vnic modules use tc for packet redirect / mirror Redirect the SVM packet to Pnode Pnode Redirect the PVM packet to ifb0 Redirect the SVM packet to ifb1 CM compares PVM/SVM packet in ifb Same: send the packet to client Different: trigger checkpoint

Storage Process 14 Write Pnode DM sends the Write request (offset, len, data) to PVM cache in Snode DM calls block driver to write to storage Snode DM saves Write request in SVM cache Read Snode Pnode Need modify Qemu vdisk IO path intercepted by Colo Disk Manager (DM) From SVM cache, or storage otherwise From storage Checkpoint DM calls block driver to flush PVM cache Failover DM calls block driver to flush SVM cache

Storage Process (2) 15

Checkpoint Process 16 Need modify migration process in Qemu to support checkpoint

Checkpoint + Memory Sync Process 17 Need modify migration process in Qemu to support checkpoint

Agenda 18 VM Replication & COLO COLO_KVM Performance Prediction Summary

Web Server Performance - Web Bench 19 Predication base on data in SOCC 13 paper Source: Intel

Web Server Performance - Web Bench (MP) 20 Predication base on data in SOCC 13 paper Source: Intel

PostgreSQL Performance - Pgbench 21 Predication base on data in SOCC 13 paper Source: Intel

PostgreSQL Performance - Pgbench (MP) Predication base on data in SOCC 13 paper 22 Source: Intel

Agenda 23 VM Replication & COLO COLO_KVM Performance Prediction Summary

Summary 24 COLO is an ideal Application-agnostic Solution for Non-stop service Web server: 67% of native performance CPU, memory and netperf: near-native performance Next steps Redesign based on feedback Develop and send out for review Optimize performance