Speed Scaling To Manage Temperature Nikhil Bansal IBM T.J. Watson Kirk Pruhs University of Pittsburgh.

Slides:



Advertisements
Similar presentations
Fakultät für informatik informatik 12 technische universität dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund,
Advertisements

On the Complexity of Scheduling
Lecture 7. Network Flows We consider a network with directed edges. Every edge has a capacity. If there is an edge from i to j, there is an edge from.
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.
CPE555A: Real-Time Embedded Systems
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.
Power Reduction Techniques For Microprocessor Systems
Online Scheduling with Known Arrival Times Nicholas G Hall (Ohio State University) Marc E Posner (Ohio State University) Chris N Potts (University of Southampton)
Greedy Algorithms Basic idea Connection to dynamic programming
Current and Resistance FCI.  Define the current.  Understand the microscopic description of current.  Discuss the rat at which the power.
Power Management Algorithms An effort to minimize Processor Temperature and Energy Consumption.
Infinite Horizon Problems
Keeping Hot Chips Cool Thermal Management for Green Computing Yang Ge Professor Qinru Qiu.
1 Ecole Polytechnque, Nov 7, 2007 Scheduling Unit Jobs to Maximize Throughput Jobs:  all have processing time (length) = 1  release time r j  deadline.
Investigating the Effect of Voltage- Switching on Low-Energy Task Scheduling in Hard Real-Time Systems Paper review Presented by Chung-Fu Kao.
Energy-Efficient Rate Scheduling in Wireless Links A Geometric Approach Yashar Ganjali High Performance Networking Group Stanford University
CSE 421 Algorithms Richard Anderson Lecture 6 Greedy Algorithms.
1 Scheduling on Heterogeneous Machines: Minimize Total Energy + Flowtime Ravishankar Krishnaswamy Carnegie Mellon University Joint work with Anupam Gupta.
System-Wide Energy Minimization for Real-Time Tasks: Lower Bound and Approximation Xiliang Zhong and Cheng-Zhong Xu Dept. of Electrical & Computer Engg.
Scoping Study of He-cooled Porous Media for ARIES-CS Divertor Presented by John Pulsifer Major contributor: René Raffray University of California, San.
Analytical Thermal Placement for VLSI Lifetime Improvement and Minimum Performance Variation Andrew B. Kahng †, Sung-Mo Kang ‡, Wei Li ‡, Bao Liu † † UC.
Power-Aware Computing 101 CS 771 – Optimizing Compilers Fall 2005 – Lecture 22.
Algorithmic problems in Scheduling jobs on Variable-speed processors Frances Yao City University of Hong Kong.
Power-aware Computing n Dramatic increases in computer power consumption: » Some processors now draw more than 100 watts » Memory power consumption is.
A Model for Minimizing Active Processor Time Jessica Chang Joint work with Hal Gabow and Samir Khuller.
Minimizing Flow Time on Multiple Machines Nikhil Bansal IBM Research, T.J. Watson.
Objective of Lecture Describe the mathematical relationships between power and energy. Chapter 4.1 Relate power to voltage and current. Chapter 4.2 Explain.
Energy, Energy, Energy  Worldwide efforts to reduce energy consumption  People can conserve. Large percentage savings possible, but each individual has.
15.082J and 6.855J and ESD.78J November 2, 2010 Network Flow Duality and Applications of Network Flows.
Control and Optimization Meet the Smart Power Grid: Scheduling of Power Demands for Optimal Energy Management Authors: Iordanis Koutsopoulos Leandros Tassiulas.
Reducing Noise and System Costs by Managing Switching Power Supplies as Real-Time Processes Subash Sachidananda & Dr. Alex Dean Dept. of ECE - NC State.
VOLTAGE SCHEDULING HEURISTIC for REAL-TIME TASK GRAPHS D. Roychowdhury, I. Koren, C. M. Krishna University of Massachusetts, Amherst Y.-H. Lee Arizona.
Bold Stroke January 13, 2003 Advanced Algorithms CS 539/441 OR In Search Of Efficient General Solutions Joe Hoffert
Sensor-Based Fast Thermal Evaluation Model For Energy Efficient High-Performance Datacenters Q. Tang, T. Mukherjee, Sandeep K. S. Gupta Department of Computer.
a b  R C I I t q RC 2 RC 0 CC C a b + --  R + I I RC Circuits q RC2RC 0 t CC
Optimal n fe Tian-Li Yu & Kai-Chun Fan. n fe n fe = Population Size × Convergence Time n fe is one of the common used metrics to measure the performance.
Last Time Performance Analysis It’s all relative
Speed Scaling to Manage Energy and Temperature Nikhil Bansal (IBM Research) Tracy Kimbrel (IBM) and Kirk Pruhs (Univ. of Pittsburgh)
1 Pruhs, Woeginger, Uthaisombut 2004  Qos Objective: Minimize total flow time  Flow time f i of a job i is completion time C i – r i  Power Objective:
Power and Power Measurement ENGR 10 – Intro to Engineering College of Engineering San Jose State University (Ping Hsu and Ken Youssefi) 1 Introduction.
Scheduling policies for real- time embedded systems.
A Maiden Analysis of Longest Wait First Jeff Edmonds York University Kirk Pruhs University of Pittsburgh.
The minimum cost flow problem. Simplifying assumptions Network is connected (as an undirected graph). – We can consider each connected component separately.
Robustness and speed Prof. Noah Snavely CS1114
Maximum Flow Problem (Thanks to Jim Orlin & MIT OCW)
Chapter 3 System Performance and Models Introduction A system is the part of the real world under study. Composed of a set of entities interacting.
1 System planning 2013 Lecture L9: Short term planning of thermal systems Chapter Contents: –General about thermal power –Production cost –Start.
Chapter 26 Lecture 22: Current: II
15.082J and 6.855J March 4, 2003 Introduction to Maximum Flows.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
ECE555 Topic Presentation Energy-efficient real-time scheduling Xing Fu 20 September 2008 Acknowledge Dr. Jian-Jia Chen from ETH providing PPT Slides for.
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.
Xi He Golisano College of Computing and Information Sciences Rochester Institute of Technology Rochester, NY THERMAL-AWARE RESOURCE.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
Undergraduate course on Real-time Systems Linköping University TDDD07 Real-time Systems Lecture 2: Scheduling II Simin Nadjm-Tehrani 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.
Applied Discrete Mathematics Week 2: Functions and Sequences
Peak-Power Operation In Solar PV
Parallel Processing Sharing the load.
Richard Anderson Autumn 2015 Lecture 8 – Greedy Algorithms II
Introduction to Maximum Flows
Sanjoy Baruah The University of North Carolina at Chapel Hill
Elastic Task Model For Adaptive Rate Control
Richard Anderson Lecture 6 Greedy Algorithms
Richard Anderson Lecture 7 Greedy Algorithms
Richard Anderson Autumn 2016 Lecture 8 – Greedy Algorithms II
Richard Anderson Winter 2019 Lecture 7
Richard Anderson Autumn 2015 Lecture 7
Richard Anderson Autumn 2019 Lecture 7
Presentation transcript:

Speed Scaling To Manage Temperature Nikhil Bansal IBM T.J. Watson Kirk Pruhs University of Pittsburgh

February 25, 2005STACS Microprocessor Power Increasing Exponentially P6 Pentium ® Year Power (Watts) Source: Borkar, De Intel 

February 25, 2005STACS Why worry about power ? Most Obvious Answer: Batteries have finite energy Expected battery lifetime increase over the next 5 years: 30 to 40% From Rabaey, Rechargable Lithium Year Nickel-Cadmium Ni-Metal Hydride Nominal Capacity (W-hr/lb)

February 25, 2005STACS Why worry about power ? Less Obvious Answer 2: Chips get hot

February 25, 2005STACS Intel Hits “Thermal Wall” Reuters Friday May 7, SAN FRANCISCO, May 7 (Reuters) - Intel Corp. said on Friday it has scrapped the development of two new computer chips ( code- named Tejas and Jayhawk) for desktop/server systems in order to rush to the marketplace a more efficient chip technology more than a year ahead of schedule. Analysts said the move showed how eager the world's largest chip maker was to cut back on the heat its chips generate. Intel's method of cranking up chip speed was beginning to require expensive and noisy cooling systems for computers.

February 25, 2005STACS Laptops may damage male fertility  Reuters: December 9, 2004  Men should keep their laptops off their laps because they could damage fertility, an expert said on Thursday. Laptops, which reach high internal operating temperatures, can heat up the scrotum which could affect the quality and quantity of men’s sperm. “The increase in scrotal temperature is significant enough to cause changes in sperm parameters,” said Dr Yefim Sheynkin, an associate professor of urology at the State University of New York at Stony Brook. STACS PC

February 25, 2005STACS Pentium 4

February 25, 2005STACS Power (Heat) Dissipation Illustration

February 25, 2005STACS Problem Statement: Speed Scaling with Deadlines  Input: A collection of tasks, where task i has  Release time r i when it arrives in the system  Deadline d i when it must finish by  Work requirement w i  The processor must perform w i units of work on each task i between time r i and time d i  Preemption is allowed  Objective: minimize the maximum temperature  For each time, the scheduler must specify both  Job Selection: which job to run  wlog, may assume Earliest Deadline First policy  Speed Setting: at what speed the processor should run at

February 25, 2005STACS The Relationship Between Speed and Power  P = c V 2 s  There is a minimum voltage V required to run the processor at speed s, and V is roughly linear in s.  Therefore P = c s 3  Generalize to P = s p for some constant p ≥ 1  Energy E = ∫ Time P dt

February 25, 2005STACS Our Basic Temperature Equation  Key Assumption: fixed ambient temperature T a  Basic temperature equation dT/dt = a P – b (T – T a ) = a P – b T  T = Temperature  t = time  P = supplied power  a, b are constants  For simplicity rescale so that T a = 0 Fourier Law of Heat Conduction = rate of cooling is proportional to the temperature difference

February 25, 2005STACS Summary of Results (New, Main Result) Recall dT/dt = a P – b T Equals Max t ∫ t t+x P dt OfflineOnline Energy b=0 x=∞ Optimal YDS algorithm YDS 1995 Cute correctness proof O(1)-competitive algorithms OA AVR : YDS 1995 BKP : BKP 2004 Temperature 0 < b < ∞ x= Θ(1/b) Ellipsoid Exact BKP 2004 YDS is O(1)-approximation BKP is O(1)-competitive Maximum Power b=∞ x=infinitesimal Optimal YDS algorithm YDS 1995 BKP is strongly O(1)-competitive BKP 2004

February 25, 2005STACS Offline YDS Algorithm [YDS 95]  Repeat  Find the interval I with maximum intensity  Intensity of time interval I = Σ w i / |I| Where the sum is over tasks i with [r i, d i ] in I  During I  speed = to the intensity of I  earliest deadline first scheduling policy  Remove I, and the jobs completed in I

February 25, 2005STACS YDS Example(1)  Input release time deadline Area = work of job

February 25, 2005STACS YDS Example(2) First Interval Intensity Second Interval Intensity = green work + blue work Length of solid green line

February 25, 2005STACS YDS Example(3)  Final YDS Schedule  Height = processor speed  YDS Theorem: The YDS schedule is optimal for energy, or equivalently temperature when b=0. And YDS is optimal for maximum power, or equivalently when b=∞.  Our Proof: A cute consequence of KKT optimality  Our Theorem: The YDS schedule is at worst 20-competitive with respect to temperature for all cooling parameters b

February 25, 2005STACS  Algorithm Description: Speed k(t) at time t = e * maximum over all t 2 > t of Σ w i / (t 2 – t 1 )  Sum is over jobs i with t 1 = et – (e-1)t 2 < r i < t and d i < t 2 BKP Algorithm tt2t2 riri didi didi t 1 = et – (e-1)t 2 current time

February 25, 2005STACS BKP Analysis  Theorem [BKP 2004] BKP completes all jobs by their deadlines  Main Theorem: BKP is O(1)-competitive with respect to temperature  Proof: If YDS does y(t) work at time t, then we modify the instance so that y(t) work arrives at time t with deadline t+1  This transformation doesn’t effect YDS and won’t decrease speed/temperature for BKP  Show that ∫ t t+1/b k(t) dt (an upper bound for the energy used by BKP during a interval of length 1/b) is O(1) times the energy that YDS uses during that interval  Hilbert’s Theorem, Hardy and Littlewood inequalities

February 25, 2005STACS Conclusion: Future Work  Try to understand speed scaling better by studying other scheduling problems/objectives  Some results on flow time in [PUW 2004]  Consider the energy-bound and/or temperature- bound variation of your favorite scheduling problem  Energy-bound constraint: Total energy used ≤ E = Energy in battery  Temperature-bound constraint: Maximum temperature ≤ T max = Thermal threshold of the device  A cooling oblivious algorithm, that is one that works for all cooling parameters b, will also give an energy bound result  Speed scaling can make many scheduling problems more difficult and interesting. Lots of nice problems here.