PredictRemainingTime

Slides:



Advertisements
Similar presentations
Staying in Sync with Cloud 2 Device Messaging. About Me Chris Risner Twitter: chrisrisner.
Advertisements

BreadCrumbs: Forecasting Mobile Connectivity Anthony Nicholson and Brian Noble University of Michigan Presented by: Scott Winkleman.
University of Michigan Electrical Engineering and Computer Science Anatomizing Application Performance Differences on Smartphones Junxian Huang, Qiang.
AppInsight: Mobile App Performance Monitoring in the Wild
Minimizing Energy for Wireless Web Access with Bounded Slowdown Ronny Krashinsky and Hari Balakrishnan MIT Laboratory for Computer Science {ronny,
Automatic and Scalable Fault Detection for Mobile Applications Lenin Ravindranath, Suman Nath, Jitu Padhye, Hari Balakrishnan.
Dynamic Adaptive Streaming over HTTP2.0. What’s in store ▪ All about – MPEG DASH, pipelining, persistent connections and caching ▪ Google SPDY - Past,
Location based social networking on Android phones – integrated with Facebook. Simple and easy to use.
Reducing the Energy Usage of Office Applications Jason Flinn M. Satyanarayanan Carnegie Mellon University Eyal de Lara Dan S. Wallach Willy Zwaenepoel.
Internet and Intranet Protocols and Applications Section V: Network Application Performance Lecture 11: Why the World Wide Wait? 4/11/2000 Arthur P. Goldberg.
Wireless “ESP”: Using Sensors to Develop Better Network Protocols Hari Balakrishnan Lenin Ravindranath, Calvin Newport, Sam Madden M.I.T. CSAIL.
Junxian Huang 1 Feng Qian 2 Yihua Guo 1 Yuanyuan Zhou 1 Qiang Xu 1 Z. Morley Mao 1 Subhabrata Sen 2 Oliver Spatscheck 2 1 University of Michigan 2 AT&T.
Timecard: Controlling User-Perceived Delays in Server-Based Mobile Applications Lenin Ravindranath, Jitu Padhye, Ratul Mahajan, Hari Balakrishnan.
Chapter 31 File Transfer & Remote File Access (NFS)
Chapter 2 Architectural Models. Keywords Middleware Interface vs. implementation Client-server models OOP.
 Zhichun Li  The Robust and Secure Systems group at NEC Research Labs  Northwestern University  Tsinghua University 2.
Multimedia and Mobile communications Laboratory Augmenting Mobile 3G Using WiFi Aruna Balasubramanian, Ratul Mahajan, Arun Venkataramani Jimin.
Characterizing and Modeling the Impact of Wireless Signal Strength on Smartphone Battery Drain Ning Ding Xiaomeng Chen Abhinav Pathak Y. Charlie Hu 1 Daniel.
1 NETE4631 Mobile Cloud Computing Lecture Notes #10.
Bluetooth POP3 Relay Project Benjamin Kennedy April 30 th, 2002.
Best-Case WiBro Performance for a Single Flow 1 MICNET 2009 Shinae Woo †, Keon Jang †, Sangman Kim † Soohyun Cho *, Jaehwa Lee *, Youngseok Lee ‡, Sue.
A First Look at Traffic on Smartphones Hossein Falaki Dimitrios Lymberopoulos Ratul Mahajan Srikanth Kandula Deborah Estrin.
Timecard: Controlling User-Perceived Delays in Server-Based Mobile Applications Lenin Ravindranath, Jitu Padhye, Ratul Mahajan, Hari Balakrishnan.
System Architecture of Sensor Network Processors Alan Pilecki.
OPERETTA: An Optimal Energy Efficient Bandwidth Aggregation System Karim Habak†, Khaled A. Harras‡, and Moustafa Youssef† †Egypt-Japan University of Sc.
AppInsight: Mobile App Performance Monitoring In The Wild Lenin Ravindranath, Jitu Padhye, Sharad Agarwal, Ratul Mahajan, Ian Obermiller, Shahin Shayandeh.
Rafi Khan, Mike Levine, Jacob Metrick, and Hari Ganesan.
Middleware Services. Functions of Middleware Encapsulation Protection Concurrent processing Communication Scheduling.
End-to-End Performance Analytics For Mobile Apps Lenin Ravindranath, Jitu Padhye, Ratul Mahajan Microsoft Research 1.
FCM Workflow using GCM.
Improving and Controlling User-Perceived Delays in Mobile Apps Lenin Ravindranath By the time it loads, the church service is over. Too slow!!! Slow responsiveness,
Shuo Deng, Ravi Netravali, Anirudh Sivaraman, Hari Balakrishnan
Emir Halepovic, Jeffrey Pang, Oliver Spatscheck AT&T Labs - Research
Improving and Controlling User-Perceived Delays in Mobile Apps Lenin Ravindranath By the time it loads, the church service is over. Too slow!!! Slow responsiveness,
Development of a QoE Model Himadeepa Karlapudi 03/07/03.
IBM - ČVUT Student Research Projects Mobile Public Transportation Timetables Petr Podhorský Jakub Zahradník
UW-Madison GEC 16 Update. GENI WiMAX classroom experience CS 407 – Foundations of Mobile Systems and Applications – 80 undergrad students Students required.
DCS230 Centralized or Decentralized Data Transfer Prof. Nalini Venkatasubramanian -Myung Guk Lee -YunHo Huh -Abhinav.
Networked Embedded Systems Pengyu Zhang & Sachin Katti EE107 Spring 2016 Lecture 4 Timers and Interrupts.
Introduction to Mobile-Cloud Computing. What is Mobile Cloud Computing? an infrastructure where both the data storage and processing happen outside of.
Mary Ganesan and Lora Strother Campus Tours Using a Mobile Device.
Smartphone energy considerations (for browser design) Ratul Mahajan Microsoft Research.
MQ Series Cross Platform Dominant Messaging sw – 70% of market
Cloud Logistics for First Responders Service Overview April 25th 2014
Open Data-Kit Sensors.
Module 12: I/O Systems I/O hardware Application I/O Interface
Networked Embedded Systems Sachin Katti
Ayon Chakraborty and Samir R. Das WINGS Lab
Mobile App Development
Mobile Operating System
Notifications and Services
3.2 Virtualisation.
AppInsight: Mobile App Performance Monitoring in the Wild
Sentio: Distributed Sensor Virtualization for Mobile Apps
Threads, SMP, and Microkernels
The Future of Transport
I/O Systems.
Operating System Concepts
13: I/O Systems I/O hardwared Application I/O Interface
Architectures of distributed systems Fundamental Models
PalmOS.
Architectures of distributed systems Fundamental Models
Threads Chapter 4.
An Integrated Congestion Management Architecture for Internet Hosts
MQ Series Cross Platform Dominant Messaging sw – 70% of market
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Architectures of distributed systems Fundamental Models
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Module 12: I/O Systems I/O hardwared Application I/O Interface
Presentation transcript:

PredictRemainingTime Timecard: Controlling User-Perceived Delays in Server-based Mobile Applications Lenin Ravindranath, Jitendra Padhye, Ratul Mahajan, Hari Balakrishnan Servers should adapt to external delays to control user-perceived delay Timecard provides two APIs for server developers Mobile apps becoming dominant mode of data access Developer App Service Timecard.dll PredictRemainingTime (responseSize); GetElapsedTime(); config Cloud Services App Instrumenter GetElapsedTime(); PredictRemainingTime (responseSize); Desired end-to-end delay Instrumented App Predicted downlink delay and app processing delay for a given data size Time elapsed since the user initiated the request App Store Adapt processing time Mobile Apps Deployment Modified two services and two apps to use Timecard MobileAds Service Within 50ms of the target delay 90% of the time Adapt response Significant variability in external delays Server Tradeoff between response time and quality of result Server processing Request Response Server TCP state Phone model Uplink Downlink Phone model Reading sensors Link quality (3G, HSPA+, LTE, Wifi) Datasize App App DNS and TCP connect User click App App Parsing and Rendering Radio State (Radio wakeup) Overhead Compute Network Memory Battery low <1% 0.1% Highly variable User perceived delay User perceived delay Track Transaction Time Synchronization Predict Downlink Delay Predict Processing Delay Track transaction across asynchronous threads and between mobile device and server 90% percentile data size: 37 KB RTT matters than throughput Predict RTT TCP window state matters Multiple RTTs Estimate TCP Window & number of RTTs Complicated by middleboxes Periodic time sync probes from app to server Find drift and offset between clocks Use server clock as reference clock Client maps local time to server time Parsing and rendering delay depends on data size Processing delay dependent on the phone hardware Server Send response Data size Request handler Spawn workers Server Threads Server TC TC Middlebox Efficient technique for probing Aware of the radio state and traffic Minimal extra delays Energy efficient App App Model downlink delay Recent RTT Response size Bytes already transferred Network provider & client OS TC TC Facebook Background Thread GPS callback Web callback Web request UI dispatcher Model processing delay Response size Phone model Event handler GPS start UI Thread Thread start Triggered by transaction tracking TC Pass around transaction context TC