24
ABC ECOS: Leveraging Software- Defined Networks to Support Mobile Application Offloading Aaron Gember, Christopher Dragga , Aditya Akella University of Wisconsin-Madison 1

ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

Embed Size (px)

DESCRIPTION

ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading. Aaron Gember , Christopher Dragga , Aditya Akella University of Wisconsin-Madison. ABC. Mobile Device Trends. More mobile device usage in enterprises Need to run complex applications - PowerPoint PPT Presentation

Citation preview

Page 1: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

1

ABC

ECOS: Leveraging Software-Defined Networks to Support Mobile

Application OffloadingAaron Gember, Christopher Dragga, Aditya Akella

University of Wisconsin-Madison

Page 2: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

2

Mobile Device Trends

• More mobile device usage in enterprises– Need to run complex applications

• Complex mobile applications have significant CPU, memory, and energy demands

• Devices are limited in all three

Need to reconcile application demands and device capabilities

Page 3: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

3

Designing for Remote Computation

• Mobile apps designed to use remote services– e.g., Google Voice Search, Apple’s Siri, Amazon Silk

Requires developers to use this paradigm

• Remote desktop / VNCUser interface not designed for mobile devices

Page 4: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

4

• Dynamically divide execution between mobile device and compute resource– Application code unmodified– Informed by model and/or runtime monitoring

• Several proposed systems – Chroma [Balan et al. 2003], MAUI [Cuervo et al. 2011], CloneCloud [Chun et al. 2011]

Application-Independent Offloading

ABC

Page 5: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

5

Roadblocks to Offloading Adoption

• Privacy and trust– Proposed systems largely ignore privacy– Privacy is paramount in enterprises

• Resource sharing and churn– Proposed systems consider one device,

plus a dedicated resource– Enterprises have many devices and a changing pool

of resources

Page 6: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

6

Opportunities in Enterprises

1. Diverse unused compute capacity

2. Tight administrative control3. Network flexibility and visibility through

Software-Defined Networking (SDN)

Page 7: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

7

Software Defined Networking

• Centralized view of network• Fine-grained control– Pair individual devices and resources– Minimize security risks

Page 8: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

8

allows many devices to opportunisticallyleverage diverse compute resources, while controlling where applications

offload depending on privacy, performance, and energy constraints of users and apps.

Leverage software-definednetworking (SDN) +

Enterprise-Centric Offloading System

Page 9: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

9

Outline

Offloading benefits and roadblocks• Addressing privacy and trust• Resource sharing and churn• ECOS prototype• Evaluation for a small enterprise setting

Page 10: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

10

Privacy and Trust

• Security is paramount in enterprises• Offloading may cause data to leave device• Challenges– When should security be applied?– How to secure offloading?– Offloading benefits and opportunities should

not be significantly diminished

Page 11: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

11

Overhead of Security Mechanisms

• Encrypting state in transit with TLSHigh latency and energy overhead

• Limited number of trusted compute resourcesReduced offloading opportunities

Encrypted

Unencrypted

Page 12: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

12

Security Policy

• Security policy provided to SDN controller – Privacy levels for devices & applications– Trust levels for compute resources

• Choose between three privacy levels– Differ in trusted resources and use of encryption

Page 13: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

13

Privacy Levels

PrivacyLevel

Resources Trusted

RequireEncryption

None Any Never

Enterprise All internal resources Never

User Select servers and desktops Always

Page 14: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

14

Security Example

Page 15: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

15

Security Mechanisms

• Always enforce encryption and resource selection decisions using SDN– Default off-network– Only allow flows on specific ports and between

specific mobile devices and compute resources– Remove forwarding rules to stop rogue offloads

Page 16: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

16

Resource Sharing and Churn

• Existing frameworks consider one device and assume static resources

Negative interactions between offloadsPotentially ignores available resources

• Challenges– Devices with varying applications and objectives– Limited resources and diverse capabilities– Offload requests not know a priori

Page 17: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

17

Multiplexing Based on Objective

• Consider any available (trusted) resource– Resources report to SDN controller

• Assign resources based on objective– Performance improvement: use resources with

unused CPU > mobile CPU speed– Energy savings: use separate resources from

performance seeking offloads

Page 18: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

18

Resource Affinity

• Use same resource for subsequent offloadsCache state → less latency and energy overheadAssumes constant resource availability/capacity

• Resource not capable/available– Deny offloads until capacity increases– Assign a new resource: retransfer state

X

Page 19: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

19

Prototype

111010101100011010011101010110

Page 20: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

20

Evaluation• Small enterprise setting– 12 phones (Android emulator)– 4 to 6 desktops (2.4Ghz quad-core, 4GB RAM)

• Two applications :– AI-decision making (Chess)

• 50 moves• No privacy

– Speech-to-text (emulated)• 20 recognitions• User privacy

– Significant computation, small state– Actual enterprise applications expensive

Page 21: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

21

Performance Improvement

1 2 3 4 5 6 7 8 9 10 11 120

50

100

150

200

250

300

350

400

No Offloading 4 Desktops 6 Desktops

Phones

Tim

e (s

ec)

Page 22: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

22

Energy Savings

1 2 3 4 5 6 7 8 9 10 11 120

50000

100000

150000

200000

250000

No Offload 4 Desktops 6 Desktops

Phones

Ener

gy (m

W)

Page 23: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

23

P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P120

50

100

150

200

250

300

350

400

No Offloading One-to-One + Affinity Multiplexing No Affinity Multiplexing + Affinity

Phones

Tim

e (s

ec)

Resource Allocation Efficiency

Page 24: ECOS: Leveraging Software-Defined Networks to Support Mobile Application Offloading

24

Summary

• Enterprise-Centric Offloading System– Leverages software-defined networking– Accommodates trust and privacy concerns

with minimal complexity and overhead– Scales offloading to many mobile devices, and

opportunistically leverages diverse resources

ABC