vmflock: vm co-migration appliance for the cloud

22
VMFlock: VM Co-Migration Appliance for the Cloud Samer Al-Kiswany With: Dinesh Subhraveti Prasenjit Sarkar Matei Ripeanu

Upload: sian

Post on 05-Feb-2016

85 views

Category:

Documents


0 download

DESCRIPTION

VMFlock: VM Co-Migration Appliance for the Cloud. Samer Al-Kiswany With: Dinesh Subhraveti Prasenjit Sarkar Matei Ripeanu. Why VM Migration across Data Centers ?. For Cloud Users: Freedom, Not locked to one cloud. Private and public clouds. For the Cloud provider: - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: VMFlock: VM Co-Migration Appliance for the Cloud

VMFlock: VM Co-Migration Appliance for the Cloud

Samer Al-Kiswany

With: Dinesh Subhraveti Prasenjit Sarkar Matei Ripeanu

Page 2: VMFlock: VM Co-Migration Appliance for the Cloud

2

Why VM Migration across Data Centers ?

For Cloud Users:• Freedom, Not locked to one cloud.

• Private and public clouds.

For the Cloud provider:• Load balancing across data centers• Accommodate scheduled maintenance• Arbitration of energy cost

Requires: Efficient migration and fast instantiation of VM still images across data centers.

Page 3: VMFlock: VM Co-Migration Appliance for the Cloud

3

Challenges

• Applications often deployed on multiple VMs (VM Flock)

• Large VM image size (GBs)

• Limited WAN bandwidth

• Strict Cloud API

• Limited resources

(compute, memory, IO)

Page 4: VMFlock: VM Co-Migration Appliance for the Cloud

4

Opportunities

• Similarities across VM flock images

• Similarities across VM repositories

• VM boot time access pattern

Page 5: VMFlock: VM Co-Migration Appliance for the Cloud

5

VMFlock Migration System

An appliance for migrating and bootstrapping multiple VM images across data centers.

VMFlockMS achieves (compared to alternatives):• Up to 10x better compression rate• Up to 3.5x faster migration time

Properties:• High performance• Scalable• Load balanced• Easy to adopt

Page 6: VMFlock: VM Co-Migration Appliance for the Cloud

6

Outline

• Introduction

• VMFlockMS Design

Migration Appliance Design

VM Bootstrap component Design

• Evaluation

• Conclusion

Page 7: VMFlock: VM Co-Migration Appliance for the Cloud

7

VMFlockMS Design

Migrationnodes

VM Repository

VM Repository

Source Destination

VM

VMLaunchPad

Migrationnodes

VM

VMProfiler

• Migration components

Similarities across VM flock images

Similarities across VM repositories

• Bootstrap components

VM boot pattern

Page 8: VMFlock: VM Co-Migration Appliance for the Cloud

8

Migrationnodes

VM Repository

VM Repository

Source Destination

Migrationnodes

Similarities across VM flock images

Similarities across VM repositories

Migration Components Design

Deduplication challenges:• CPU and IO intensive workload• Metadata size

Page 9: VMFlock: VM Co-Migration Appliance for the Cloud

9

Migration Components Design

VM Repository

Source

Destination

Page 10: VMFlock: VM Co-Migration Appliance for the Cloud

10

Migration Components Design

VM Repository

Source

Destination

Page 11: VMFlock: VM Co-Migration Appliance for the Cloud

11

Migration Components Design

VM Repository

Source

Destination

Page 12: VMFlock: VM Co-Migration Appliance for the Cloud

12

Migration Components Design

VM Repository

Source Destination

VM Repository

Page 13: VMFlock: VM Co-Migration Appliance for the Cloud

13

Bootstrap Components Design

Migrationnodes

VM Repository

VM Repository

Source Destination

VM

VMLaunchPad

Migrationnodes

VM

VMProfiler

Page 14: VMFlock: VM Co-Migration Appliance for the Cloud

14

Outline

• Introduction

• VMFlockMS Design

Migration Appliance Design

VM Bootstrap component Design

• Evaluation

• Conclusion

Page 15: VMFlock: VM Co-Migration Appliance for the Cloud

15

Evaluation – Setup

Images • Application: Spree e-commerce (spree, sql, storage node)

– 7.9 GB• Same-OS (Fedora: desktop, developer, server, plain) –

10.6 GB• Diff-OS (Fedora, openSUSE, Ubuntu) – 10.6 GB

Alternatives • Gzip-All • Gzip-Separate (parallel Gzip)• Dedup-separate [Hirofuchi 09, Bradford 07, Sapuntzakis 02]

Page 16: VMFlock: VM Co-Migration Appliance for the Cloud

16

Evaluation – Setup

Testbed • 2 machines at Almaden and 2 at T.J. Watson• 1 machine at each side works as a VM repository

Courtesy Google Maps

Page 17: VMFlock: VM Co-Migration Appliance for the Cloud

17

Evaluation – Compression Rate

No VM images at destination

0

5

10

15

20

25

30

35

40

45

Gzip All GzipSeparate

DedupSeparate

VMFlockMS

Co

mp

res

sio

n r

ate

(%

)

Diff-OSSame-OSApp

0

5

10

15

20

25

30

35

40

Gzip All GzipSeparate

DedupSeparate

VMFlockMS

Co

mp

res

sio

n r

ate

(%

)

Diff-OSSame-OSApp

Single VM image at destination

Achieves up to 10x better compression rate.

Page 18: VMFlock: VM Co-Migration Appliance for the Cloud

18

Evaluation – Migration Time

VMFlockMS achieves up to 2x better migration time.

0

20

40

60

80

100

120

Gzip All GzipSeparate

DedupSeparate

VMFlockMS1KB

VMFlockMS8KB

VMFlockMS128KB

Mig

ratio

n ti

me

(min

)

Migration time for the application flock

Page 19: VMFlock: VM Co-Migration Appliance for the Cloud

19

Evaluation – Migration Time

VMFlockMS achieves up to 3.5x better migration time.

Migration time for the application flock using the VM repository emulator (emulating 4 SAS disks)

0

5

10

15

20

25

30

35

40

45

Gzip All GzipSeparate

DedupSeparate

VMFlockMS

Mig

rati

on

tim

e (

min

)

Page 20: VMFlock: VM Co-Migration Appliance for the Cloud

20

Evaluation – Boot Time

• VM Flock needs less then 20MB to boot.• Most of the data already at destination• VM flock boot in less than 1 min• VMFlockMS overhead less than 3%

Page 21: VMFlock: VM Co-Migration Appliance for the Cloud

21

Summary

VMFlockMS: An appliance for migrating and bootstrapping multiple VM images across data centers.

Properties:• High performance• Scalable• Load balanced• Easy to adopt

Where else:• Scientific data sets migration• Long execution pipelines

Page 22: VMFlock: VM Co-Migration Appliance for the Cloud

22

Thank you