The Convergence of Mobile and Cloud Computing Ramesh Govindan University of Southern California 1.

Slides:



Advertisements
Similar presentations
A DISTRIBUTED CSMA ALGORITHM FOR THROUGHPUT AND UTILITY MAXIMIZATION IN WIRELESS NETWORKS.
Advertisements

Eduardo Cuervo - Duke Aruna Balasubramanian - U Mass Amherst Dae-ki Cho - UCLA Alec Wolman, Stefan Saroiu, Ranveer Chandra, Paramvir Bahl – Microsoft Research.
P3: Toward Privacy-Preserving Photo Sharing Moo-Ryong Ra, Ramesh Govindan, and Antonio Ortega Networked Systems Laboratory & Signal and Image Processing.
Resource Management §A resource can be a logical, such as a shared file, or physical, such as a CPU (a node of the distributed system). One of the functions.
Doc.: IEEE /0604r1 Submission May 2014 Slide 1 Modeling and Evaluating Variable Bit rate Video Steaming for ax Date: Authors:
FindAll: A Local Search Engine for Mobile Phones Aruna Balasubramanian University of Washington.
Dynamic Data Compression in Multi-hop Wireless Networks Abhishek B. Sharma (USC) Collaborators: Leana Golubchik Ramesh Govindan Michael J. Neely.
Energy-Delay Tradeoffs in Smartphone Applications Moo-Ryong Ra Jeongyeup Paek, Abhishek B. Sharma Ramesh Govindan, Martin H. Krieger, Michael J. Neely.
Slide Courtesy: Prof. Pradipta De, SUNY Korea Mobile Cloud Computing.
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
Introduction Future wireless systems will be characterized by their heterogeneity - availability of multiple access systems in the same physical space.
Energy Management and Adaptive Behavior Tarek Abdelzaher.
*Sponsored in part by the DARPA IT-MANET Program, NSF OCE Opportunistic Scheduling with Reliability Guarantees in Cognitive Radio Networks Rahul.
Improving Energy Efficiency of Location Sensing on Smartphones Kyu-Han Kim and Jatinder Pal Singh Deutsche Telekom Inc. R&D Lab USA Zhenyun Zhuang Georgia.
Quality of Service in IN-home digital networks Alina Albu 23 October 2003.
Assets and Dynamics Computation for Virtual Worlds.
Hand Movement Recognition By: Tokman Niv Levenbroun Guy Instructor: Todtfeld Ari.
Timecard: Controlling User-Perceived Delays in Server-Based Mobile Applications Lenin Ravindranath, Jitu Padhye, Ratul Mahajan, Hari Balakrishnan.
Client-Server Computing in Mobile Environments
ThinkAir: Dynamic Resource Allocation and Parallel Execution in Cloud for Mobile Code Offloading Sokol Kosta, Pan Hui Deutsche Telekom Labs, Berlin, Germany.
High Throughput Route Selection in Multi-Rate Ad Hoc Wireless Networks Dr. Baruch Awerbuch, David Holmer, and Herbert Rubens Johns Hopkins University Department.
Augmenting Mobile 3G Using WiFi Aruna Balasubramanian Ratul Mahajan Arun Venkataramani University of Massachusetts Microsoft Research.
Niranjan Balasubramanian Aruna Balasubramanian Arun Venkataramani University of Massachusetts Amherst Energy Consumption in Mobile Phones: A Measurement.
ALBERT PARK EEL 6788: ADVANCED TOPICS IN COMPUTER NETWORKS Energy-Accuracy Trade-off for Continuous Mobile Device Location, In Proc. of the 8th International.
A Survey of Mobile Phone Sensing Michael Ruffing CS 495.
SoundSense: Scalable Sound Sensing for People-Centric Application on Mobile Phones Hon Lu, Wei Pan, Nocholas D. lane, Tanzeem Choudhury and Andrew T. Campbell.
 Energy Results: Memory Assistant Arcade Game  Performance Results:  Response Time ▪ Memory assistant: 17.3 sec -> 1.5 sec ▪ Arcade game: 6 FPS -> 13.
Optimal Energy and Delay Tradeoffs for Multi-User Wireless Downlinks Michael J. Neely University of Southern California
MOBILE CLOUD COMPUTING
Computation Offloading
MobSched: An Optimizable Scheduler for Mobile Cloud Computing S. SindiaS. GaoB. Black A.LimV. D. AgrawalP. Agrawal Auburn University, Auburn, AL 45 th.
SwitchR: Reducing System Power Consumption in a Multi-Client Multi-Radio Environment Yuvraj Agarwal (University of California, San Diego) Trevor Pering,
Microsoft ® System Center Operations Manager 2007 Infrastructure Planning and Design Published: June 2008 Updated: July 2010.
Tufts Wireless Laboratory School Of Engineering Tufts University “Network QoS Management in Cyber-Physical Systems” Nicole Ng 9/16/20151 by Feng Xia, Longhua.
Reading Notes: Special Issue on Distributed Smart Cameras, Proceedings of the IEEE Mahmut Karakaya Graduate Student Electrical Engineering and Computer.
Snooze: Energy Management in n WLANs Ki-Young Jang, Shuai Hao, Anmol Sheth, Ramesh Govindan.
Wireless Networks Breakout Session Summary September 21, 2012.
Clone-Cloud. Motivation With the increasing use of mobile devices, mobile applications with richer functionalities are becoming ubiquitous But mobile.
What are the main differences and commonalities between the IS and DA systems? How information is transferred between tasks: (i) IS it may be often achieved.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Identifying Application Impacts on Network Design Designing and Supporting.
Cognitive Radio Networks
A Smart Decision Model for Vertical Handoff Ling-Jyh Chen *, Tony Sun *, Benny Chen *, Venkatesh Rajendran †, Mario Gerla * * Department of Computer Science,
Energy Consumption in Mobile Phones: A Measurement Study and Implications for Network Applications REF:Balasubramanian, Niranjan, Aruna Balasubramanian,
Energy Efficient Location Sensing Brent Horine March 30, 2011.
Dynamic VM Synthesis for Cloudlet -ISTC Retreat Poster- Kiryong Ha, Padmanabhan S Pillai, Mahadev Satyanarayanan.
Timecard: Controlling User-Perceived Delays in Server-Based Mobile Applications Lenin Ravindranath, Jitu Padhye, Ratul Mahajan, Hari Balakrishnan.
OPERETTA: An Optimal Energy Efficient Bandwidth Aggregation System Karim Habak†, Khaled A. Harras‡, and Moustafa Youssef† †Egypt-Japan University of Sc.
Net-Centric Software and Systems I/UCRC A Framework for QoS and Power Management for Mobile Devices in Service Clouds Project Lead: I-Ling Yen, Farokh.
1.Research Motivation 2.Existing Techniques 3.Proposed Technique 4.Limitations 5.Conclusion.
Eduardo Cuervo – Duke University Aruna Balasubramanian - University of Massachusetts Amherst Dae-ki Cho - UCLA Alec Wolman, Stefan Saroiu, Ranveer Chandra,
Internet of Things. IoT Novel paradigm – Rapidly gaining ground in the wireless scenario Basic idea – Pervasive presence around us a variety of things.
Dzmitry Kliazovich University of Luxembourg, Luxembourg
Adaptive Sleep Scheduling for Energy-efficient Movement-predicted Wireless Communication David K. Y. Yau Purdue University Department of Computer Science.
Energy Optimal Control for Time Varying Wireless Networks Michael J. Neely University of Southern California
A Comparison of RaDiO and CoDiO over IEEE WLANs May 25 th Jeonghun Noh Deepesh Jain A Comparison of RaDiO and CoDiO over IEEE WLANs.
Asynchronous Control for Coupled Markov Decision Systems Michael J. Neely University of Southern California Information Theory Workshop (ITW) Lausanne,
WOSS 04 1 Task-based Self-adaptation David Garlan Bradley Schmerl Joao Sousa Vahe Poladian Carnegie Mellon University WOSS’04.
Application-Aware Traffic Scheduling for Workload Offloading in Mobile Clouds Liang Tong, Wei Gao University of Tennessee – Knoxville IEEE INFOCOM
Introduction to Mobile-Cloud Computing. What is Mobile Cloud Computing? an infrastructure where both the data storage and processing happen outside of.
Dynamic Mobile Cloud Computing: Ad Hoc and Opportunistic Job Sharing.
University of Maryland College Park
R SE to the challenges of ntelligent systems
Mobile Computing.
PredictRemainingTime
08/03/14 Energy Consumption in Mobile Phones: A Measurement Study and Implications for Network Applications REF:Balasubramanian, Niranjan, Aruna Balasubramanian,
Course Project Topics for CSE5469
GATES: A Grid-Based Middleware for Processing Distributed Data Streams
First Hop Offloading of Mobile DAG Computations
Energy-Delay Tradeoffs in Smartphone Applications
Presentation transcript:

The Convergence of Mobile and Cloud Computing Ramesh Govindan University of Southern California 1

2 A Seductive Question… Network Fabric The Cloud When 4 billion smartphones are Internet-connected, how (if at all) should the Internet architecture change?

Bridging the Capability Gap 3 Capability Time As the Smartphone becomes the primary computing device… What the device is capable of What users will want

Bridging the Capability Gap Dealing with Constraints Energy-Delay Tradeoffs in a Video Documentation System Overcoming Constraints Toward Cloud-Assisted Interactive Mobile Perception 4

Energy Constraint 5 Battery Life is an issue for Usability Opportunity: Multiple peripherals and sensors Intelligently use peripherals and sensors to reduce energy consumption

The Urban Tomography System Video Collection 10 years ago Video Collectio n Today M. Ra, J. Paek, A. Sharma, R. Govindan, M. Krieger, M. Neely, “Energy-Delay Tradeoffs in Smartphone Applications”, ACM Mobisys M. Ra, J. Paek, A. Sharma, R. Govindan, M. Krieger, M. Neely, “Energy-Delay Tradeoffs in Smartphone Applications”, ACM Mobisys 2010.

Users Transportation SecurityPost-Disaster Urban Planning Documenting Post-Katrina Reconstruction

Leveraging Delay-Tolerance Delay-Tolerance Many of our users are delay-tolerant Transportation Security Transportation Security Dealing with Child development Issues Dealing with Child development Issues Planning Research Planning Research But tolerance varies considerably

VideoAudio. SensingLarge Database. Data-Intensive Data-Intensive, Delay-Tolerant Applications Monitoring Personal resources Dietary Habits Urban Documentation Participator y Sensing Large Database (e.g. WPS) Maps Media Application Context Prefetching Download Upload Delay-Tolerant

Our Focus Transferring Large Volumes of Data Leverage Delay Tolerance Reduce the energy cost

EDGE/3GWiFi Energy (J/bit) Availability Channel Quality Trade-offs HIGH LOW HIGH LOW Time-Varying Delay transmission Adapt to wireless channel quality

A Motivating Example EDGE 3G WiFi video 1 arrives video 2 arrives 40 KB/s 200 KB/s 50 KB/s 10 KB/s TIME

Strawman Approaches MotivationProblem Solutions Approach EvaluationConclusion EDGE 3G WiFi video 1 video 2 Delay Energy J J sec Min-DelayWiFi-OnlyEnergy-Optimal Optimal can save significant energy MD ME EO MD ME EO Challenge: How to design the optimal trade-off algorithm? Challenge: How to design the optimal trade-off algorithm?

Our Approach Use Lyapunov Optimization Derive Control Algorithm

Lyapunov Optimization Sender Receiver Control Algorithm Control Algorithm Lyapunov Analysis Lyapunov Analysis 1. Queue Stability Penalty Function Penalty Function 2. Penalty Minimization Queue length will not go to the infinity

Energy Cost Model Energy Cost Model How we use the framework Sender Receiver Control Algorithm Control Algorithm Lyapunov Analysis Lyapunov Analysis 1. Queue Stability 2. Penalty Minimization 1. Delay Tolerance 2. Energy Minimization

Higher rate Derived Control Decision SALSA (Stable and Adaptive Link Selection Algorithm) AP Q Q Large Queue Backlog E E Low Energy Cost Queue Backlog Queue Backlog × −× Estimated Rate Estimated Rate Energy Cost Energy Cost V V Over Links All Links

Importance of V Queue Backlog Queue Backlog × −× Estimated Rate Estimated Rate Energy Cost Energy Cost V V SALSA (Stable and Adaptive Link Selection Algorithm) Setting V Large Setting V Large Defer the Transmission Defer the Transmission Over Links All Links

Tuning Delay-Tolerance No Yes TIME Achievable Rate Achievable Rate No Yes V V Queueing Delay Transportation SecurityUrban Documentation Transmit?

SALSA Whether, When, Which Delayed Transmission Delayed Transmission Tunable Delay-Tolerance Tunable Delay-Tolerance SALSA

Main Results Ignore link quality SALSAKnow-WiFiStatic-DelayWiFi-onlyMin-Delay Ignore queue backlog Since SALSA takes all factors into account, it performs closest to the optimal Since SALSA takes all factors into account, it performs closest to the optimal

The Bottom Line Additional Delay Gain? Loss? Save 2% ~ 80% of battery capacity Save 2% ~ 80% of battery capacity + 2 min ~ 2 hour Energy Savings Battery

Bridging the Capability Gap Dealing with Constraints Energy-Delay Tradeoffs in a Video Documentation System Overcoming Constraints Toward Cloud-Assisted Interactive Mobile Perception 23

Interactive Mobile Perception Perception application is very relevant for mobile devices. Smartphone technology High data rate sensors Rich Sensors and Smart Mobile Devices Computer Vision Language Translation Natural language processing, etc. Advent of Inference Technology - Interactive. (low latency 10 ~ 100ms) - High data rate. (media data) - Computationally Intensive. (ML/Vision-based algorithms) - Interactive. (low latency 10 ~ 100ms) - High data rate. (media data) - Computationally Intensive. (ML/Vision-based algorithms) M. Ra, A. Sheth, L. Mummert, P. Pillai, D. Wetherall, Odessa: Enabling Interactive Perception Applications on Mobile Devices, ACM MobiSys 2011 M. Ra, A. Sheth, L. Mummert, P. Pillai, D. Wetherall, Odessa: Enabling Interactive Perception Applications on Mobile Devices, ACM MobiSys 2011

HandVu –Vision-based hand gesture recognition app. for mobile phones EyePhone –Vision based eye tracking for mobile phone UI, Dartmouth. Scenarios –Sweeping your phone across room full of people to recognize faces.. –Object pose estimation for activity recognition Mobile Perception Applications

Challenge Constraint Many perception applications require significant compute power Many perception applications require significant compute power Overcoming the constraint Offload computation to the “cloud” Offloading decision is non-trivial, since wireless network bandwidth is also constrained Offloading decision is non-trivial, since wireless network bandwidth is also constrained 26

Odessa A system that automatically and dynamically offloads components of a perception data-flow to the cloud A system that automatically and dynamically offloads components of a perception data-flow to the cloud 27

The Sprout System An application is represented as a synchronous data flow graph Components  Stages  Connectors  Servers Several perception applications already implemented Sprout does not support mobile devices, and statically configures processing pipelines Odessa is built on top of Sprout

Applications Face Recognition Pose Estimation Gesture Recognition 29

Odessa Goals and Techniques High Throughput (frames per second) Low Latency (time to process a single frame) High Throughput (frames per second) Low Latency (time to process a single frame) Offloading Parallelism Offloading Parallelism

Motivation: Offloading Variable on Inputs for Face Recognition Variable on Inputs for Face Recognition Variability on network conditions Variability on different devices Offloading decision should be adaptive. A static decision may not work. Offloading decision should be adaptive. A static decision may not work.

Parallelism 1. Data Parallelism 2. Pipeline Parallelism Frame 1 Frame 2 Frame 1 Frame 3 Frame 1 Frame 2 Frame 3 Throughput Makespan Throughput Makespan Throughput

Motivation: Data Parallelism Accuracy and execution time of face detection stage (face recognition) Avg. execution time of SIFT feature extraction stage. (object and pose recognition) The level of data parallelism affects accuracy and performance much, and it should consider precedence partition. The level of data parallelism affects accuracy and performance much, and it should consider precedence partition.

Motivation: Pipelining - Desirable # of tokens may be different. - How do we even know right # of tokens a priori? - Desirable # of tokens may be different. - How do we even know right # of tokens a priori? A static choice of pipeline parallelism can lead to suboptimal makespan or leave the pipeline underutilized. A static choice of pipeline parallelism can lead to suboptimal makespan or leave the pipeline underutilized.

Odessa Design Lightweight Application Profiler Lightweight Application Profiler Uses statistics from application pipeline to make decisions Uses statistics from application pipeline to make decisions Decision Engine Adapts data parallelism and stage offloading. Adapts data parallelism and stage offloading. Adapts pipeline parallelism Adapts pipeline parallelism

Profiler Stage Start Stage Decision Engine Decision Engine Piggybacking Suppress duplicated information Suppress duplicated information Report statistics to the decision engine per frame Report statistics to the decision engine per frame Report Light- weight Light- weight Cycles, Parallel Stages Cycles, Parallel Stages

Decision Engine Pick a Bottleneck Stage (Start Point) Compute Stage? Estimate Necessary Costs Choose the Best Choice; Offload, Spawn or Do nothing. Bottleneck is Network Edge Consider data parallelism and stage offloading simultaneously Consider data parallelism and stage offloading simultaneously No Yes Incremental Algorithm Incremental Algorithm

Evaluation Throughput Makespan Odessa finds an optimal configuration automatically. Odessa finds an optimal configuration automatically.

Comparison FPS: Higher is better Makespan: Lower is better Odessa shows 3x improvement over competing strategies Odessa shows 3x improvement over competing strategies

Convergence Interesting research opportunities at the boundary between mobile and cloud computing Interesting research opportunities at the boundary between mobile and cloud computing 40