opportunism and symbiosis in mobile cloud computing: the ... · opportunism and symbiosis in mobile...

32
Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer Science Georgia Institute of Technology Atlanta, GA 1 In Collaboration with: Ellen Zegura, Mayur Naik, Cong Shi, Karim Habak, Ahmed Saeed Alireza Monfared (Georgia Tech), Khaled Harras, Abderahmen Mtibaa (CMU-Q) Supported in part by a National Science Foundation and Army Research Labs

Upload: others

Post on 02-Sep-2019

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Opportunism and Symbiosis in Mobile Cloud Computing:

The Promise and the Challenges

Mostafa AmmarSchool of Computer Science

Georgia Institute of TechnologyAtlanta, GA

1

In Collaboration with: Ellen Zegura, Mayur Naik, Cong Shi, Karim Habak, Ahmed SaeedAlireza Monfared (Georgia Tech), Khaled Harras, Abderahmen Mtibaa (CMU-Q)Supported in part by a National Science Foundation and Army Research Labs

Page 2: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Connectivity and computing power on the go

2

Page 3: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Mobile Applications: Computing and Communication

Communication

Computing

Page 4: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Beyond Device Computing Capability

Augmented Reality

Speech Translation Interactive Games

Slow, Limited or Inaccurate

Too CPU intensive Limited

Not on par with desktop

counterparts

Page 5: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Video Segmentation

5

Page 6: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Cloud Computing to the Rescue

Computing resources delivered as a service over the Internet

6

Page 7: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Cloud Computing

Computing resources delivered as a service over the Internet

7

Page 8: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

MobileCloud Computing

Computing resources delivered as a service over the Internet

Extension of Cloud Computing to Mobile Services Service delivered to mobile devices

8

Page 9: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

….…...

…..

………………..…….....

Classic Solution:Offload Computation to the Cloud*

….……offload………………..………..resume…..

offload

resume

rich app

*E. Cuervo, et al., MAUI: Making smartphones last longer with code offload. In Proceedings of the 8th International Conference on Mobile Systems, Applications, and Service (MobiSys’10).

*B. Chun, et al.,Clonecloud: elastic execution between mobile device and cloud. In Proceedings of the 6th European Conference on Computer Systems (EuroSys’11), pages 301–314, 2011.

Page 10: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Challenges inMobile Cloud Computing

Connectivity Issues Bandwidth Intermittency

High Latency

Cost

10

Page 11: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Observation: lots of idle resources!

11

Page 12: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Opportunistic/SymbioticMobile Cloud Computing

Opportunism and Symbiosis: Two additional tools to address MCC challengesOpportunism: Make use of all available

compute resources as they are available.Symbiosis: Mobile devices help each

other12

Page 13: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Opportunistic and SymbioticCloud Computing Environment

Page 14: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Opportunistic and SymbioticCloud Computing Environment

Page 15: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Opportunistic offloading to remote cloud

*Shi et al, ACM Mobihoc 2014

The COSMOS System*Computational Offloading as a Service

Page 16: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Outdoor Wireless:Intermittent Connectivity on Campus Shuttle

Page 17: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Offloading Decision with Variable Connectivity

Page 18: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

1- Long setup time2- Long lease quantum3- Connectivity Agnostic

Cloud provider

Cloud/Mobile Mismatch

Page 19: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Mobile device Computation requirements

1- Quick response2- Infrequent3 - Variable connectivity

Cloud/Mobile Mismatch

Page 20: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

COSMOS Bridges Gap

Cloud provider

Mobile device Computation requirements

COSMOS

Page 21: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

COSMOS Architecture

Resource ManagementRisk Controlled Computation Offloading

Page 22: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Challenges

When to offload Always Offload Never Offload Smart Offload: Offload when expected

performance is improvedCloud Server deployment Handle variable load Maintain low cost

By Deploying smart policies: significantly improve task speedup

22

Page 23: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Opportunistic and SymbioticCloud Computing Environment

Page 24: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Main Idea

Significant idle compute resourcesChallenge: How to configure into a

meaningful resource.

24

Page 25: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

A Spectrum of Cluster Stability

Page 26: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

A Spectrum of Cluster Stability

Page 27: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Highly Stable Clusters

Mont Blanc Project

Our work: Highly Collaborative Devices Mobile Device Clouds* SymbIoT: Internet of Things**

27

*ACM MCC 2013**ACM MCS 2015

Page 28: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Mont Blanc European Project

Barcelona SuperComputer Center512 Nvidia Cores, 512 GFLOPS0.15 GFLOP/W

28

Page 29: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

MDCCollaboration to achieve global objective

Mobile Device Cloud:Single owner/administrator

Collaborate to computetasks to achieve global objective extending battery lifetimeof collective

29

Page 30: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Cloud Analysis,

Control, and Storage

Internet of Things ClusterCurrent Approach

Wasted Processing Resources

Fine-grain private

information stored and analyzed in the cloud

Page 31: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Symbiosis in the Internet of Things

Cloud 1. Storage of

Summaries 2. Long Term Analysis

Devices can cooperate to match the services provided by the cloud

Page 32: Opportunism and Symbiosis in Mobile Cloud Computing: The ... · Opportunism and Symbiosis in Mobile Cloud Computing: The Promise and the Challenges Mostafa Ammar School of Computer

Symbiosis in the Internet of ThingsSymbIoT

Enablers Powerful “Things” – processing, storage, … Device-to-Device: LTE, 802.15

Design Goals Reducing Internet bandwidth consumption Matching and improving on cloud’s performance Improving resource utilization within the same

LAN