Fine-Grained Power Modeling for Smartphones Using System Call Tracing Abhinav Pathak, Y. Charlie Hu Purdue University Ming Zhang, Paramvir Bahl, Yi-Min.

Slides:



Advertisements
Similar presentations
Test Automation on Mobile environnents Eder Figueroa 4/29/203.
Advertisements

Android Power Calculations Approaches and Best Practice Hafed Alghamdi.
What’s new in this release? September 6, Milestone Systems Confidential Milestone’s September release 2012 XProtect ® Web Client 1 Connect instantly.
Institute of Networking and Multimedia, National Taiwan University, Jun-14, 2014.
Course Introduction CSE481M: Home Networking Capstone March 28 th, 2011.
ANDROID OPERATING SYSTEM Guided By,Presented By, Ajay B.N Somashekar B.T Asst Professor MTech 2 nd Sem (CE)Dept of CS & E.
Reducing the Energy Usage of Office Applications Jason Flinn M. Satyanarayanan Carnegie Mellon University Eyal de Lara Dan S. Wallach Willy Zwaenepoel.
Optimize tomorrow today. TM 1 Optimize tomorrow today. Arlene Minkiewicz, Chief Scientist PRICE Systems, LLC Software.
1 Software Testing and Quality Assurance Lecture 40 – Software Quality Assurance.
Android An open handset alliance project Janice Garcia September 18, 2008 MIS 304.
Technology in Organisations How are technological components used together in systems? All images drawn by Christopher Ashwood.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
ThinkAir: Dynamic Resource Allocation and Parallel Execution in Cloud for Mobile Code Offloading Sokol Kosta, Pan Hui Deutsche Telekom Labs, Berlin, Germany.
Yi Wang, Bhaskar Krishnamachari, Qing Zhao, and Murali Annavaram 1 The Tradeoff between Energy Efficiency and User State Estimation Accuracy in Mobile.
Niranjan Balasubramanian Aruna Balasubramanian Arun Venkataramani University of Massachusetts Amherst Energy Consumption in Mobile Phones: A Measurement.
CS 153 Design of Operating Systems Spring 2015 Lecture 24: Android OS.
Arvind Thiagarajan, Lenin Ravindranath, Katrina LaCurts, Sivan Toledo,Jakob Eriksson, Samuel Madden, Hari Balakrishnan. VTrack: Accurate, Energy-aware.
Sensys 2009 Speaker:Lawrence.  Introduction  Overview & Challenges  Algorithm  Travel Time Estimation  Evaluation  Conclusion.
 Energy Results: Memory Assistant Arcade Game  Performance Results:  Response Time ▪ Memory assistant: 17.3 sec -> 1.5 sec ▪ Arcade game: 6 FPS -> 13.
Video Eyewear for Augmented Reality Presenter: Manjul Sharma Supervisor: Paul Calder.
Today’s Agenda: Computer Basics Review Hardware: The physical components of a computer, any internal or external computer part that you can touch. Software:
SOFTWARE.
Characterizing and Modeling the Impact of Wireless Signal Strength on Smartphone Battery Drain Ning Ding Xiaomeng Chen Abhinav Pathak Y. Charlie Hu 1 Daniel.
Android Programming By Mohsen Biglari Android Programming, Part1: Introduction 1 Part1: Introduction By Mohsen Biglari.
APT: Accurate Outdoor Pedestrian Tracking with Smartphones TsungYun
The MobiSoC Middleware for Mobile Social Computing Cristian Borcea, Ankur Gupta, Achir Kalra, Quentin Jones, Liviu Iftode* Department of Computer Science.
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
Smartphone Background Activities in the Wild: Origin, Energy Drain, and Optimization Xiaomeng Chen Abhilash Jindal Ning Ding Y. Charlie Hu Maruti Gupta.
ReCapture A Pattern-aware Benchmark Tool for Smartphones.
ErdOS Narseo Vallina-Rodríguez + Jon Crowcroft NETOS Talket - 25th May 2010.
Experimental Results ■ Observations:  Overall detection accuracy increases as the length of observation window increases.  An observation window of 100.
Copyright © 2011, Performance Evaluation of a Green Scheduling Algorithm for Energy Savings in Cloud Computing Truong Vinh Truong Duy; Sato,
A dynamic optimization model for power and performance management of virtualized clusters Vinicius Petrucci, Orlando Loques Univ. Federal Fluminense Niteroi,
Embedded System Lab. 정범종 A_DRM: Architecture-aware Distributed Resource Management of Virtualized Clusters H. Wang et al. VEE, 2015.
What You Need to Know. All kinds of technology devices Traditional Desktop.
1 DozyAP: Power-Efficient Wi-Fi Tethering Speaker Hao Han College of William & Mary 3/22/2013 W&M Graduate Research Symposium 2013.
PRIVATE INFORMATION EXPOSURE IN ONLINE SOCIAL NETWORKS WITH IOS, ANDROID AND SYMBIAN MOBILE DEVICES Security and Cooperation in Wireless Networks Laboratory.
PEPPY Milestone 1 Kent W. Nixon CS 2610 November 18, 2015.
| | Top 4 Benefits of Hybrid Mobile Apps.
Innovation Any app, any platform Openness.NET Core ASP.NET 5.
Windows 8 A touch screen computer on a desktop. Windows Metro.
It Starts with iGaze: Visual Attention Driven Networking with Smart Glasses It Starts with iGaze: Visual Attention Driven Networking with Smart Glasses.
I Am the Antenna Accurate Outdoor AP Location Using Smartphones Zengbin Zhang†, Xia Zhou†, Weile Zhang†§, Yuanyang Zhang†, Gang Wang†, Ben Y. Zhao† and.
Incentive Mechanism Design and Implementation for Mobile Sensing Systems Zhibo Wang Dept. of EECS University of Tennessee, Knoxville Project for ECE 692.
Power Guru: Implementing Smart Power Management on the Android Platform Written by Raef Mchaymech.
E-MOS: Efficient Energy Management Policies in Operating Systems
Realizing the Full Potential of PSM using Proxying
System Programming Basics Cha#2 H.M.Bilal. Operating Systems An operating system is the software on a computer that manages the way different programs.
Indoor positioning systems Kyle Hampton. Outline Introduction Uses Players Techniques Challenges Future Conclusion.
Android operating system N. Sravani M. Tech(CSE) (09251D5804)
Google Web Toolkit for Mobile Applications Development INGENUITY AT ITS BEST……………….
Application development process Part 1. Overview State of the mobile industry Size of the market Popularity of platforms How users use their devices Internationalisation.
Embedded Database Benchmark Team CodeBlooded. Internet of Things “As the number of interconnected platforms continues to multiply, vendors and customers.
Smartphone energy considerations (for browser design) Ratul Mahajan Microsoft Research.
Google. Android What is Android ? -Android is Linux Based OS -Designed for use on cell phones, e-readers, tablet PCs. -Android provides easy access to.
Smartphone Energy Drain in the Wild: Analysis and Implications Authors: Xiaomeng Chen, Ning Ding, Abhilash Jindal†, Y. Charlie Hu†, Maruti Gupta, Rath.
Voice Controlled Robot by Cell Phone with Android App
Jacob R. Lorch Microsoft Research
Outline Introduction Related Work
Collaborative Detection of Energy Bugs
What is an Operating System?
MIT App Inventor By Hans Yip.
Different Types of Apps. App Development ● App Development refers to the creation of computer applications for use on mobile devices such as tablets,
International Symposium on Microarchitecture. New York, NY.
Hui Chen, Shinan Wang and Weisong Shi Wayne State University
Background Energy efficiency is a critical issue for mobile device.
The Pitfalls and Guidelines for Mobile ML Benchmarking
MCI 3G Services Business Plan
Creative Media Pre-production Introduction Creative Media GCSE
Presentation transcript:

Fine-Grained Power Modeling for Smartphones Using System Call Tracing Abhinav Pathak, Y. Charlie Hu Purdue University Ming Zhang, Paramvir Bahl, Yi-Min Wang Microsoft Research 2011 EuroSys

Motivation Accurate, fine-grained online energy estimation of mobile devices. ◦ Understanding and debugging the energy consumption of mobile applications. Current utilization-based power modeling is insufficient for modeling the power consumption of mobile devices.

Utilization-Based Power Modeling The power state of a device is correlated to the utilization of its hardware components. ◦ Ex: CPU utilization 0%=> 150W CPU utilization 50%=> 250W CPU utilization 90%=> 340W This model can be used to perform online estimation of power consumption. ◦ Collects the utilization of each components and feeds them into the model.

New Challenges Several components have tail power states. ◦ Tail power: a component stays at high power state for a period of time after active I/O activities. System calls that do not imply utilization can change power states ◦ Could be due to power optimizations programmed in device drivers.

New Challenges(cont.) Several components do not have quantitative utilization. ◦ “Exotic” components such as GPS and camera.

System-Call-Based Power Modeling Based on the following observations: ◦ System calls is the only way an app can access hardware (I/O) components. ◦ System calls can trigger power state transition. ◦ System calls that turn on/off “exotic” components trigger power state change immediately. ◦ Using system calls as triggers naturally suggests using a FSM to model state transitions. ◦ System calls can be easily related back to the calling subroutine.

System-Call-Based Power Modeling(Cont.) Model the power state of a device using FSM. ◦ Each state of the FSM is a power state of the device.  Can be easily annotated with timing and workload of recent events. ◦ The state transition is triggered by system call.

Construction Step I Modeling single system call power consumption

Construction Step II Modeling Multiple System Calls(to the same component) ◦ Concurrent system calls  The second system call is invoked before the component is out of the productive or tail state due to the first system call. ◦ Power states of a component  Take the union of all power states discovered by modeling individual system calls.

Construction Step II(Cont.) ◦ Modeling state transition  A system call arrives after the previous one is out of its productive power state. => superimposing the FSM of the second on top of the first.  A system call arrives while the previous one is still in its productive power state. =>  Workload-based system call(ex: read/write)  workload_first => workload_first + workload_second  Initialization-based system call(ex: open)  Productive state => Tail state => Superimposing

Construction Step III Modeling Multiple Components ◦ Android  The total power consumption is the summation of those of individual components when active in isolation. ◦ Windows Phone  Tail states of different components interfere with each other.  Try out all possible combinations of the sets of conditions, each set for driving one component into all possible states, and measure the corresponding total power consumption.

CTester Applications A testing benchmark suite. ◦ An application for each component carefully designed to exercise all the relevant system calls. ◦ A wrapper application that invokes individual applications at predetermined timing. Run CTester and measure the power dissipated through an external power meter.

Implementation Tracing System Calls ◦ Windows Mobile 6.5 with Windows CE 5.2 kernel ◦ Android 2.2 running Linux Kernel Flash Customized kernel Images

Hardware Platform Phone is connected to a power supply with power monitor. Power monitor samples every 200 ms. NameHandset HTC-CPU (MHz)OS (kernel)BasePower Magic 528Android 2.0 (Linux ) 160mA Touch 528WM6.1 (CE5.2)250mA Tytn2Tytn II400WM6.1 (CE5.2)130mA

Energy Consumption Estimation Compare the accuracy of fine-grained and whole-application energy consumption estimation. ◦ System-call-based ◦ Utilization-based  LR model ◦ Only consider LCD, CPU, sacard, and wifi NIC.

Fine-grained Interval: 50ms

Whole-application

Conclusion This paper presents the design and implementation of a system-call-based power modeling approach. The experimental results on Android and Windows Mobile using a diverse set of applications show that the new model drastically improves the accuracy of fine- grained energy estimation as well as whole application energy estimation.