Jian-Jia Chen and Tei-Wei Kuo

Slides:



Advertisements
Similar presentations
Minimum Clique Partition Problem with Constrained Weight for Interval Graphs Jianping Li Department of Mathematics Yunnan University Jointed by M.X. Chen.
Advertisements

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.
1 “Scheduling with Dynamic Voltage/Speed Adjustment Using Slack Reclamation In Multi-processor Real-Time Systems” Dakai Zhu, Rami Melhem, and Bruce Childers.
Dynamic Thread Assignment on Heterogeneous Multiprocessor Architectures Pree Thiengburanathum Advanced computer architecture Oct 24,
CPE555A: Real-Time Embedded Systems
Approximation Algorithms Chapter 14: Rounding Applied to Set Cover.
Soft Real-Time Semi-Partitioned Scheduling with Restricted Migrations on Uniform Heterogeneous Multiprocessors Kecheng Yang James H. Anderson Dept. of.
SIGMETRICS 2008: Introduction to Control Theory. Abdelzaher, Diao, Hellerstein, Lu, and Zhu. CPU Utilization Control in Distributed Real-Time Systems Chenyang.
System-Wide Energy Minimization for Real-Time Tasks: Lower Bound and Approximation Xiliang Zhong and Cheng-Zhong Xu Dept. of Electrical & Computer Engg.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
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.
Task Alloc. In Dist. Embed. Systems Murat Semerci A.Yasin Çitkaya CMPE 511 COMPUTER ARCHITECTURE.
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.
A Budget Constrained Scheduling of Workflow Applications on Utility Grids using Genetic Algorithms Jia Yu and Rajkumar Buyya Grid Computing and Distributed.
On the Construction of Data Aggregation Tree with Minimum Energy Cost in Wireless Sensor Networks: NP-Completeness and Approximation Algorithms National.
Baoxian Zhao Hakan Aydin Dakai Zhu Computer Science Department Computer Science Department George Mason University University of Texas at San Antonio DAC.
Computer Science Department University of Pittsburgh 1 Evaluating a DVS Scheme for Real-Time Embedded Systems Ruibin Xu, Daniel Mossé and Rami Melhem.
Low Power Design for Real-Time Systems Low power (energy) consumption is a key design for embedded systems Battery’s life during operation Reliability.
Trust-Aware Optimal Crowdsourcing With Budget Constraint Xiangyang Liu 1, He He 2, and John S. Baras 1 1 Institute for Systems Research and Department.
Efficient and Scalable Computation of the Energy and Makespan Pareto Front for Heterogeneous Computing Systems Kyle M. Tarplee 1, Ryan Friese 1, Anthony.
Approximation Algorithms for Task Allocation with QoS and Energy Considerations Bader N. Alahmad.
Multiprocessor Real-time Scheduling Jing Ma 马靖. Classification Partitioned Scheduling In the partitioned approach, the tasks are statically partitioned.
Maximum Network Lifetime in Wireless Sensor Networks with Adjustable Sensing Ranges Cardei, M.; Jie Wu; Mingming Lu; Pervaiz, M.O.; Wireless And Mobile.
An Energy-Efficient Hypervisor Scheduler for Asymmetric Multi- core 1 Ching-Chi Lin Institute of Information Science, Academia Sinica Department of Computer.
The Fast Optimal Voltage Partitioning Algorithm For Peak Power Density Minimization Jia Wang, Shiyan Hu Department of Electrical and Computer Engineering.
National Taiwan University Department of Computer Science and Information Engineering 1 Optimal Real-Time Scheduling for Uniform Multiprocessors 薛智文 助理教授.
Joint Power Optimization Through VM Placement and Flow Scheduling in Data Centers DAWEI LI, JIE WU (TEMPLE UNIVERISTY) ZHIYONG LIU, AND FA ZHANG (CHINESE.
A Node and Load Allocation Algorithm for Resilient CPSs under Energy-Exhaustion Attack Tam Chantem and Ryan M. Gerdes Electrical and Computer Engineering.
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
An Energy-efficient Task Scheduler for Multi-core Platforms with per-core DVFS Based on Task Characteristics Ching-Chi Lin Institute of Information Science,
Real-Time Support for Mobile Robotics K. Ramamritham (+ Li Huan, Prashant Shenoy, Rod Grupen)
Energy-Aware Scheduling for Aperiodic Tasks on Multi-core Processors Dawei Li and Jie Wu Department of Computer and Information Sciences Temple University,
ECE555 Topic Presentation Energy-efficient real-time scheduling Xing Fu 20 September 2008 Acknowledge Dr. Jian-Jia Chen from ETH providing PPT Slides for.
Multimedia Computing and Networking Jan Reduced Energy Decoding of MPEG Streams Malena Mesarina, HP Labs/UCLA CS Dept Yoshio Turner, HP Labs.
Xi He Golisano College of Computing and Information Sciences Rochester Institute of Technology Rochester, NY THERMAL-AWARE RESOURCE.
Introduction to Real-Time Systems
Determining Optimal Processor Speeds for Periodic Real-Time Tasks with Different Power Characteristics H. Aydın, R. Melhem, D. Mossé, P.M. Alvarez University.
Fault-Tolerant Rate- Monotonic Scheduling Sunondo Ghosh, Rami Melhem, Daniel Mosse and Joydeep Sen Sarma.
Pradeep Konduri Static Process Scheduling:  Proceedance process model  Communication system model  Application  Dicussion.
Distributed Process Scheduling- Real Time Scheduling Csc8320(Fall 2013)
Resource Provision for Batch and Interactive Workloads in Data Centers Ting-Wei Chang, Pangfeng Liu Department of Computer Science and Information Engineering,
Embedded System Scheduling
Multiprocessor Real-Time Scheduling
Ching-Chi Lin Institute of Information Science, Academia Sinica
Presented by: Suresh Vadlakonda Ramanjaneya Gupta Pasumarthi
Nithin Michael, Yao Wang, G. Edward Suh and Ao Tang Cornell University
Babak Sorkhpour, Prof. Roman Obermaisser, Ayman Murshed
Flavius Gruian < >
Effective Social Network Quarantine with Minimal Isolation Costs
Real Time Scheduling Mrs. K.M. Sanghavi.
Sanjoy Baruah The University of North Carolina at Chapel Hill
Dynamic Voltage Scaling
Reiley Jeyapaul and Aviral Shrivastava Compiler-Microarchitecture Lab
Networked Real-Time Systems: Routing and Scheduling
Richard Anderson Lecture 6 Greedy Algorithms
Richard Anderson Autumn 2016 Lecture 7
Richard Anderson Lecture 7 Greedy Algorithms
Linköping University, IDA, ESLAB
Selfish Load Balancing
Kunxiao Zhou and Xiaohua Jia City University of Hong Kong
Richard Anderson Winter 2019 Lecture 7
Approximation Algorithms for the Selection of Robust Tag SNPs
Richard Anderson Autumn 2015 Lecture 7
Anand Bhat*, Soheil Samii†, Raj Rajkumar* *Carnegie Mellon University
Richard Anderson Autumn 2019 Lecture 7
Presentation transcript:

Jian-Jia Chen and Tei-Wei Kuo Energy-Efficient Scheduling of Periodic Real-Time Tasks over Homogeneous Multiprocessors Jian-Jia Chen and Tei-Wei Kuo Department of Computer Science and Information Engineering, Graduate Institute of Networking and Multimedia, National Taiwan University

Agenda Introduction Problem Definition Non-linear Programming An Approximation Algorithm Performance Evaluation Conclusions and Future Work Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Dynamic Voltage Scaling A Dynamic Voltage Scaling (DVS) system is a system that can execute tasks at different speeds. A higher supply voltage results in a higher frequency (or higher execution speed). s = k * (Vdd-Vt)2/(Vdd), where s is the corresponding speed of the supply voltage Vdd and Vt is the threshold voltage The power consumption function P() of the execution speeds of a processor is a convex function: P(s) = Cef Vdd2 s, in which Cef is the switch capacitance related to tasks under executions P(s) = Cef s3/k2 , when Vt = 0 P(s) / s, where  is between 2 and 3 In general, we could formulate the power consumption function P(s) as a proportional function to the \alpha-th exponent of s Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Related Work on Energy-Efficient Scheduling Uniprocessor [Aydin ECRTS’01, Mejia-Alvarez RTAS’03, Chen EMSOFT’05] Independent periodic real-time tasks [Yao FOCS’95, Bansal FOCS’04, Irani SODA’03, Ishihara ISLPED’98, Kwon DAC’03] Independent aperiodic real-time tasks [Fang RTSS’02] Real-time tasks with resource competitions Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Related Work on Energy-Efficient Scheduling Multiprocessor [Gruian ASP-DAC’01, Zhang DAC’02]: Heuristic algorithms based on the well-known list-scheduling [Mishra IPDPS’03]: Heuristic algorithms based on the well-known list-scheduling for tasks with precedence constraints with communication costs [Anderson ICDCS’04]: Heuristic partition algorithm to trade the number of processors with the energy consumption [Aydin IPDPS’03, AlEnawy RTAS’05]: Heuristic algorithms based on traditional bin packing strategies Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Related Work on Energy-Efficient Scheduling Multiprocessor [Chen ECRTS’04, Yang DATE’05, Chen ICPP’05]: Frame-based real-time tasks First known approximation algorithms for multiprocessor energy-efficient scheduling Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Agenda Introduction Problem Definition Non-linear Programming An Approximation Algorithm Performance Evaluation Conclusions and Future Work Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Task Model i = (ci, pi, Pi()) ci: computational requirement for i, in CPU cycles pi: period of task i, where the relative deadline of i is equal to pi Pi(): the power consumption function of i Pi(s) = his , where hi 2 R+ and  is a hardware constant between 2 and 3 The relative deadline of a task is equal to its period Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

S power DVS Model Pi() is identical on each of the available identical processors. DVS constraints: Each processor can adjust its processor speed independently of each another. Available speeds are continuous in [0, 1]. The number of CPU cycles executed in a time interval is linearly proportional to the processor speed. Executing of task i at the processor speed s for t time units consumes Pi(s)£t energy. Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Problem Definition The Minimization Problem of the Energy Consumption for Multiprocessor Scheduling: Input: A set T of independent tasks over M identical processors. Each task i  T is characterized by (pi, ci, Pi()). No task migration is allowed Output: A schedule for all of the tasks in T so that each task completes in time, and the energy consumption in the hyper-period L of T is minimized. Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Power and Energy Consumption Functions ( s ) = h ® e i ( t ) = P c h ® ¡ 1 Pi(s) is a convex and strictly increasing function of speeds. ei(t) is a convex and strictly decreasing function of execution times. Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

A Trivial Case: |T|  M Executing each task i on the i-th processor at the speed ci/pi is an optimal schedule, for i=1, …, |T|. We focus on other cases for the rest of this talk. Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Agenda Introduction Problem Definitions Non-Linear Programming An Approximation Algorithm Performance Evaluation Conclusions and Future Work Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

An Optimal Solution to Multiprocessor Energy-Efficiency Applying a proof similar to that by Aydin et al. All the jobs of a task execute at a common speed The partial schedule on each processor is with 100% utilization H. Aydin, R. Melhem, D. Moss´e, and P. Mej´ıa-Alvarez. Determining optimal processor speeds for periodic real-time tasks with different power characteristics. In Proceedings of the IEEE EuroMicro Conference on Real-Time Systems, pages 225–232, 2001. Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

A Convex Programming Formulation : a b n r y v l e t o d c w h ¿ s g u - p f k . E ( ) j L , = P ® ¡ 1 W z 2 T ¢ ; M > 8 Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Relaxation I f w e r l a x t h - 1 c o n s i u d b y g v , p : z P E ( m i n z e P ¿ 2 T E ( t ) s u b j c o x ¢ = p 1 ; f r : M > 8 a d Relaxation I f w e r l a x t h - 1 c o n s i m u d b y g v , p : z P ¿ 2 T E ( ) ; j = M < · K L . L e m a : W h n t ¤ i < p d j , E ( ) = w r v s o f c l y . Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

An Optimal Solution to the Relaxed Problem f o l w i n g a r t m d v s x c u y p : F - E ( ) ; ¯ ` ¤ 1 · < M I j + 2 L , ¹ = b O . Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Agenda Introduction Problem Definitions Non-linear Programming An Approximation Algorithm Performance Evaluation Conclusions and Future Work Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

An Approximation Algorithm Terminologies: Estimated execution time ti* is the execution time of task i in the optimal execution time assignment for the relaxed problem. Estimated utilization ui* is ti*/pi. Estimated energy consumption ei* is Ei(ti*)=L/pi(ci/(ti*)-1). Estimated execution speed si* is ci/ti*. By the Lagrange multiplier method, ei*/ui* = ej*/uj* if ui* < 1 and uj* < 1. Since E’i(ti*)pi = E’j(tj*)pj, we know Our proposed algorithm is to turn the optimal solution of the MEESM problem to a feasible schedule of the MEES problem. Because the optimal energy consumption of the MEESM problem is a lower bound of that of the MEES problem, we could prove the approximation ratio by comparing the energy consumption of our derived schedule to the optimal energy consumption of the MEESM problem. h i L p c ® ( t ¤ ) ¢ = j , w m l e s u . Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Algorithm Largest-Estimated-Utilization First (LEUF) 3 speed 5 1 2 4 Estimated Utilizations Sort tasks in a non-increasing order of their estimated utilizations Assign tasks in a greedy manner to the processor with the smallest total estimated utilizations Adjust execution speeds si à si* (Um) p1 1 p1 1 p2 5 p2 5 2 2 3 3 p3 p3 4 4 1 1 Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Property The maximum total estimated utilization (Uz) is at most twice of the minimum total estimated utilization (Un) Case 1: Uz = 1, Un must be 1 Case 2: Uz > 1 Let k be the last task inserted onto processor z uk* · Uz - uk* · Un Uz · 2Un p1 1 p2 5 2 3 p3 4 D k Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Algorithm LEUF is with 1.412-Approximation d b - c g y k ¿ w ¤ = 1 v A L E U . S + B C < ¸ , z ( ) ® ¡ Speed Estimated utilization p1 p1 p2 p2 First of all, we know that for any task with equal estimated execution time to D, the energy consumption for this task is the same in the optimal solution of the MEESM problem and the derived schedule of Algorithm LEET. p3 p3 1 1 er*/ur* Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

F L e t M b h s o f p r c a i g n d w k u < 1 . T y m l v A E U P ( Um Umin Um 2Umin F L e t M ¤ b h s o f p r c a i g n d w k u < 1 . T y m l v A E U P 2 ( ) ® ¡ = x j : S Z , + X ¢ ; 2x x x x Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Algorithm LEUF is with 1.412-Approximation ( x ) = k ¢ 2 ® + ^ M ¡ r a i t v n m b d - g , w h < 1 : A l W 3 4 . Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Agenda Introduction Problem Definition Non-linear Programming An Approximation Algorithm Performance Evaluation Conclusions and Future Work Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Performance Evaluation Replot figures ci is uniform at random in (0, pi], hi is uniform at random in [2,10], =3 For each ratio v of number of tasks to number of processors, we roll an integral dice in [10, 30] to obtain M and generate the floor function of vM tasks independently Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Agenda Introduction Problem Definition Non-linear Programming An Approximation Algorithm Performance Evaluation Conclusions and Future Work Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Conclusion A 1.412-approximation algorithm is proposed when task migration is not allowed The proposed approximation algorithm provides near-optimal solutions in the performance evaluation. Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Future Work We will explore how to apply our algorithm to processors with speed constraints. Copyright: All rights reserved, Jian-Jia Chen, Embedded Systems and Wireless Networkin Lab., Department of CSIE, National Taiwan University.

Questions and Suggestions?