mostafa ammar, school of computer science georgia institute of technology atlanta, ga mobile...

41
Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: The Challenge of Intermittent Connectivity 1 Collaboration with: Ellen Zegura, Mayur Naik, Irfan Essa, Cong Shi

Upload: caitlyn-tyner

Post on 31-Mar-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Mostafa Ammar, School of Computer Science

Georgia Institute of TechnologyAtlanta, GA

Mobile Computing in Cirrus Clouds: The Challenge of Intermittent Connectivity

1

In Collaboration with: Ellen Zegura, Mayur Naik, Irfan Essa, Cong Shi

Page 2: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Cirrus Clouds

Cirrus clouds are atmospheric clouds generally characterized by thin, wispy strands (wikipedia)

Page 3: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Connectivity and computing power on the go!

3

Page 4: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Not long ago it was Science Fiction!

4

Page 5: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Cloud Computing

Computing resources delivered as a service over the Internet

5

Page 6: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

MobileCloud Computing

Computing resources delivered as a service over the Internet

Extension of Cloud Computing to Mobile Services

6

Page 7: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Computing in Cirrus Clouds

Computing in settings of Intermittent or variable connectivity with smart use of all available

resources for purposes of performance and/or power improvements

Page 8: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Motivating Context

Computation needs exceed mobile device capability

Increasingly capable mobile devices Lots of idle resources

Collaborative/Replicated applicationsIntermittent Connectivity

8

Page 9: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Mobile Application Examples

Pattern recognition for real-time decisions e.g., friend or foe

Augmented reality e.g., scene recognition engine (see next slide)

Collaboration for planning e.g., scene stitching from disparate views

Citizen science e.g., real-time traffic or weather information

Page 10: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Video Segmentation

10

Page 11: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Intermittent Connectivity

11

Page 12: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Traditional “Always-Connected”

Central Cloud

12

Page 13: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Basic Premise

Intermittent and Variable Connectivity is an inherent feature of how mobile devices communicate with each other and with infrastructure.

13

Page 14: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Intermmittently ConnectedCentral Cloud

14

Page 15: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Cloudlet*

15

*M. Satyanarayanan, P. Bahl, R. Caceres, and N. Davies. Thecase for VM-based cloudlets in mobile computing. IEEEPervasive Computing, 2009.

Page 16: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Intermittent Cloudlet

16

Page 17: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Computing Resources on The Move

17

Page 18: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Intermittently-Connected Mobile Devices*

18

*C. Shi, V. Lakafosis, M. Ammar, and E. Zegura. Serendipity:Enabling remote computing among intermittently connectedmobile devices. In ACM MobiHoc, 2012.

Page 19: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Cirrus Cloud ComputingPutting it all together

19

Page 20: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Specific Challenges

Handling Intermittent Connectivity Short contact durations (need

persistence and memory) Randomness

Structuring Computation Flexible, real-time computation

partitioningComputation Handoff and allocationOther: Power, Incentives, Trust

20

Page 21: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

What Hammers are Relevant?

Distributed computing on donated cycles, in tightly coupled setting (e.g. Condor)

Cycles variable; network well connected in loosely coupled setting (e.g., SETI@home)

Cycles variable; network variable

Disruption-tolerant/opportunistic networking Routing with intermittent connectivity

Program analysis, run-time prediction

Page 22: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

A Spectrum of Environments

1: Cloud

2: Cloudlet

3: Moving Infrastructure

4: Peer

Page 23: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Intermmittently Connected Central Cloud

(IC-Cloud)

23

Page 24: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Intermittent Connectivity on Campus Shuttle

Page 25: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Example Results: Execution Time

Page 26: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

In-Progress

Server Cost ConsiderationsServer Policy on disconnectionCellular connectivityEnergy ConsiderationsImplementation and Deployment

26

Page 27: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

A Spectrum of Environments

1: Cloud

2: Cloudlet

3: Moving Infrastructure

4: Peer

Page 28: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Serendipity

“We are the Cloud we have been looking for.”

28

*C. Shi, V. Lakafosis, M. Ammar, and E. Zegura. Serendipity:Enabling remote computing among intermittently connectedmobile devices. In ACM MobiHoc, 2012.Best Paper Award

Page 29: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Serendipity Executing Process

An unprocessed task

The task resultProcessing a task

Page 30: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Task Dissemination

An unprocessed task

The task resultProcessing a task

Page 31: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Task Dissemination and Executing

An unprocessed task

The task resultProcessing a task

Page 32: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Result Collecting

An unprocessed task

The task resultProcessing a task

Page 33: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Offloading in Serendipity

Connectivity may be unpredictable Hedge bets, retain local control

Connectivity may be short Ideal apps have large compute:xfer ratio

Some (many) devices will be energy limited Both a constraint and an opportunity

xfer?local task

peer device

Page 34: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Serendipity Architecture

Job Execution Process 1. A user submits a job 2. Job profiler processes

the job script 3. Job initiator schedules

and monitors the job 4. Job engine allocates

the job tasks to local and remote workers

5. Workers execute tasks 6&7. Job initiator collects

and returns the results

Page 35: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Serendipity’s Performance Benefit

Predictable w/control

Predictable w/o control

Unpredictable

Rollernet – 9 nodes, shorter contacts, more mobileHaggle – 11 nodes, longer contacts, less mobile

100 speech-to-text tasks

Page 36: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Serendipity PrototypeOffload Task 2

Return results: detected faces

Page 37: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

In-Progress

Implementation and testingPower considerations

Page 38: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Supercomputers?

Page 39: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Summary

Intermittent or Variable Connectivity is a fact of life for mobile devices.

Cirrus Cloud Computing is a general framework for incorporating connectivity considerations.

Demonstrated challenges and opportunities.

39

Page 40: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Research Agenda

Consider Entire Range of ScenariosHybrid environment:

Choosing among options Adapting over time

Video StreamingTrust and Incentives Application Programming and

Deployment40

Page 41: Mostafa Ammar, School of Computer Science Georgia Institute of Technology Atlanta, GA Mobile Computing in Cirrus Clouds: Mobile Computing in Cirrus Clouds:

Thank You!

41