• 검색 결과가 없습니다.

Annotated Callgraph

N/A
N/A
Protected

Academic year: 2021

Share "Annotated Callgraph"

Copied!
46
0
0

로드 중.... (전체 텍스트 보기)

전체 글

(1)

상지대학교 컴퓨터공학과 고 광 만

Mobile Cloud Offloading

Mobile Cloud Offloading, kkman@sangji.ac.kr 5/1/17

(2)

People Truly Love Their Smartphones

Mobile Cloud Offloading, kkman@sangji.ac.kr 2

5/1/17

(3)

Source of Dissatisfaction

Mobile Cloud Offloading, kkman@sangji.ac.kr 3

5/1/17

(4)

Process Performance Improvement

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

4

(5)

Battery Lifetime Capacity Improvement

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

5

(6)

Reasons for SLOW Enhancement in Battery Lifetime

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

6

Battery capacity is continually increasing Energy Efficiency ISSUES

But, power consumption of a mobile devices remains steady due to demand for new hardware technologies

¤

Higher resolution display

¤

Higher pixel Camera

¤

Faster wireless network

¤

New sensors including NFC, fingerprint scanner, etc.

(7)

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

7

Forthcoming Applications, SW, technologies demand extremely higher performance

¤

Multimedia Processing

¤

Holographic and 3D media processing

¤

Bigdata processing

¤

Augmented Reality

(8)

Mobile apps can’t reach their full potential

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

8

Augmented Reality

Speech Recognition and Synthesis Interactive Games Slow, Limited

or Inaccurate

Too CPU

intensive Limited

Power Intensive

Not on par with

desktop counterparts

(9)

Problems Ahead

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

9

WE want

¤ to keep power consumption constraint

¤ to drastically boost up performance

(10)

Computation Offloading

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

10

Let’s shift difficult and dirty works to someone else, CLUOD.

Computation‐intensive Offloading

(11)

Computation Offloading Architecture

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

11

(12)

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

Offloading

solution to augment these mobile systems’ capabilities by migrating computation to more resourceful computers (i.e., servers)

this is different from the traditional client‐server architecture.

A significant amount of research has been performed on computation offloading:

making it feasible

making offloading decisions

developing offloading infra‐ structures

(13)

Issue 1,

Offloading may save energy and improve performance on mobile systems.

However, this usually depends on many parameters

the network bandwidths

the amounts of data exchanged through the networks.

Many algorithms have been proposed to make offloading decisions to improve performance or save energy

13

(14)

Issues 2,

Offloading requires access to resourceful computers for short durations through networks, wired or wireless.

These servers may use virtualization to provide offloading services so that different programs and their data can be isolated and

protected.

Issues 3,

Offloading may be performed at the levels of

methods,

tasks

applications

virtual machines

(15)

The common approaches used to make offloading decisions:

why to offload (improve performance or save energy)

when to decide offloading (static vs dynamic)

what mobile systems use offloading (laptops, PDAs, robots, sensors)

types of applications (multimedia, gaming, calculators, text editors, predictors)

infrastructures for offloading (grid and cloud computing).

15

(16)
(17)

Case Study: Face‐detection

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

17

(18)

Case Study: Real‐time Subtitle Generator

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

18

(19)

More Offloading Extension 

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

19

● Mobile Cloud Computing (MCC)

Computation Offloading + Capability Extension

Computation‐intensive Offloading

● Improve performance and energy efficiency

● Communication‐intensive Offloading

Capability Extension

● Enable impossible things by using cloud resource other than

processor

(20)

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

20

(21)

Types of Computation Offloading

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

21

(22)

Method‐level Offloading

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

22

(23)

MAUI: Mobile Assistance Using Infrastructure

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

23

MAUI Contributions:

Combine extensive profiling with an ILP solver

¤

Makes dynamic offload decisions

¤

Optimize for energy reduction

¤

Profile: device, network, application

Leverage modern language runtime (.NET CLR)

¤

To simplify program partitioning

¤

Reflection, serialization, strong typing

(24)

MAUI Architecture

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

24

Maui server Smartphone

Application

Client Proxy

Profiler Solver Maui Runtime

Server Proxy

Profiler Solver Maui Runtime

Application

RPC

RPC

Maui Controller

(25)

How Does a Programmer Use MAUI?

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

25

Goal: make it dead‐simple to MAUI‐ify apps

¤

Build app as a standalone phone app

¤

Add .NET attributes to indicate “remoteable”

¤

Follow a simple set of rules

(26)

Language Run‐Time Support For Partitioning

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

26

Portability:

¤

Mobile (ARM) vs Server (x86)

¤

.NET Framework Common Intermediate Language

Type‐Safety and Serialization:

¤

Automate state extraction

Reflection:

¤

Identifies methods with [Remoteable] tag

¤

Automates generation of RPC stubs

(27)

MAUI Profiler

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

27

Profiler

Callgraph

Execution Time

State size

y Network Latency

h Network Bandwidth Device Profile

CPU Cycles

Network Power Cost Network Delay Computational Delay Computational Power Cost

Computational Delay Callgraph Annotated

(28)

Is Global Program Analysis Needed?

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

28

Yes! – This simple example from Face Recognition app shows why local analysis fails.

FindMatch 900 mJ

InitializeFace Recognizer

5000 mJ 1000mJ

DetectAndExtract Faces

15000 mJ User

Interface

Cheaper to do local

(29)

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

29

FindMatch

InitializeFace Recognizer

1000mJ

DetectAndExtract Faces

User

Interface 25900mJ

Cheaper to offload

(30)

Can MAUI Adapt to Changing Conditions?

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

30

Adapt to:

¤

Network Bandwidth/Latency Changes

¤

Variability on method’s computational requirements

Experiment:

¤

Modified off the shelf arcade game application

¤

Physics Modeling (homing missiles)

¤

Evaluated under different latency settings

(31)

How much can MAUI improve performance?

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

31

Face Recognizer

(32)

offload

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

32

Up to 40% energy savings on Wi‐Fi Solver would decide not

to offload

Arcade Game

(33)

Can MAUI Run Resource‐Intensive Applications?

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

33

CPU Intensive even on a Core 2 Duo PC

Can be run on the phone with MAUI

Translator

(34)

Can MAUI Run Resource‐Intensive Applications?

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

34

CPU Intensive even on a Core 2 Duo PC

Can be run on the phone with MAUI

Translator

(35)

Cuckoo: A Computation Offloading Framework

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

35

(36)

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

36

(37)

Is Offloading Really Effective ??

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

37

(38)

Is Offloading Really Effective ??

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

38

(39)

Is Offloading Really Effective ??

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

39

(40)

Is Offloading Really Effective ??

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

40

(41)

Mobile Edge Computing

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

41

● Mobile Edge Computing enables mobile subscribers to access IT and cloud computing services at the close proximity within the range of Radio Access Network (RAN).

● The main goal of Mobile Edge Computing to reduce latency by

bringing the computation and storage capacity from the core WAN to the edge network.

● Mobile Edge Computing can be defined as

“Mobile Edge Computing is a model for enabling business oriented, cloud computing platform within the radio access network at the close proximity of mobile subscribers to serve delay sensitive,

context aware applications.”

(42)

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

(43)

Enpiler: Energy‐aware offloading framework through comPiler code  analysis techniques

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

43

(44)

IoT Applications in Mobile Edge Cloud Computing Environments

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

44

Mobile Edge Server - 2

Mobile Edge Server - 3

Mobile Edge Server - n

Mobile Edge Server - 1

(AR/VR Gaming Processing) Mobile Device

Mobile Edge Server Side

(Sensing Bigdata Processing) Mobile Device

(Multimedia Image Processing) Mobile Device Concurrent

Modules

Distributed Offloading

Concurrent Modules

Concurrent Modules

Key Management Server

(45)

Selected Publications

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

45

고광만(교신) 외 4인, "Enabling Far-Edge Analytics: Performance Profiling of Frequent Pattern Mining Algorithms," Sensors(IF: 2.033, Q2), April 2017.

고광만(교신) 외 4인, "SIMDOM: A Framework for SIMD Instruction Translation and Offloading in Heterogeneous MCC Architectures,"

Transactions on Emerging Telecommunications Technologies (IF: 1.130,

Q1), February 2017.

고광만(교신) 외 3인, Optimization Techniques to Enable Execution

Offloading for 3D Video Games", Multimedia Tools and Applications(IF:

1.345, Q2), July 2016.

고광만(공동) 5인, "A Case and Framework for Code Analysis Based

Mobile Application Energy

Estimation," International Journal of Communication Systems (IF 1.02, Q3), December 2016.

고광만(공동) 외 6인, "Towards native code offloading based MCC

frameworks for multimedia applications: A survey," Journal of Network and Computer Applications(IF: 2.413, Q1), November 2016.

고광만(교신), "Reduction of Media Servers Overload with Energy-saving

Adaptive Streaming", Mobile Information Systems(IF: 1.463, Q2), Article

ID 7462821, Jan., 2016.

(46)

5/1/17 Mobile Cloud Offloading, kkman@sangji.ac.kr

Q&A

Thank You

참조

관련 문서

A frame size error in a frame that could alter the state of the entire connection MUST be treated as a connection error (Section 5.4.1); this includes any frame carrying a

The “Asset Allocation” portfolio assumes the following weights: 25% in the S&P 500, 10% in the Russell 2000, 15% in the MSCI EAFE, 5% in the MSCI EME, 25% in the

1 John Owen, Justification by Faith Alone, in The Works of John Owen, ed. John Bolt, trans. Scott Clark, "Do This and Live: Christ's Active Obedience as the

If local computing power is selected, the drone platform runs the standard q-learning prediction algorithm and updates the Q-table, then reads the sensor's SINR data,

Perform the iteration and estimate the spectral radius of the iteration matrix by computing the ratio of pseudo error norms at each iteration step.. Exit the iteration

The suggested architecture has been authenticated in the cloud computing platform-based testbed conferred in Section 3.4. Initially it is essential to produce the work load

웹 표준을 지원하는 플랫폼에서 큰 수정없이 실행 가능함 패키징을 통해 다양한 기기를 위한 앱을 작성할 수 있음 네이티브 앱과

_____ culture appears to be attractive (도시의) to the