Energy, Energy, Energy  Worldwide efforts to reduce energy consumption  People can conserve. Large percentage savings possible, but each individual has.

Slides:



Advertisements
Similar presentations
Greening Backbone Networks Shutting Off Cables in Bundled Links Will Fisher, Martin Suchara, and Jennifer Rexford Princeton University.
Advertisements

Real Time Scheduling.
Machine scheduling Job 1Job 3 Job 4 Job 5Machine 1 Machine 2 time 0C max Job 2.
ENERGY-EFFICIENT ALGORITHMS INTRODUCTION TO DETERMINISTIC ONLINE POWER-DOWN ALGORITHMS Len Matsuyama CS 695.
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.
Effective Straggler Mitigation: Attack of the Clones [1]
Walter Binder University of Lugano, Switzerland Niranjan Suri IHMC, Florida, USA Green Computing: Energy Consumption Optimized Service Hosting.
Mehdi Kargahi School of ECE University of Tehran
ElasticTree: Saving Energy in Data Center Networks Brandon Heller, Srini Seetharaman, Priya Mahadevan, Yiannis Yiakoumis, Puneed Sharma, Sujata Banerjee,
Online Scheduling with Known Arrival Times Nicholas G Hall (Ohio State University) Marc E Posner (Ohio State University) Chris N Potts (University of Southampton)
RUN: Optimal Multiprocessor Real-Time Scheduling via Reduction to Uniprocessor Paul Regnier † George Lima † Ernesto Massa † Greg Levin ‡ Scott Brandt ‡
Power Management Algorithms An effort to minimize Processor Temperature and Energy Consumption.
Energy Conservation in Datacenters through Cluster Memory Management and Barely-Alive Memory Servers Vlasia Anagnostopoulou Susmit.
Energy Efficient Dynamic Provisioning in Data Centers: The Benefit of Seeing the Future TexPoint fonts used in EMF. Read the TexPoint manual before you.
1 Single Machine Deterministic Models Jobs: J 1, J 2,..., J n Assumptions: The machine is always available throughout the scheduling period. The machine.
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.
CS : Creating the Grid OS—A Computer Science Approach to Energy Problems David E. Culler, Randy H. Katz University of California, Berkeley August.
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.
Kick-off meeting 3 October 2012 Patras. Research Team B Communication Networks Laboratory (CNL), Computer Engineering & Informatics Department (CEID),
A Model for Minimizing Active Processor Time Jessica Chang Joint work with Hal Gabow and Samir Khuller.
Energy Model for Multiprocess Applications Texas Tech University.
Disk and Tape Square Off Again Tape Remains King of Hill with LTO-4 Presented by Heba Saadeldeen.
CS 423 – Operating Systems Design Lecture 22 – Power Management Klara Nahrstedt and Raoul Rivas Spring 2013 CS Spring 2013.
Authors: Mateusz Jarus, Ewa Kowalczuk, Michał Madziar, Ariel Oleksiak, Andrzej Pałejko, Michał Witkowski Poznań Supercomputing and Networking Center GICOMP.
Green IT and Data Centers Darshan R. Kapadia Gregor von Laszewski 1.
VOLTAGE SCHEDULING HEURISTIC for REAL-TIME TASK GRAPHS D. Roychowdhury, I. Koren, C. M. Krishna University of Massachusetts, Amherst Y.-H. Lee Arizona.
Abhilash Thekkilakattil, Radu Dobrin, Sasikumar Punnekkat Mälardalen Real-time Research Center, Mälardalen University Västerås, Sweden Preemption Control.
Speed Scaling To Manage Temperature Nikhil Bansal IBM T.J. Watson Kirk Pruhs University of Pittsburgh.
Computer Aided Sustainability and Green Computing BRYAN IDDINGS.
Cloud Computing Energy efficient cloud computing Keke Chen.
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)
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.
Approximation Algorithms for Task Allocation with QoS and Energy Considerations Bader N. Alahmad.
Dynamic Slack Reclamation with Procrastination Scheduling in Real- Time Embedded Systems Paper by Ravindra R. Jejurikar and Rajesh Gupta Presentation by.
Sogang University Advanced Computing System Chap 1. Computer Architecture Hyuk-Jun Lee, PhD Dept. of Computer Science and Engineering Sogang University.
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:
IT253: Computer Organization
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.
Neil Sanderson 24 October, Early days for virtualisation Virtualization Adoption x86 servers used for virtualization Virtualization adoption.
Thermal-aware Issues in Computers IMPACT Lab. Part A Overview of Thermal-related Technologies.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
Energy-Aware Resource Adaptation in Tessellation OS 3. Space-time Partitioning and Two-level Scheduling David Chou, Gage Eads Par Lab, CS Division, UC.
Special Class on Real-Time Systems
Common Approaches to Real-Time Scheduling Clock-driven (time-driven) schedulers Priority-driven schedulers Examples of priority driven schedulers Effective.
ECE555 Topic Presentation Energy-efficient real-time scheduling Xing Fu 20 September 2008 Acknowledge Dr. Jian-Jia Chen from ETH providing PPT Slides for.
Green Computing. Green Computing Objectives Minimising energy consumption from the IT estate Purchasing green energy and using green suppliers Reducing.
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.
CSE 421 Algorithms Richard Anderson Lecture 8 Greedy Algorithms: Homework Scheduling and Optimal Caching.
Determining Optimal Processor Speeds for Periodic Real-Time Tasks with Different Power Characteristics H. Aydın, R. Melhem, D. Mossé, P.M. Alvarez University.
Real-Time Operating Systems RTOS For Embedded systems.
Saving Energy At Work and Beyond. © Business & Legal Reports, Inc Session Objectives Conservation and sustainability Energy conservation Energy.
Reducing the Number of Preemptions in Real-Time Systems Scheduling by CPU Frequency Scaling Abhilash Thekkilakattil, Anju S Pillai, Radu Dobrin, Sasikumar.
Green cloud computing 2 Cs 595 Lecture 15.
ABSTRACT   Recent work has shown that sink mobility along a constrained path can improve the energy efficiency in wireless sensor networks. Due to the.
Packing Jobs onto Machines in Datacenters
CprE 458/558: Real-Time Systems
Why Is There A Need For Green Data Center? Data Center Costs Are Rising.
Richard Anderson Autumn 2015 Lecture 8 – Greedy Algorithms II
Towards Green Aware Computing at Indiana University
Greedy Algorithms: Homework Scheduling and Optimal Caching
Richard Anderson Autumn 2016 Lecture 8 – Greedy Algorithms II
Year 10 Computer Science Hardware - CPU and RAM.
Richard Anderson Autumn 2019 Lecture 8 – Greedy Algorithms II
Presentation transcript:

Energy, Energy, Energy  Worldwide efforts to reduce energy consumption  People can conserve. Large percentage savings possible, but each individual has small total impact  Industry can conserve. Larger potential impact because of scale.  Datacenters are estimated to use 2 to 4% of the electricity in the United States. 1

Thesis  Energy is now a computing resource to manage and optimize, just like  Time  Space  Disk  Cache  Network  Screen real estate  … 2

Is computation worth it?  In April 2006, an instance with 85,900 points was solved using Concorde TSP Solver, taking over 136 CPU-years,  250 Watt * 136 years = KWatt hours  $0.20 per KWatt hour = $ environmental costs 3

Random Facts  A google search releases between.2 and 7 grams of CO 2.  Windows 7 + Office 2010 require 70 times more RAM than Windows 98 and Office 2000 to perform the same simple tasks.  By 2020, servers may use more energy than air travel 4

 What matters most to the computer designers at Google is not speed, but power, low power, because data centers can consume as much electricity as a city  Eric Schmidt, former CEO Google  Energy costs at data centers are comparable to the cost for hardware Power 5

What can we do?  We should be providing algorithmic understanding and suggesting strategies for managing datacenters, networks, and other devices in an energy-efficient way.  More concretely, we can  Turn off computers  Slow down computers (speed scaling)  Are there others? 6

Speed Scaling Technology 7 Dynamic Power ≈ Speed 3 in CMOS based processors

Routing can also be green  Worldwide more 50 billion kWH are used per year by data networking,  US DoE study estimates a 40% reduction in network energy if the energy usage of network components was proportional to traffic.  Routing in an on-chip network for a chip multiprocessor -- As the number of processors per chip grows, interprocessor communication is expected to become the dominant energy component. 8

Two basic approaches  Turn off machines  Slow down/speed up machines 9

Turning Off Machines  Simplest algorithmic problem:  Given a set of jobs with  Processing times  Release dates  Deadlines  Schedule them in the smallest number of contiguous intervals  Why this problem? Fewer, longer idle periods provide opportunities to shut down the machine 10

Example 11

Example - EDF schedule 12 4 short idle periods idle

Example 13 idle 1 long, 1 short interval

Algorithms  Can solve via dynamic programming (non-trivial) [Baptiste 2006]  Can model more complicated situations  Minimize number of intervals  Minimize cost, where cost of an interval of length x is min(x,B). (can shut down after B steps).  Multiple machines.  All solved via dynamic programming  On-line algorithms with good competitive ratios don’t exist (for trivial reasons)  Competitive ratio = max I (on-line-alg(I) / off-line-opt(I)) Can also ask about how to manage an idle period 14

Speed Scaling  Machines can change their speeds s  Machines burn power at rate P(s)  Computers typically burn power at rate P(s) = s 2 or P(s) = s 3.  Also consider models where P(s) is an arbitrary, non-decreasing function  Can also consider discrete sets of speeds. 15

Speed Scaling Algorithmic Problems  The algorithm needs policies for:  Scheduling: Which job to run at each processor at each time  Speed Scaling: What speed to run each processor at each time  The algorithmic problem has competing objectives/constraints  Scheduling Quality of Service (QoS) objective, e.g. response time, deadline feasibility, …  Power objective, e.g. temperature, energy, maximum speed  Can consider  Minimizing power, subject to a scheduling constraint  Optimizing a scheduling constraint subject to a power budget  Optimizing a linear combination of a (minimization) QoS objective and energy 16

First Speed Scaling Problem [YDS 95]  Given a set of jobs with  Release date r j  Deadline d j  Processing time w j  Given an energy function P(s)  Compute a schedule that schedules each job feasibly and minimizes energy used energy = ∫P(s t ) dt 17

Toy Example  2 jobs  Release date 0  Deadline 2  Work Power = = 16 Power = = 67.4

Facts  By convexity, each job runs at a constant speed (even with preemption)  A feasible schedule is always possible (run infinitely fast) 19

Offline YDS Algorithm (1995)  Repeat o Find the time 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 o During I  speed = to the intensity of I  Earliest Deadline First policy o Remove I and the jobs completed in I

YDS Example Release timedeadline time

YDS Example First Interval Intensity Second Interval Intensity = green work + blue work Length of solid green line

YDS Example  Final YDS schedule o Height = processor speed  YDS theorem: The YDS schedule is optimal for minimizing energy (also for minimizing temperature, or maximum power)

Minimizing linear combinations  Example:  Total response time + α (energy cost)  Assumption: both time and energy can be translated into dollars  E.g. How much am I willing to pay to save one minute? 24

Minimizing Energy + Response Time  1 machine  Jobs have weights a, release dates  Scheduler chooses job to run, and speed for each job  Schedule gives completion times to jobs C j  Objective is Σ j a j (C j -r j ) + ∫ t P(s t ) dt  Algorithm is on-line. 25

Results for Response Time Plus Energy [BCP09]  Scheduling Algorithm (HDF – highest density first). Density is weight/processing time  Speed setting algorithm involves inverting a potential function used in the analysis.  Power function is arbitrary.  Algorithm is (1+ ε)-speed, O(1/ε)-competitive (scalable). 26