ECE555 Topic Presentation Energy-efficient real-time scheduling Xing Fu 20 September 2008 Acknowledge Dr. Jian-Jia Chen from ETH providing PPT Slides for.

Slides:



Advertisements
Similar presentations
Pinwheel Scheduling for Power-Aware Real-Time Systems Gaurav Chitroda Komal Kasat Nalini Kumar.
Advertisements

Energy-efficient Task Scheduling in Heterogeneous Environment 2013/10/25.
Minimum Clique Partition Problem with Constrained Weight for Interval Graphs Jianping Li Department of Mathematics Yunnan University Jointed by M.X. Chen.
S YSTEM -W IDE E NERGY M ANAGEMENT FOR R EAL -T IME T ASKS : L OWER B OUND AND A PPROXIMATION Xiliang Zhong and Cheng-Zhong Xu ICCAD 2006, ACM Trans. on.
Hadi Goudarzi and Massoud Pedram
1 “Scheduling with Dynamic Voltage/Speed Adjustment Using Slack Reclamation In Multi-processor Real-Time Systems” Dakai Zhu, Rami Melhem, and Bruce Childers.
CPE555A: Real-Time Embedded Systems
Power Aware Real-time Systems Rami Melhem A joint project with Daniel Mosse, Bruce Childers, Mootaz Elnozahy.
Minimizing Expected Energy Consumption in Real-Time Systems through Dynamic Voltage Scaling Ruibin Xu, Daniel Mosse’, and Rami Melhem.
A system Performance Model Instructor: Dr. Yanqing Zhang Presented by: Rajapaksage Jayampthi S.
Power Management Algorithms An effort to minimize Processor Temperature and Energy Consumption.
Soft Real-Time Semi-Partitioned Scheduling with Restricted Migrations on Uniform Heterogeneous Multiprocessors Kecheng Yang James H. Anderson Dept. of.
Towards Feasibility Region Calculus: An End-to-end Schedulability Analysis of Real- Time Multistage Execution William Hawkins and Tarek Abdelzaher Presented.
Aleksandra Tešanović Low Power/Energy Scheduling for Real-Time Systems Aleksandra Tešanović Real-Time Systems Laboratory Department of Computer and Information.
1 On Handling QoS Traffic in Wireless Sensor Networks 吳勇慶.
Preemptive Behavior Analysis and Improvement of Priority Scheduling Algorithms Xiaoying Wang Northeastern University China.
System-Wide Energy Minimization for Real-Time Tasks: Lower Bound and Approximation Xiliang Zhong and Cheng-Zhong Xu Dept. of Electrical & Computer Engg.
Embedded System Design Framework for Minimizing Code Size and Guaranteeing Real-Time Requirements Insik Shin, Insup Lee, & Sang Lyul Min CIS, Penn, USACSE,
Algorithmic problems in Scheduling jobs on Variable-speed processors Frances Yao City University of Hong Kong.
Energy, Energy, Energy  Worldwide efforts to reduce energy consumption  People can conserve. Large percentage savings possible, but each individual has.
Minimizing Response Time Implication in DVS Scheduling for Low Power Embedded Systems Sharvari Joshi Veronica Eyo.
VOLTAGE SCHEDULING HEURISTIC for REAL-TIME TASK GRAPHS D. Roychowdhury, I. Koren, C. M. Krishna University of Massachusetts, Amherst Y.-H. Lee Arizona.
OPTIMAL SERVER PROVISIONING AND FREQUENCY ADJUSTMENT IN SERVER CLUSTERS Presented by: Xinying Zheng 09/13/ XINYING ZHENG, YU CAI MICHIGAN TECHNOLOGICAL.
Baoxian Zhao Hakan Aydin Dakai Zhu Computer Science Department Computer Science Department George Mason University University of Texas at San Antonio DAC.
Cloud Computing Energy efficient cloud computing Keke Chen.
Computer Science Department University of Pittsburgh 1 Evaluating a DVS Scheme for Real-Time Embedded Systems Ruibin Xu, Daniel Mossé and Rami Melhem.
An Autonomic Framework in Cloud Environment Jiedan Zhu Advisor: Prof. Gagan Agrawal.
Low Power Design for Real-Time Systems Low power (energy) consumption is a key design for embedded systems Battery’s life during operation Reliability.
Approximation Algorithms for Task Allocation with QoS and Energy Considerations Bader N. Alahmad.
1 EE5900 Advanced Embedded System For Smart Infrastructure Energy Efficient Scheduling.
A S CHEDULABILITY A NALYSIS FOR W EAKLY H ARD R EAL - T IME T ASKS IN P ARTITIONING S CHEDULING ON M ULTIPROCESSOR S YSTEMS Energy Reduction in Weakly.
Quantifying the Sub-optimality of Non-preemptive Real-time Scheduling Abhilash Thekkilakattil, Radu Dobrin and Sasikumar Punnekkat.
Scheduling policies for real- time embedded systems.
Multiprocessor Real-time Scheduling Jing Ma 马靖. Classification Partitioned Scheduling In the partitioned approach, the tasks are statically partitioned.
DESIGNING VM SCHEDULERS FOR EMBEDDED REAL-TIME APPLICATIONS Alejandro Masrur, Thomas Pfeuffer, Martin Geier, Sebastian Drössler and Samarjit Chakraborty.
1 Distributed Energy-Efficient Scheduling for Data-Intensive Applications with Deadline Constraints on Data Grids Cong Liu and Xiao Qin Auburn University.
Abhilash Thekkilakattil, Radu Dobrin, Sasikumar Punnekkat Mälardalen Real-time Research Center, Mälardalen University Västerås, Sweden Towards Preemption.
Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference.
A Node and Load Allocation Algorithm for Resilient CPSs under Energy-Exhaustion Attack Tam Chantem and Ryan M. Gerdes Electrical and Computer Engineering.
The Global Limited Preemptive Earliest Deadline First Feasibility of Sporadic Real-time Tasks Abhilash Thekkilakattil, Sanjoy Baruah, Radu Dobrin and Sasikumar.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
Hard Real-Time Scheduling for Low- Energy Using Stochastic Data and DVS Processors Flavius Gruian Department of Computer Science, Lund University Box 118.
6. Application mapping 6.1 Problem definition
Scheduling Real-Time tasks on Symmetric Multiprocessor Platforms Real-Time Systems Laboratory RETIS Lab Marko Bertogna Research Area: Multiprocessor Systems.
Power and Control in Networked Sensors E. Jason Riedy and Robert Szewczyk Presenter: Fayun Luo.
1 Iterative Integer Programming Formulation for Robust Resource Allocation in Dynamic Real-Time Systems Sethavidh Gertphol and Viktor K. Prasanna University.
Node Reclamation and Replacement for Long-lived Sensor Networks Bin Tong, Wensheng Zhang, and Chuang Wang Department of Computer Science, Iowa State University.
Energy-Aware Scheduling for Aperiodic Tasks on Multi-core Processors Dawei Li and Jie Wu Department of Computer and Information Sciences Temple University,
CSCI1600: Embedded and Real Time Software Lecture 24: Real Time Scheduling II Steven Reiss, Fall 2015.
Real-Time Scheduling II: Compositional Scheduling Framework Insik Shin Dept. of Computer Science KAIST.
QoPS: A QoS based Scheme for Parallel Job Scheduling M. IslamP. Balaji P. Sadayappan and D. K. Panda Computer and Information Science The Ohio State University.
Power Aware Real-time Systems A joint project with profs Daniel Mosse Bruce Childers Mootaz Elnozahy (IBM Austin) And students Nevine Abougazaleh Cosmin.
Computer Science and Engineering Power-Performance Considerations of Parallel Computing on Chip Multiprocessors Jian Li and Jose F. Martinez ACM Transactions.
Multimedia Computing and Networking Jan Reduced Energy Decoding of MPEG Streams Malena Mesarina, HP Labs/UCLA CS Dept Yoshio Turner, HP Labs.
Workload Clustering for Increasing Energy Savings on Embedded MPSoCs S. H. K. Narayanan, O. Ozturk, M. Kandemir, M. Karakoy.
Ensieea Rizwani An energy-efficient management mechanism for large-scale server clusters By: Zhenghua Xue, Dong, Ma, Fan, Mei 1.
ECE555 Course Project Proposal Coordinated Power and Utilization Control for DRE System with E2E Tasks Xing Fu Eric Puster 16 September 2008.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Energy-aware QoS packet scheduling.
ECE692 Course Project Proposal Cache-aware power management for multi-core real-time systems Xing Fu Khairul Kabir 16 September 2009.
Determining Optimal Processor Speeds for Periodic Real-Time Tasks with Different Power Characteristics H. Aydın, R. Melhem, D. Mossé, P.M. Alvarez University.
ECE 692 Power-Aware Computer Systems Final Review Prof. Xiaorui Wang.
Distributed Process Scheduling- Real Time Scheduling Csc8320(Fall 2013)
Multiprocessor Real-Time Scheduling
Babak Sorkhpour, Prof. Roman Obermaisser, Ayman Murshed
Sanjoy Baruah The University of North Carolina at Chapel Hill
CSCI1600: Embedded and Real Time Software
Jian-Jia Chen and Tei-Wei Kuo
CSCI1600: Embedded and Real Time Software
Linköping University, IDA, ESLAB
Presentation transcript:

ECE555 Topic Presentation Energy-efficient real-time scheduling Xing Fu 20 September 2008 Acknowledge Dr. Jian-Jia Chen from ETH providing PPT Slides for IEEE RTAS 2007

Outline of Presentation System-level Energy Management for Periodic Real-Time Tasks On the Minimization of the Instantaneous Temperature for Periodic Real-Time Tasks Further reference:

Outline of Presentation Why those two papers? Paper 1: Systematic results. Other related papers can be treated as special cases. Paper 2: A closely related field: temperature efficient real time scheduling. What will be covered? 1. Main concepts 2. Key ideas 3. Introduction of underlying mathematics if time allowed

System-level Energy Management for Periodic Real-Time Tasks

What is System-level Energy Management? A generalized power model which includes the static, frequency-independent active and frequency- dependent active power components of the entire system, Variations in the system power dissipation during the execution of different tasks On-chip / off-chip workload characteristics of individual tasks.

Task and Processor Model

Power Model

Derivation of Energy-Efficient Speed for a Single Task

Energy-Efficient Speed Assignments for a Task Set Minimize Energy Guarantee Real Time

ENERGY-LU Case 1: If energy efficient speed of a particular task is great than S max, then in optimal solution, the speed of the task is S max Case 2: If, speed of all tasks will be Case 3: If,then In case 3, ENERGY-LU is formulated as

Solving ENERGY-LU First Reduce to ENERGY-L problem by relaxing the last constrain of ENERGY-LU and solve ENERGY-L problem first. Case 1: the solution of ENERGY-L problem is also the solution of ENERGY-LU. Case 2: the solution of ENERGY-L problem is NOT the solution of ENERGY-LU. If case 2, iteratively adjust solutions of ENERGY-L to solve ENERGY-LU.

Experiment Results I

Dynamic Reclaiming Why Dynamic Reclaiming? In practice, many task instances (Jobs) complete without presenting their worst-case workload. Dynamic Reclaiming is introduced to reclaim unused computation time to reduce the CPU speed while preserving feasibility. Different scheduling scheme has its own Dynamic Reclaiming.

Dynamic Reclaiming Algorithm When a job is to be dispatched, it will get the unused computation time from completed higher priority jobs. Use those time, reduce further CPU speed to save more power. A supported data structure - queue is needed to store related information.

Experiment Results II

Conclusions Addressed the problem of minimizing overall energy consumption of a real-time system, considering a generalized power model. Formulated the problem as a convex optimization problem and derived an iterative, polynomial time solution using Kuhn-Tucker optimality conditions. Provided a dynamic reclaiming extension for settings where tasks complete early.

On the Minimization of the Instantaneous Temperature for Periodic Real-Time Tasks

Motivations for Power Saving Rapid Increasing of Power Consumption The power consumption of processors increases dramatically. Slow Increasing of the Battery Capacity The battery capacity increases about 5% per year Embedded Systems vs. Servers The reduction of power is also needed to cut the power bill off

Heat versus Energy Energy Minimize the accumulative energy Prolong battery lifetime Reduce execution cost Heat Minimize the instantaneous temperature Prevent from overheating Reduce packing cost

Cooling Model Cooling is a complex phenomenon [Sergent and Krum 1998]. For tractability, a simple first-order approximation is needed. key assumptions: 1. Heat is lost via conduction 2. Ambient temperature of the environment is constant. This is likely a reasonable first-order approximation in some, but certainly not all, settings.

Cooling Model The ambient temperature is scaled to 0 Modeled by Fourier’s Law Initialization

Problem Definitions Generate a feasible schedule SC for a set of tasks T such that Ψ(SC) is minimized. UTAS : uniprocessor temperature-aware scheduling problem SMTAS : single-chip multiprocessor temperature- aware scheduling problem MMTAS : multi-chip multiprocessor temperature- aware scheduling problem CHIP Proc. SMTAS Proc. MMTAS

UTAS: Ideal Processors Energy minimization Executing at a constant speed in the earliest- deadline-first order is optimal in energy consumption minimization by Aydin et al. in RTSS 2001, where E(SC EDF ) · E(SC) for any feasible schedule SC, where SC EDF is to execute tasks by the above strategy. Temperature minimization Schedule Executing all of the tasks at a constant speed following the earliest-deadline-first (EDF) strategy

UTAS: Ideal Processors (cont.) The maximum temperature of schedule The maximum temperature of any feasible schedule The ratio between the above two

UTAS: Ideal Processors (cont.) This is an e-approximation algorithm which means the maximum temperature of the suboptimal scheme is at most e times as any optimal scheme.

UTAS: Non-Ideal Processors The timing overhead in speed transition from s i to s j is denoted by σ i,j When σ i,j is negligible Energy minimization Execute at two consecutive speeds of effective speed s T * so that the utilization is 100% is optimal Temperature minimization Execute at two consecutive speeds of effective speed s T * so that the utilization is 100% and frequently change speeds When σ i,j is non-negligible More complicated

UTAS: σ i,j is negligible t speed

UTAS: σ i,j is non-negligible t speedSpeed transition overhead When α = 1, β = 0.01, and σ i,j = 1 for any 0 < i  j ≤ H

Multiprocessor: Largest-Task First (LTF) 11 33 22 44 55 L1L1 L2L2 L3L3 M = 3 11 22 33 44 55 1.Sort tasks in a non- increasing order of c i /p i 2.Assign tasks in a greedy manner to the processor with the smallest load 3.Execute tasks on a processor at the speed with 100% utilization Jian-Jia Chen, Heng-Ruey Hsu, Kai-Hsiang Chuang, Chia-Lin Yang, Ai-Chun Pang, and Tei-Wei Kuo, "Multiprocessor Energy-Efficient Scheduling with Task Migration Considerations", in ECRTS Jian-Jia Chen, Heng-Ruey Hsu, and Tei-Wei Kuo, "Leakage-Aware Energy-Efficient Scheduling of Real-Time Tasks in Multiprocessor Systems", in RTAS Algorithm LTF is a 1.13-approximation algorithm for energy efficiency. Loads (c i /p i )

SMTAS and MMTAS Applying Algorithm LTF for scheduling (1.13e)-approximation for MMTAS (2.371e)-approximation for SMTAS

Conclusions Analysis for the maximum instantaneous temperature for energy-efficient scheduling algorithms in uniprocessor and multiprocessor systems e-approximation for uniprocessor scheduling on ideal processors (1.13e)-approximation when multi processors are on a chip (2.371e)-approximation when each processor is on an individual chip designs for non-ideal processors

Comparison of two papers First paperSecond paper What aboutEnergy, UniprocessorTemperature, Uniprocessor and Multiprocessors FocusAn optimization problemSuboptimal scheduling scheme design Difference from [1] System levelTemperature [1] Dynamic and Aggressive Power-Aware Scheduling Techniques for Real-Time Systems

Selected Critiques I Maybe apply latest results from optimization community to derive Optimal solution. Example, Linear Matrix Inequality. More accurate model of CPU cooling maybe investigated. Then new scheduling algorithms or feedback control system can be designed accordingly.

Selected Critiques II Optimizing other QoS parameters for power aware real time system. Examples: Thermal, fault tolerance, through- output.

Any Question? Thank you !