Slide 1

Slide 1 text

MECCA: Mobile, Efficient Cloud Computing Workload Adoption Framework using Scheduler Customization and Workload Migration Decisions Dharmesh Kakadia 1 Prasad Saripalli 2 Vasudeva Varma 1 1SIEL, IIIT-Hyderabad, India 2IBM Cloud Center of Excellence, India July 29, 2013 1 / 22

Slide 2

Slide 2 text

Current Mobile Cloud Landscape cloud-enabled Apps Dropbox, Evernote, Instagram, ... Siri, Google Voice, ... Kindle, ... Traditional Apps GIMP Firefox Games By 2016, 40% of Mobile apps will use cloud back-end services. 1 1http://www.gartner.com/newsroom/id/2463615 2 / 22

Slide 3

Slide 3 text

Mobile Cloud Opprtunity Mobile devices are becoming powerful, but rich applications are more and more hungry for resources. Cloud has infinite resources. Cloud is programmable. Always ON. Only a handful apps are leveraging cloud. 3 / 22

Slide 4

Slide 4 text

Motivation Observation : Many apps are not cloud-aware, but can be migrated. Can we create a Mobile cloud framework that leverage cloud resources, Without making app cloud-aware Without annoying user Adaptive Personalized Works autopilot mode 4 / 22

Slide 5

Slide 5 text

Environment & Assumptions 5 / 22

Slide 6

Slide 6 text

Environment & Assumptions 6 / 22

Slide 7

Slide 7 text

Problem When to offload application to cloud? 7 / 22

Slide 8

Slide 8 text

Problem : What’s not Our focus is not Optimizing migration Optimizing profiling or anything else 8 / 22

Slide 9

Slide 9 text

Workflow : App launch Monitoring Tools (Perf,..) Monitoring Information App 9 / 22

Slide 10

Slide 10 text

Workflow : Offload Decision Voppal_wabiit Model Monitoring Tools (Perf,..) Monitoring Information App Offload Decision 10 / 22

Slide 11

Slide 11 text

Workflow : Initiating Migration Cloud Mobile Voppal_wabiit Model Monitoring Tools (Perf,..) Monitoring Information Offload Decision Initiate Migration Yes App OpenStack API VM VNC Server 11 / 22

Slide 12

Slide 12 text

Workflow : Remoting Cloud Mobile Voppal_wabiit Model Monitoring Tools (Perf,..) Monitoring Information Offload Decision Initiate Migration Yes App OpenStack API VNC Viewer VM VNC Server 12 / 22

Slide 13

Slide 13 text

Offloading Decision if Gainp ≥ significance threshold then Execute the p remotely on cloud. else continue executing p locally. end if significance threshold controls aggressiveness 13 / 22

Slide 14

Slide 14 text

Performance Gain Feature Gain, fi = (mi − ci ) mi mi : cost of running the application on mobile device (0 – 1) ci : cost of running the application on mobile device (0 – 1) Performance Gain, Gain = (wi × fi ) wi wi : weight of i the feature gain, normalized to unity 14 / 22

Slide 15

Slide 15 text

Learning Algorithm Gain as regression problem with squared loss function learned in an online setting Used vowpal wabbit 2 : fast online learning toolkit Features : High level features App features Network features Other Apps Device static features Cloud provider features 2 https://github.com/JohnLangford/vowpal_wabbit/ 15 / 22

Slide 16

Slide 16 text

Dynamic Features High level features : comprise of features that are concerned to user. Includes battery status, date and time, user location (moving/stable), etc. Application features : capture application usage habits including frequency of usage of the application, stretch of usage, use of local and remote data, etc. Network Status : network condition between cloud and mobile device. Includes bandwidth, latency and stability. Resource usage by other applications running on device : combined vector of all individual applications. 16 / 22

Slide 17

Slide 17 text

Non-Dynamic Features Device Configuration : capture all the hardware and software configuration of the device. cpu frequency cpu power steps operating frequency, etc. Cloud Configuration: This captures characteristics of the cloud provider. monetary cost provider performance statistics 17 / 22

Slide 18

Slide 18 text

Evaluation A virtual machine running android as a mobile device Linux traffic control utility (tc) is used to simulate various network condition Used OpenStack as IaaS cloud provider Cloud Operating System Ubuntu 12.04(kernel 3.2) Cloud VM configuration 4 GB, 2.66GHz Device Operating System Android 4.2 Device Configuration 1GB, 1.5 GHz Table: Experimental Setup 18 / 22

Slide 19

Slide 19 text

Workloads Representative of normal user interaction On varying Network speed : cable(0.375/6), DSL(0.75/3) and EVDO(1.2/3.8) Applications with varying resource utilization and duration Workload Description Characteristics Kernel kernel download + build long + resource in- tensive GIMP Image editing + applying image filters interactive + little intensive Video con- version download & convert a (500MB) video short + resource intensive Browser browsing 5 sites interactive Table: Evaluation workloads 19 / 22

Slide 20

Slide 20 text

Results : Decision and Time taken 20 / 22

Slide 21

Slide 21 text

Results : Overhead Measured as % increase in the resource utilization with and without running our system. Overhead between 4–7 % 21 / 22

Slide 22

Slide 22 text

Conclusion A Mobile cloud scheduler that is Context-aware Adaptive to various workloads automatically Personalized Easy to use and uses learning algorithm for system optimization 22 / 22