1 Improving Energy for Mobile Computers Through Process Migration Logging Chuck Weddle M.S. Student April 22, 2004 Willard Thompson Ph.D.

Slides:



Advertisements
Similar presentations
Multirate adaptive awake-sleep cycle in hierarchical heterogeneous sensor network BY HELAL CHOWDHURY presented by : Helal Chowdhury Telecommunication laboratory,
Advertisements

Walter Binder University of Lugano, Switzerland Niranjan Suri IHMC, Florida, USA Green Computing: Energy Consumption Optimized Service Hosting.
GRS: The Green, Reliability, and Security of Emerging Machine to Machine Communications Rongxing Lu, Xu Li, Xiaohui Liang, Xuemin (Sherman) Shen, and Xiaodong.
Operating System CS105. Objectives Role of an operating system Manages resources – Memory – CPU – Secondary storage – I/O devices Memory CPU Hard Disk.
Study of Hurricane and Tornado Operating Systems By Shubhanan Bakre.
Embedded Web Hyung-min Koo. 2 Table of Contents Introduction of Embedded Web Introduction of Embedded Web Advantages of Embedded Web Advantages of Embedded.
CSCI 8150 Advanced Computer Architecture Hwang, Chapter 1 Parallel Computer Models 1.2 Multiprocessors and Multicomputers.
Disco: Running Commodity Operating Systems on Scalable Multiprocessors Bugnion et al. Presented by: Ahmed Wafa.
Mi-Joung choi, Hong-Taek Ju, Hyun-Jun Cha, Sook-Hyang Kim and J
A brief look at CORBA. What is CORBA Common Object Request Broker Architecture developed by OMG Combine benefits of OO and distributed computing Distributed.
INTRODUCTION OS/2 was initially designed to extend the capabilities of DOS by IBM and Microsoft Corporations. To create a single industry-standard operating.
OPERATING SYSTEM OVERVIEW
Distributed Computing Software based solutions to Parallel Computing.
Understanding Operating Systems 1 Overview Introduction Operating System Components Machine Hardware Types of Operating Systems Brief History of Operating.
Scheduling with Optimized Communication for Time-Triggered Embedded Systems Slide 1 Scheduling with Optimized Communication for Time-Triggered Embedded.
1 Introduction to Load Balancing: l Definition of Distributed systems. Collection of independent loosely coupled computing resources. l Load Balancing.
1 Virtual Memory Management B.Ramamurthy Chapter 10.
CHICO Group Department of Technologies and Information Systems Castilla – La Mancha University (Spain) Tutoring System for Programming Algorithm Learning.
Memory Management 2 Tanenbaum Ch. 3 Silberschatz Ch. 8,9.
Summary :- Distributed Process Scheduling Prepared BY:- JAYA KALIDINDI.
CSE378 Virtual memory.1 Evolution in memory management techniques In early days, single program ran on the whole machine –used all the memory available.
Multiprocessor Real- Time Scheduling Aaron Harris CSE 666 Prof. Ganesan.
Design and Implementation of a Single System Image Operating System for High Performance Computing on Clusters Christine MORIN PARIS project-team, IRISA/INRIA.
Distributed Process Implementation Hima Mandava. OUTLINE Logical Model Of Local And Remote Processes Application scenarios Remote Service Remote Execution.
Reconfigurable Hardware in Wearable Computing Nodes Christian Plessl 1 Rolf Enzler 2 Herbert Walder 1 Jan Beutel 1 Marco Platzner 1 Lothar Thiele 1 1 Computer.
Applying Twister to Scientific Applications CloudCom 2010 Indianapolis, Indiana, USA Nov 30 – Dec 3, 2010.
Task Alloc. In Dist. Embed. Systems Murat Semerci A.Yasin Çitkaya CMPE 511 COMPUTER ARCHITECTURE.
Tufts Wireless Laboratory School Of Engineering Tufts University “Network QoS Management in Cyber-Physical Systems” Nicole Ng 9/16/20151 by Feng Xia, Longhua.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
Robot Autonomous Perception Model For Internet-Based Intelligent Robotic System By Sriram Sunnam.
Robert Fourer, Jun Ma, Kipp Martin Copyright 2006 An Enterprise Computational System Built on the Optimization Services (OS) Framework and Standards Jun.
A Low-Power CAM Design for LZ Data Compression Kun-Jin Lin and Cheng-Wen Wu, IEEE Trans. On computers, Vol. 49, No. 10, Oct Presenter: Ming-Hsien.
Crossing The Line: Distributed Computing Across Network and Filesystem Boundaries.
Grid Computing I CONDOR.
Mahesh Sukumar Subramanian Srinivasan. Introduction Embedded system products keep arriving in the market. There is a continuous growing demand for more.
Introduction to dCache Zhenping (Jane) Liu ATLAS Computing Facility, Physics Department Brookhaven National Lab 09/12 – 09/13, 2005 USATLAS Tier-1 & Tier-2.
Comparison of Distributed Operating Systems. Systems Discussed ◦Plan 9 ◦AgentOS ◦Clouds ◦E1 ◦MOSIX.
Copyright © 2011, Performance Evaluation of a Green Scheduling Algorithm for Energy Savings in Cloud Computing Truong Vinh Truong Duy; Sato,
OPERATING SYSTEM SUPPORT DISTRIBUTED SYSTEMS CHAPTER 6 Lawrence Heyman July 8, 2002.
In Large-Scale Cluster Yutaka Ishikawa Computer Science Department/Information Technology Center The University of Tokyo
Processes Introduction to Operating Systems: Module 3.
Disco : Running commodity operating system on scalable multiprocessor Edouard et al. Presented by Vidhya Sivasankaran.
Code Migration Russell T. Potee, III. Overview Why Code Migration? Code Migration Models Migration and Handling Resources Heterogeneous Systems Migration.
A Utility-based Approach to Scheduling Multimedia Streams in P2P Systems Fang Chen Computer Science Dept. University of California, Riverside
Latency Reduction Techniques for Remote Memory Access in ANEMONE Mark Lewandowski Department of Computer Science Florida State University.
1 Process Migration for Mobile Computing Charles Weddle Willard Thompson February 5, 2004.
Introduction: Memory Management 2 Ideally programmers want memory that is large fast non volatile Memory hierarchy small amount of fast, expensive memory.
Overview and Comparison of Software Tools for Power Management in Data Centers Msc. Enida Sheme Acad. Neki Frasheri Polytechnic University of Tirana Albania.
Threads. Readings r Silberschatz et al : Chapter 4.
Tool Integration with Data and Computation Grid “Grid Wizard 2”
Ensieea Rizwani An energy-efficient management mechanism for large-scale server clusters By: Zhenghua Xue, Dong, Ma, Fan, Mei 1.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
CML Path Selection based Branching for CGRAs ShriHari RajendranRadhika Thesis Committee : Prof. Aviral Shrivastava (Chair) Prof. Jennifer Blain Christen.
Operating Systems: Summary INF1060: Introduction to Operating Systems and Data Communication.
Euro-Par, HASTE: An Adaptive Middleware for Supporting Time-Critical Event Handling in Distributed Environments ICAC 2008 Conference June 2 nd,
Mobile Analyzer A Distributed Computing Platform Juho Karppinen Helsinki Institute of Physics Technology Program May 23th, 2002 Mobile.
Data-Centric Systems Lab. A Virtual Cloud Computing Provider for Mobile Devices Gonzalo Huerta-Canepa presenter 김영진.
Memory management The main purpose of a computer system is to execute programs. These programs, together with the data they access, must be in main memory.
An Introduction to GPFS
Introduction to Performance Tuning Chia-heng Tu PAS Lab Summer Workshop 2009 June 30,
Introduction to Load Balancing:
Collaborative Offloading for Distributed Mobile-Cloud Apps
Architectural Requirements for the Effective Support of Adaptive Mobile Applications Lawrence Li ICS 243F.
Architectural Requirements for the Effective Support of Adaptive Mobile Applications Lawrence Li ICS 243F.
Evolution in memory management techniques
Maria Méndez Real, Vincent Migliore, Vianney Lapotre, Guy Gogniat
CSE 542: Operating Systems
File System Interface (cont)
Presentation transcript:

1 Improving Energy for Mobile Computers Through Process Migration Logging Chuck Weddle M.S. Student April 22, 2004 Willard Thompson Ph.D. Student

2 Introduction Research Goals Design Implementation Results and Measurements Analysis Conclusions Summary

3 Research Goals Initial Hypothesis Given process caching, process logging, and a multi-level queue scheduling (optimized for process migration), is there a measurable difference in efficiency over current process migration models, for improving power consumption for mobile clients?

4 Research Goals Modified Hypothesis Given process migration that uses process logging, is there a measurable improvement in efficiency over process migration without process logging, for improving power consumption?

5 Design JPM System - JPM Process - JPM Daemon

6 Design JPM Process JPM Migrate Class JPM process JPM Migrate Class JPM process JPM daemon Register Suspend

7 Design JPM Daemon - PPS, Pre-Process Scheduler - PS, Process Logger - PE, Process Execution - PM, Process Monitor - IJPM, Inter-JPM Daemon Communicator JPM daemon PPSPSPM IJPM PE Shared Memory JPM daemon PPSPSPM IJPM PE Shared Memory

8 Implementation JPM Process - Migrate Class - Encapsulates logic that implements the communication protocol between the process to be migrated and the JPM Daemon PPS. - Handles socket communication logic - Defines framework methods that can be overridden by the process programs that allow the process programs to plug into the JPM system.

9 Implementation JPM Process – Example // Java Process Migration (JPM) // // Charles Weddle & Willard Thompson Florida State University // // copywrite 2004, all rights reserved import edu.fsu.jpm.jpmp.Migrate; public class example extends Migrate { public static void main (String args[]) { example mp = new example(); mp.setProcessName("Example"); mp.execute(new example()); }

10 Implementation JPM Process – Example public void run() { try { } catch (InterruptedException exception) { exception.printStackTrace(); } protected void suspendProcess () { // prepare THIS process for migration, if needed. }

11 Implementation JPM Daemon – Representation - JpmCommand - JpmNode - JpmProcess - JpmProcessBlock JPM daemon PPSPSPM IJPM PE Shared Memory

12 Implementation JPM Daemon jpmd-ijpm & jpmd-ijpm-nodemgr - Java RMI used to implement communication protocol between the jpmd-ijpm and jpmd-ijpm-nodemgr. - JpmIjpmIf & JpmIjpmImpl RMI Remote Interface and Implementation. - Nodes are “well known”. JPM daemon PPSPSPM IJPM PE Shared Memory

13 Implementation JPM Daemon – Shared Memory Queues - Nodes Queue - Pre-Processes Queue - Process Blocks Queue - Migrated Process Blocks Queue JPM daemon PPSPSPM IJPM PE Shared Memory

14 Implementation JPM Daemon – Process Monitor JPM daemon PPSPSPM IJPM PE Shared Memory

15 Implementation JPM Experiment - Built to facilitate experimentation of the JPM system.

16 Implementation Constraints - Time, 12 Week Project – 1 Year Idea - JPM System “Well-Known” Nodes - JPM Process Byte Size - JPM Process Round Trip Completion - Java RMI

17 Results and Measurements Organized into three categories 1. Network Efficiency 2. Disk I/O 3. CPU Utilization Nine experiments run for each category 300 runs for each experiment

18 Results and Measurements Nine types of experiments run: 1. Pre-processor off 2. Pre-processor on; Process logger off 3. Pre-processor on; Log block size 3K 4. Pre-processor on; Log block size 5K 5. Pre-processor on; Log block size 7K 6. Pre-processor on; Log block size 9K 7. Pre-processor on; Log block size 11K 8. Pre-processor on; Log block size 13K 9. Pre-processor on; Log block size 15K

19 Results and Measurements

20 Results and Measurements

21 Results and Measurements

22 Results and Measurements

23 Results and Measurements

24 Results and Measurements Exp. Blocks Proc. Migrated PBS Delay Interval p1 p2 p

25 Results and Measurements Each of the 300 runs consisted of an random instantiation of one of the following processes: ProcOne (p1): Writes out a set of even numbers, where each number is delayed by a.5 second. ProcTwo (p2): Simulates interactions of a customer account, where each action is made every second. ProcThree (p3): Randomizes an array of elements and sorts them using selectionsort every second.

26 Analysis Network efficiency performed as expected Disk I/O and CPU Utilization had no notable changes The drop off in all of the charts except for the CPU chart is from the Pre-processor going from off to on Perhaps having more control in isolating our experiment may have helped

27 Conclusions Still premature to arrive at any solid conclusions of whether or not process migration would improve mobile computing efficiency Network efficiency was probably accurate since we had more control over the network medium

28 Summary Research Goals Experiments Results Analysis and Conclusions

29 References [CT95] C. Tait, et. al., “Intelligent File Hoarding for Mobile Computers", ACM Conference on Mobile Computing and Networking (Mobicom ’95), [DM00] D. Milojicic, “Process Migration”, ACM Computing Surveys, Vol. 32, No. 3, pp. 241 – 299, [EP02] E. Pinheiro, et al., “Dynamic Cluster Reconfiguration for Power and Performance”, Kluwer Academic Publishers, [JH01] J. Hom, U. Kremer, “Energy Management of Virtual Memory on Diskless Devices”, In Proceedings of the Workshop on Compilers and Operating Systems for Low Power, September [JM02] J. McCann, “Ubiquitous Computing and the Need for a New Operating System Architecture”, DSEG Imperial College, [KB03] K. Barr, K. Asanovic, “Energy Aware Lossless Data Compression”, Proceedings of MobiSys 2003: The First International Conference on Mobile Systems, Applications, and Services, [MA03] M. Angles Moncusi, et. al., “A Modified Dual-Priority Scheduling Algorithm for Hard Real-Time Systems to Improve Energy Savings”, Kluwer Academic Publishers, Norwell, MA, USA, [MF03] M. Franz, “A Fresh Look at Low-Power Mobile Computing”, Kluwer Academic Publishers, Norwell, MA, USA, pp. 209 – 219, [MG01] M. Golm, J. Kleinoder, “Ubiquitous Computing and the Need for a New Operating System Architecture”, University of Erlangen-Nurnberg, [MN94] M. Nuttall, “A Brief Survey of Systems Providing Process or Object Migration Facilities”, Operating Systems Review, Vol. 28, No. 4, pp , [MS95] M. Seltzer, K. Smith, “File System Logging Versus Clustering: A Performance Comparison”, USENIX, pp , [NA01] N. AbouGhazaleh, et al., “Toward the Placement of Power Management Points in Real Time Applications”, In Porceedings of the Workshop on Compilers and Operating Systems for Low Power (COLP'01), September [PS98] P. Smith, N. Hutchinson, “Heterogeneous Process Migration: The Tui System", Software and Practice and Experience", Vol. 28, No. 6, pp , [RL98] R. Lawrence, “A Survey of Process Migration Mechanisms”, University of Manitoba, [SL01] S. Li, et. al., “Low Power Operating System for Heterogeneous Wireless Communication System”, 10th International Conference on Parallel Architectures and Compilation Techniques (PACT'01), Barcelona, Spain, September [SP96] S. Pope, “Application Migration for Mobile Computers”, 3rd International Workshop on Services in Distributed and Networked Environments (SDNE 96), [TS03] T. Sato, I. Arita, “Constructive Timing Violation for Improving Energy Efficiency”, Kluwer Academic Publishers, Norwell, MA, USA, pp. 137 – 153, 2003.