Determining Optimal Processor Speeds for Periodic Real-Time Tasks with Different Power Characteristics H. Aydın, R. Melhem, D. Mossé, P.M. Alvarez University.

Slides:



Advertisements
Similar presentations
1 “Scheduling with Dynamic Voltage/Speed Adjustment Using Slack Reclamation In Multi-processor Real-Time Systems” Dakai Zhu, Rami Melhem, and Bruce Childers.
Advertisements

Real- time Dynamic Voltage Scaling for Low- Power Embedded Operating Systems Written by P. Pillai and K.G. Shin Presented by Gaurav Saxena CSE 666 – Real.
Introduction and Background  Power: A Critical Dimension for Embedded Systems  Dynamic power dominates; static /leakage power increases faster  Common.
Online Scheduling with Known Arrival Times Nicholas G Hall (Ohio State University) Marc E Posner (Ohio State University) Chris N Potts (University of Southampton)
Power Aware Real-time Systems Rami Melhem A joint project with Daniel Mosse, Bruce Childers, Mootaz Elnozahy.
RUN: Optimal Multiprocessor Real-Time Scheduling via Reduction to Uniprocessor Paul Regnier † George Lima † Ernesto Massa † Greg Levin ‡ Scott Brandt ‡
Resource Management of Highly Configurable Tasks April 26, 2004 Jeffery P. HansenSourav Ghosh Raj RajkumarJohn P. Lehoczky Carnegie Mellon University.
Presenter: David Fleeman { D. Juedes, F. Drews, L. Welch and D. Fleeman Center for Intelligent, Distributed & Dependable.
Aleksandra Tešanović Low Power/Energy Scheduling for Real-Time Systems Aleksandra Tešanović Real-Time Systems Laboratory Department of Computer and Information.
Chapter 6 Dynamic Priority Servers
Investigating the Effect of Voltage- Switching on Low-Energy Task Scheduling in Hard Real-Time Systems Paper review Presented by Chung-Fu Kao.
System-Wide Energy Minimization for Real-Time Tasks: Lower Bound and Approximation Xiliang Zhong and Cheng-Zhong Xu Dept. of Electrical & Computer Engg.
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
CprE 458/558: Real-Time Systems
Processor Frequency Setting for Energy Minimization of Streaming Multimedia Application by A. Acquaviva, L. Benini, and B. Riccò, in Proc. 9th Internation.
Embedded System Design Framework for Minimizing Code Size and Guaranteeing Real-Time Requirements Insik Shin, Insup Lee, & Sang Lyul Min CIS, Penn, USACSE,
Power-aware Computing n Dramatic increases in computer power consumption: » Some processors now draw more than 100 watts » Memory power consumption is.
Technische Universität Dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund, Informatik 12 Germany 2007/12/14.
CS 423 – Operating Systems Design Lecture 22 – Power Management Klara Nahrstedt and Raoul Rivas Spring 2013 CS Spring 2013.
Task Alloc. In Dist. Embed. Systems Murat Semerci A.Yasin Çitkaya CMPE 511 COMPUTER ARCHITECTURE.
VOLTAGE SCHEDULING HEURISTIC for REAL-TIME TASK GRAPHS D. Roychowdhury, I. Koren, C. M. Krishna University of Massachusetts, Amherst Y.-H. Lee Arizona.
Baoxian Zhao Hakan Aydin Dakai Zhu Computer Science Department Computer Science Department George Mason University University of Texas at San Antonio DAC.
ParaScale : Exploiting Parametric Timing Analysis for Real-Time Schedulers and Dynamic Voltage Scaling Sibin Mohan 1 Frank Mueller 1,William Hawkins 2,
9/23/20151 Energy Efficient Scheduling Techniques For Real-Time Embedded Systems Rabi Mahapatra.
Computer Science Department University of Pittsburgh 1 Evaluating a DVS Scheme for Real-Time Embedded Systems Ruibin Xu, Daniel Mossé and Rami Melhem.
Energy-Efficient Soft Real-Time CPU Scheduling for Mobile Multimedia Systems Wanghong Yuan, Klara Nahrstedt Department of Computer Science University of.
Low Power Design for Real-Time Systems Low power (energy) consumption is a key design for embedded systems Battery’s life during operation Reliability.
Efficient and Scalable Computation of the Energy and Makespan Pareto Front for Heterogeneous Computing Systems Kyle M. Tarplee 1, Ryan Friese 1, Anthony.
1 EE5900 Advanced Embedded System For Smart Infrastructure Energy Efficient Scheduling.
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
Scheduling policies for real- time embedded systems.
1 Distributed Energy-Efficient Scheduling for Data-Intensive Applications with Deadline Constraints on Data Grids Cong Liu and Xiao Qin Auburn University.
Real-Time Systems Mark Stanovich. Introduction System with timing constraints (e.g., deadlines) What makes a real-time system different? – Meeting timing.
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.
Resource Mapping and Scheduling for Heterogeneous Network Processor Systems Liang Yang, Tushar Gohad, Pavel Ghosh, Devesh Sinha, Arunabha Sen and Andrea.
Hard Real-Time Scheduling for Low- Energy Using Stochastic Data and DVS Processors Flavius Gruian Department of Computer Science, Lund University Box 118.
VGreen: A System for Energy Efficient Manager in Virtualized Environments G. Dhiman, G Marchetti, T Rosing ISLPED 2009.
6. Application mapping 6.1 Problem definition
NC STATE UNIVERSITY 1 Feedback EDF Scheduling w/ Async. DVS Switching on the IBM Embedded PowerPC 405 LP Frank Mueller North Carolina State University,
Dynamic Voltage Frequency Scaling for Multi-tasking Systems Using Online Learning Gaurav DhimanTajana Simunic Rosing Department of Computer Science and.
1 Iterative Integer Programming Formulation for Robust Resource Allocation in Dynamic Real-Time Systems Sethavidh Gertphol and Viktor K. Prasanna University.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems RMS and EDF Schedulers.
DTM and Reliability High temperature greatly degrades reliability
1 Real-Time Scheduling. 2Today Operating System task scheduling –Traditional (non-real-time) scheduling –Real-time scheduling.
CSCI1600: Embedded and Real Time Software Lecture 24: Real Time Scheduling II Steven Reiss, Fall 2015.
ECE555 Topic Presentation Energy-efficient real-time scheduling Xing Fu 20 September 2008 Acknowledge Dr. Jian-Jia Chen from ETH providing PPT Slides for.
CSCI1600: Embedded and Real Time Software Lecture 23: Real Time Scheduling I Steven Reiss, Fall 2015.
Multimedia Computing and Networking Jan Reduced Energy Decoding of MPEG Streams Malena Mesarina, HP Labs/UCLA CS Dept Yoshio Turner, HP Labs.
Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund, Informatik 12 Germany 2012 年 12 月 19 日 These slides use Microsoft clip.
Yifan Zhu, Frank Mueller North Carolina State University Center for Efficient, Secure and Reliable Computing DVSleak: Combining Leakage Reduction and Voltage.
Computer Science Department University of Pittsburgh Multiple-Resource Periodic Scheduling Problem: how much fairness is necessary? Dakai Zhu, Daniel Mossé.
Introduction to Real-Time Systems
CprE 458/558: Real-Time Systems (G. Manimaran)1 Energy Aware Real Time Systems - Scheduling algorithms Acknowledgement: G. Sudha Anil Kumar Real Time Computing.
Task Mapping and Partition Allocation for Mixed-Criticality Real-Time Systems Domițian Tămaș-Selicean and Paul Pop Technical University of Denmark.
Real-Time Operating Systems RTOS For Embedded systems.
Optimization of Time-Partitions for Mixed-Criticality Real-Time Distributed Embedded Systems Domițian Tămaș-Selicean and Paul Pop Technical University.
Embedded System Scheduling
Multiprocessor Real-Time Scheduling
Andrea Acquaviva, Luca Benini, Bruno Riccò
Wayne Wolf Dept. of EE Princeton University
Lecture 4 Schedulability and Tasks
Babak Sorkhpour, Prof. Roman Obermaisser, Ayman Murshed
Flavius Gruian < >
Dynamic Voltage Scaling
CSCI1600: Embedded and Real Time Software
Jian-Jia Chen and Tei-Wei Kuo
CSCI1600: Embedded and Real Time Software
Processes and operating systems
Ch 4. Periodic Task Scheduling
Presentation transcript:

Determining Optimal Processor Speeds for Periodic Real-Time Tasks with Different Power Characteristics H. Aydın, R. Melhem, D. Mossé, P.M. Alvarez University of Pittsburgh ECRTS’2001

Motivation Power Management: Crucial for devices with scarce power resources (Mobile, embedded..) Variable Voltage Scheduling: Adjust the supply voltage and the frequency (hence, the speed) of the CPU on-the-fly to obtain power savings.

Product of CPU speed, S, and allocated time, t = # of cycles, C. Variable Voltage Scheduling Example: Assume that power consumption, P, is proportional to the square of the execution speed, S. Execution power energy time consumed The speed / power function is a strictly convex function: Prospects of saving energy at the expense of increased latency. S t

RT Variable Voltage Scheduling Start time deadline Exec. at max speed Exec. at min speed Exec. at opt. speed time Given a deadline a worst case workload a capability to adjust the processor speed We can find the speed to meet the deadline, and minimize energy consumption Clock rate Power, P and Energy, E Speed P(S) S min S max E(S)

Variable Voltage Scheduling versus Reward-Based Scheduling Find CPU allocations per task to maximize total reward while meeting the deadlines. t_min t_max Reward Additional CPU time t i Reward increases beyond t_min in a convex manner.

Variable Voltage Scheduling versus Reward-Based Scheduling Energy savings are increasing beyond t_min in a concave manner. Find optimal CPU allocations per task to maximize the energy savings while meeting the deadlines. Note that, for a fixed computation (# of cycles, C), more time, t, means smaller speed, S. t_min Max CPU Speed Min CPU Speed t_max Energy consumption Additional CPU time t i

Example: Start time deadline Task 1 Three tasks with C 1 = C 2 = C 3, P i (S) = a S 2, for task i, energy consumed by task i is E i = a / t i. D time D/3 E P(S) S min S max E(S) S Task 2 Task 3 t1t1 t2t2 t 1 = t 2 = t 3 minimizes total energy t3t3 When all tasks consume the same power, total energy is minimized if all tasks run at the same speed (allocated same CPU time)

Task-level Power Characteristics At a given voltage/speed level, the power consumption is proportional to the effective switched capacitance of the running task. The power - speed function is highly dependent on: –Locality of reference exhibited by the task –On-chip units actively being used (FPU, DSP, …) –Effects of other power management techniques To obtain full benefit through Variable Voltage Scheduling, different power/speed curves for different tasks should be considered.

Example: Start time deadline Three tasks with C 1 = C 2 = C 3, P i (S) = a i S 2, for task i, energy consumed by task i is E i = a i / t i. time E D/3 D t1t1 t2t2 t3t3 t 1 = t 2 = t 3 does not minimize total energy When tasks consume different powers, total energy is not minimized if all tasks run at the same speed (allocated same CPU time)

Minimizing energy consumption Start time deadline The problem is to find S i, i=1, …, n, such that to Note that We solved this optimization problem, consequently developing a solution for arbitrary convex power functions. Algorithm complexity: O(n 2 log n) D

PERIODIC VARIABLE VOLTAGE SCHEDULING MODEL A set of n periodic tasks Task i has: –the period T i –the worst-case number of instruction cycles, C i –the power consumption function P i (S), where S is the processor speed (0 <= S min <= S <= S max = 1) PROBLEM: Determine the schedule and speed assignments for every instance of each task during hyperperiod T (least common multiple of all the periods), so as to: –Minimize the total energy consumed by the system –Meet all the deadlines.

Optimal Speed Assignments Power consumption curve is convex: –No need to change speed during the lifetime an instance –No need to change speed at different instances of a task Identical power consumption functions  Use the uniform speed S = Utilization =  C i / T i Non-identical power functions lead to different optimal speed assignments for different tasks! –High-power tasks should be executed with lower speeds

Optimal Speed Assignments Convex minimization problem Solution sketch: –Consider only equality constraint: Problem OPT –Consider only equality and lower bound constraints: Problem OPT-L –Adjust solutions using properties derived from Kuhn-Tucker conditions –O(n 2 log n) solution exists

Scheduling with Optimal Speeds Theorem: Any hard real-time scheduling policy which can fully utilize the processor can be used to obtain a feasible schedule with the optimal speed assignments. –Earliest Deadline First –Least Laxity First –Rate Monotonic with Harmonic Periods Implementation: The optimal speed S i becomes part of the process state / descriptor. CPU speed is dynamically modified at context-switch time (overhead of changing speed: clock cycles)

Experimental results Evaluated experimentally the improvement over the uniform slow down of all the tasks (the optimal scheme for identical power functions). Assumed that P i (S i ) =  i S i 3 Considered k = (  max /  min ) Bimodal distribution Uniform distribution k % energy improvement

Conclusion To obtain the full benefit of Variable Voltage Scheduling, the power characteristics must be considered at the task- level. Optimal speed assignments can be computed efficiently for the periodic model. Earliest Deadline First policy can be used to produce a feasible schedule.

Future Work Consider variations in the actual workload. Develop dynamic reclaiming techniques while still guaranteeing the feasibility. Address the precision (reward) and the energy issues simultaneously.