Background Energy efficiency is a critical issue for mobile device.

Slides:



Advertisements
Similar presentations
CS 443 Advanced OS Fabián E. Bustamante, Spring 2005 Resource Containers: A new Facility for Resource Management in Server Systems G. Banga, P. Druschel,
Advertisements

Institute of Networking and Multimedia, National Taiwan University, Jun-14, 2014.
XENMON: QOS MONITORING AND PERFORMANCE PROFILING TOOL Diwaker Gupta, Rob Gardner, Ludmila Cherkasova 1.
Network Management Overview IACT 918 July 2004 Gene Awyzio SITACS University of Wollongong.
Process Description and Control
Page 1 Processes and Threads Chapter Processes 2.2 Threads 2.3 Interprocess communication 2.4 Classical IPC problems 2.5 Scheduling.
PRASHANTHI NARAYAN NETTEM.
H-1 Network Management Network management is the process of controlling a complex data network to maximize its efficiency and productivity The overall.
Load Test Planning Especially with HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Operating System Overview
Operating System A program that controls the execution of application programs An interface between applications and hardware 1.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
CHAPTER 2 OPERATING SYSTEM OVERVIEW 1. Operating System Operating System Definition A program that controls the execution of application programs and.
Software Software essential is coded programs that perform a serious of algorithms. Instructions loaded into primary memory (RAM) from secondary storage.
Fall 2000M.B. Ibáñez Lecture 01 Introduction What is an Operating System? The Evolution of Operating Systems Course Outline.
◦ What is an Operating System? What is an Operating System? ◦ Operating System Objectives Operating System Objectives ◦ Services Provided by the Operating.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Architectural Design l Establishing the overall structure of a software system.
Y. Kotani · F. Ino · K. Hagihara Springer Science + Business Media B.V Reporter: 李長霖.
OPERETTA: An Optimal Energy Efficient Bandwidth Aggregation System Karim Habak†, Khaled A. Harras‡, and Moustafa Youssef† †Egypt-Japan University of Sc.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Multithreaded Programing. Outline Overview of threads Threads Multithreaded Models  Many-to-One  One-to-One  Many-to-Many Thread Libraries  Pthread.
COMMON INTERFACE FOR EMBEDDED SOFTWARE CONFIGURATION by Yatiraj Bhumkar Advisor Dr. Chung-E Wang Department of Computer Science CALIFORNIA STATE UNIVERSITY,
System Architecture Directions for Networked Sensors.
Slide 1 Chapter 8 Architectural Design. Slide 2 Topics covered l System structuring l Control models l Modular decomposition l Domain-specific architectures.
A Software Energy Analysis Method using Executable UML for Smartphones Kenji Hisazumi System LSI Research Center Kyushu University.
Use Application Insights to Monitor your web application VITALS USE CASE.
Accelerometer based motion gestures for mobile devices Presented by – Neel Parikh Advisor Committee members Dr. Chris Pollett Dr. Robert Chun Dr. Mark.
Threads by Dr. Amin Danial Asham. References Operating System Concepts ABRAHAM SILBERSCHATZ, PETER BAER GALVIN, and GREG GAGNE.
1 Chapter 5: Threads Overview Multithreading Models & Issues Read Chapter 5 pages
Chapter 2 Operating System Overview Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
Fleet Manager. Features Features Explained The fleet manager module allows fleet companies to do the following Store and manage vehicle related information.
WEB TESTING
Introduction to threads
Topic 2: Hardware and Software
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Chapter 19: Network Management
Current Generation Hypervisor Type 1 Type 2.
Threads vs. Events SEDA – An Event Model 5204 – Operating Systems.
The world’s most advanced mobile platform
Architecture of Android
ANDROID AN OPEN HANDSET ALLIANCE PROJECT
Mobile App Development
Greening Your Information Systems
Network Operating Systems (NOS)
Operating System (013022) Dr. H. Iwidat
Sangeun Oh, Hyuck Yoo, Dae R. Jeong, Duc Hoang Bui, and Insik Shin
Effective Data-Race Detection for the Kernel
Introduction to Operating System (OS)
Green Software Engineering Prof
Threads & multithreading
Chapter 4: Threads.
Operating System Concepts
International Symposium on Microarchitecture. New York, NY.
Chapter 2: System Structures
Process Description and Control
Introduction to Operating Systems
Characterizing Smartwatch Usage In The Wild
User interface design.
Multithreaded Programming
Prof. Leonardo Mostarda University of Camerino
Process Description and Control
Operating System Introduction.
The Main Features of Operating Systems
Chapter 2 Processes and Threads 2.1 Processes 2.2 Threads
Chapter 2 Operating System Overview
Chapter 4: Threads.
Threads -For CSIT.
SeeSoft A Visualization Tool..
Presentation transcript:

EnTrack: A System Facility for Analyzing Energy Consumption of Android System Services

Background Energy efficiency is a critical issue for mobile device. Energy accounting is essential for developing energy-efficient applications. Previous studies consider the energy consumption of an application as the summation of the energy consumption of the constituent processes(the processes and threads with the same UID). Such energy consumption methods are not accurate when considering system service!

Energy Models 22.2% of energy consumption is attributed to System Processes

Innovations Tracking the relationship between applications and services Providing fine-grained energy consumption of system services according to function unit Accounting the energy consumption of applications linked with system services.

EnTrack Architecture

Service Tracer Binder Tracer Interaction Identifier Hook into Binder Driver [jprobe] Acquire IPC message Interaction Identifier Analyze data from Binder Tracer Interaction Data Manager Maintain a caller list of system service Framework Tracer Deal with location & graphics processing

Framework Tracer

HW Usage Accounter & Application Energy Analyzer Hardware Usage Accounter Collect hardware usage information The same way as AppScope Application Energy Analyzer Process-level energy consumption CPU and network energy consumption The same as AppScope Disaggregate energy consumption of system service to the caller Decompose energy consumption at GPU according to the display proportion Decompose energy consumption at GPS equally to applications which use GPS concurrently

Evaluation: Accuracy & Functionality Service Tracker Hardware Usage Accounter Add code to log service usage information Execute five applications both sequentially and simultaneously. Rerun the scenario and collect data with EnTrack A margin of error of 4.94% Compare the monitoring results: exactly the same

Evaluation: Accuracy & Functionality Application Energy Analyser

Evaluation Analysis Capability Overhead CPU Utilization: 1.8% Memory Overhead: Rather High Log size of 450-second scenario: 581 KB

Case Study 1: LBS Application Two versions of a LBS application: Old version: use AlarmManager to activate GPS sensor and it consumes most energy. New version: use Handler instead of AlarmManager to activate GPS sensor.

Case Study 2: Web Browser Optimization Tab Switching Optimization: Overall energy usage decreased from 90,000mJ to 65,800mJ Version 25.0: Load the images in all web pages Version 26.0: Only load images visible to the user

Case Study 3: Energy Bug of Web Browser Firefox continues to operate the timer or video when the application runs in the background. EnTrack tracks the energy consumption with the android.hardware.IOMX system service in the Media Server. android.hardware.IOMX continuously consumes a certain amount of energy although the application does not consume energy for display.

Conclusion EnTrack keeps track of interactions between application and system service and disaggregates energy consumption of system services to each application. Evaluation shows that EnTrack improves analysis capability of energy consumption compared with the existing method. The case studies show that EnTrack can be used as a developer tool for energy optimization. The limitation of EnTrack is that the energy consumption used by the kernel is not considered.