9
Dynamic VM Synthesis for Cloudlet -ISTC Retreat Poster- Kiryong Ha, Padmanabhan S Pillai, Mahadev Satyanarayanan

Dynamic VM Synthesis for Cloudlet -ISTC Retreat Poster- Kiryong Ha, Padmanabhan S Pillai, Mahadev Satyanarayanan

Embed Size (px)

Citation preview

Dynamic VM Synthesis for Cloudlet-ISTC Retreat Poster-

Kiryong Ha, Padmanabhan S Pillai, Mahadev Satyanarayanan

Motivation1. Rich applications using video and voice are arising in mobile context, but they are

too expensive to run on the client alone

2. And it cannot be handled in current Cloud computing

– Cloud computing is highly centralized approach, so that it is too far from you

High latency and limited bandwidth across WAN

3. Let’s bring the cloud to the mobile users Cloudlet!

Olympus Mobile Eye Trek

Wearable Computer

HandtalkWearable

Glove

Tablet

Smartphone

Coffee shopCloudlet

WAN todistant cloudon Internet

• Key Challenges

– Management

• Decentralization requires extreme standardization for mini-

mal system management

– Personalization

• Much customization needed, even for commercial apps

Ex) personal preferences, speech tuning, domain-specific vo-

cabulary.

• Out Approach

– Use a personal VM and take it with you everywhere

Dynamic VM Synthesis• Problems in VM : too big to carry, transfer, and launch

• Solution: Dynamic VM Synthesis

– Base VM: Cloudlet pre-fetches large, widely-used VM

– VM overlay: Mobile device delivers small patch just before use

– Cloudlet discards VM after use/Or caches for future reuse

Mobile Device

Nearby Computing Resource

1) Transfer Overlay VM

3) Launched VM

2-2) Synthesis with Base VM

2-1) Decompress

Application4) Cloudlet Service

Prototype System

Intel Xeon 6 core @1.86GHz8GB Main Memory

802.11n Wireless

Smartphone

Smartphone

Prototype Applications• Object-Recognition (MOPED)

– Object recognition and pose esti-

mation program (CMU RI)

• Face Detection and Recognition

– OpenCV

• Application characteristics

– Requires high computation and in-

teractivity

– Future Candidates• Indoor navigation

• Language translation …

Experiment

• Overlay Size

Applica-tion

Program size (MB) OS

Base Disk

(GB) *

Base Mem-ory

(MB) **

Compressed Overlay (MB)

Gimp 55.2 Ubunutu 2.5 476 142

MOPED 27.5 Ubunutu 2.5 476 173

FACE 17.66 Windows XP 2.1 279 109

Null 0 Ubunutu 2.5 476 0.32

* 8GB Disk with qcow2

** Memory snapshot of 2GB Main Memory

Experiment

• VM Synthesis Time

Applica-tion

Overlay Transfer (s)

Decom-pression (s)

Apply Delta (s)

Run KVM (s) Total (s)

Gimp 38 17.2 18.7 2.1 76.0

MOPED 44.9 23.3 17.9 4.0 90.1

FACE 30.3 14.5 9.7 4.0 58.5

Null * 0.1 0.04 10.7 4.0 15.6

* Null case is for comparison and does not install anything

Work in progress

• Goal: Reducing VM synthesis time– Discovery, transfer, and launch to happen within 5 seconds

• Work in progress– Pipe-lining

• Overlapping multiple steps with a pipelined fashion

– Exploiting parallelism

– Multi-layer overlay

• Dividing overlay into multi-layer and caching some for next run.

– Launch before completing synthesis

• Use base VM information to start VM even before getting all overlay.