going beyond cpus: the potential for temperature …skadron/tacs/ranganathan_slides.pdfjune 30, 2004...

25
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Going beyond CPUs: The Potential for Temperature-aware Data Centers Justin Moore, Ratnesh Sharma, Rocky Shih Jeff Chase, Chandrakant Patel Partha Ranganathan

Upload: others

Post on 25-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

© 2004 Hewlett-Packard Development Company, L.P.The information contained herein is subject to change without notice

Going beyond CPUs: The Potential for Temperature-aware Data Centers

Justin Moore, Ratnesh Sharma, Rocky ShihJeff Chase, Chandrakant PatelPartha Ranganathan

Page 2: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 2

Motivation

• Several past studies on temperature-aware CPU designs• BUT potential unexplored at higher-levels of system

asuwlink.uwyo.edu/ ~jimkirk/

Page 3: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 3

Cooling infrastructure− At high-end, ~1W of cooling for every 1W of power!

− TCO costs: $4-8 million cooling costs for 10MW data center− Environmental costs: 11M GJ + 2M tons CO2 for US machines

Reliability and availability− Mechanical parts – failure rates− Thermal redlining if inlet exceeds 30C− Lower operational efficiency at higher temperatures

• 10-15C increase => server/disk failure rates up by 2X [Uptime, Cole]

Exacerbated by consolidation, overprovisioning & density trends

The Temperature Problem in Data Centers

.050- 100 KW 1000+ KW10 - 15 KW

500 KW1 KW0.005 KW

Heat Generated

Energy to Remove Heat

.250 KW

.025 KW

Page 4: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 4

Addressing the Temperature Problem• Conventional approaches at facilities level

− New cooling approaches or better cooling delivery

• This work: temperature-aware resource provisioning− Architecting a temperature-aware resource scheduler

• Characterizing the indirectly-controlled delayed-response metric− Metrology: Leverage thermo-dynamics-based air-flow equations

• Combining IT level and facilities level (space and topology relations)− Monitoring: Deploy a location-aware knowledge plane [Splice]

• Dealing with discrete power states− Policies: Algorithms for “zonal proximity”

− Preliminary results • Significant cooling savings (within 94% of best-effort case)• Eliminate system failures caused by thermal emergencies

Page 5: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 5

Outline for talk• Motivation• Background and methodology• Temperature-aware resource scheduling−Metrology−Monitoring−Policy

• Summary and Future Work

Page 6: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 6

Background and MethodologyConventional data center model

− 11.7mx8.5mx3.1m with 0.6m plenum− 1120 servers

• 4 rows x 7 racks x 40 1U servers− 4 CRAC @ 86KW, hot/cold aisles− Server-pair power states

• 300W (idle), 580W (full)

Scheduling media rendering workloads− @ utilizations of 25% and 50%

0

20

40

60

80

100

120

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

Days

# C

PUs

0102030405060708090100

% U

tilis

atio

n

# CPUs% Utilisation

Page 7: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 7

Defining the problem: temperature as an indirectly-controlled metric

• Temperature as an indirectly-controlled metric− Non-intuitive correlations between system usage, power,

temperature− Delayed response times− Need metrology to characterize these effects

Individual server Data Center

Page 8: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 8

Metrology to capture temperature variation effects [Sharma+2003]

• Thermodynamics-based proxies for thermal behavior− Model hot air infiltration into cold aisle and mixing− Model short circuiting (cold air directly to CRAC inlet)

• Thermal policies for heat distribution− W = Q/COP; COP = f(Tref); Q = mCp(Treturn-Tref)− Reducing Treturn means Tref can be increased correspondingly

• This talk: Use exhaust temperature as first-order proxy− Make exhaust temp uniform to maximize inlet temperature (~25C)− Distribute heat inversely proportional to exhaust temp

− “Ideal distribution”

( )( )∑∑ −=j i

refjir

inpr

ji TTCmQ ,,δ

( ) ( )( )∑∑ −=j

jir

injir

outpi

rji TTCmQ ,,,

+

=QQ

QSHIδ

δ

Trout

rack

cold hot

Trin

Tref

0

1

0=

=

−= i

refi

refii P

TTTT

P

Page 9: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 9

Savings from applying “ideal” policy

Smoothed exhaust temperature profileHigher CRAC efficiency + higher return

tempCooling energy savings 25% 20.00

22.00

24.00

26.00

28.00

30.00

32.00

34.00

36.00

38.00

40.00

Along the Hot Aisle

Tem

pera

ture

(o C

)

Before Load Balancing

After Load Balancing

Page 10: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 10

Implementation?• Thermodynamics-based formulation of objective

function and actuation impact• BUT how do we implement this in a real system

System

Actuators

Analysis and control agents

Instrumentation & monitoring

Page 11: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 11

Instrumentation and Monitoring• Current instrumentation approaches inadequate for

temperature-aware resource scheduling

• Needs− Instrumentation across IT/facilities layers

• “Expanded computing environment”− Conventional IT metrics (e.g., CPU, network, etc.)− Environmental sensors (power, temperature, humidity)

• Proprietary and diverse “publish models” (e.g, OPC)• Synchronization

− Data repository and access• Need for scalability to hundreds of sensors, millions of readings• Notion of higher-level and hierarchical object views • Speed of query access

Facilities,Environment

Network

CPU/ RAM

Page 12: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 12

DatabaseData collection & filtering engine

Input types

Locations

Readings

Currentreadings

Events

Objecttypes

Objects

Object deltas

Sensorinterface

Sensorinterface

Sensorinterface

Filter

Filter

Data sourcesAgents

OpenviewAgent

TempSensors

Powermeters

Ganglia

A/C units

Visualization agents

Actuators control

Healthmonitor

Resource management

agents

Trend analysis

SPLICE Knowledge Plane

Admin agents

A location-aware information plane [Moore+2003]

− Instrumentation data sources• Unified correlated data collection and aggregation

− Data collection and filtering• Support for multiple interfaces

− Database schema• Enables higher-level object views, scalable, support for newer data

types− Analysis and control agents

• SQL interface to database

Page 13: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 13

Deployment Splice deployed at HP Labs

Utility Data Center (UDC)− HP Openview for performance

metrics and OPC interface for temperature and power sensors

Use with temperature-aware scheduling

But also other IT-facilities-boundary optimizations− E.g., operations automation

(problem detection, cause-effect analysis, provisioning, …)

Page 14: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 14

Policies

• “Ideal thermal policy” is analog−How do we discretize it for server power states and

static task scheduling with no workload migration?−Simple heuristic based on thermal policy

• Sort exhaust temperatures• Place hot loads on coolest spots

− For our data center => interior middle racks

System

Actuators

Analysis and control agents

Instrumentation & monitoring

Page 15: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 15

40% worse compared to ideal!

• Discreteness leads to imbalance and new hot spots− Increased energy to cool

Ideal ColdInlet

Page 16: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 16

Proximity-based algorithms• “Two-pass Discretize”− Intra-row first-pass; inter-rack second-pass

• Schedule per floor of analog allocation• Schedule excess with bias towards “median”

• “Proximity-based Poaching”−Single pass through three-dimensional space

• Assign server load• derate adjacent servers for new analog allocation

Page 17: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 17

Power savings close to ideal!

Ideal Poaching

• Heat distribution matches at zonal level− Two-pass within 15%; Poaching within 6% of ideal− Poaching yields close to 25% energy savings w.r.t bad scheduling

Page 18: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 18

Temperature-aware scheduling for thermal emergencies

• Faster response to thermal emergencies−Controlling heat source better than adjusting heat sinks−Same algorithms can be applied with emergency trigger

CRACunit failure

failuredetection

Thermal redlining thresholds

~30s

~90s

Temperature-aware schedule start +matching cooling response start

Temperature-aware schedule end

Cooling response end

~10s

~mins

Cooling response start Cooling

response end~mins

Facilities-level response

Thermal emergency

Temperature-aware resource scheduling

Page 19: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 19

• Applying “proximity-based-poaching”−Reduce thermal redlining servers by 55% in first 30 sec−Potential to fully eliminate thermal redlining failures

Region

Temperature-aware scheduling for thermal emergencies

Page 20: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 20

Summary• Temperature-aware provisioning valuable at data center level

− Cooling costs reduction and increased reliability/availability

• This work: Architecting a temperature-aware resource scheduler− Characterizing the indirectly-controlled delayed-response metric

• Metrology: Leverage thermo-dynamics-based air-flow equations− Combining IT level and facilities level (space and topology relations)

• Monitoring: Deploy a location-aware knowledge plane [Splice]− Dealing with discrete power states

• Policies: Algorithms for “zonal proximity”

− Preliminary results • Significant cooling savings (within 94% of best-effort case)• Eliminate system failures caused by thermal emergencies

• Ongoing work− More elaborate thermal policies and coarser grain policies− More discrete power states (v/f scaling, virtual machines)− Control on CRAC air flow rates

Page 21: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 21

Questions?

Page 22: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 22

Related Work• Traditional approaches

− Facilities-level work on cooling systems [IPACK]• Costs, granularity of control and response, do not address heat

− Power-aware IT resource scheduling [SOSP02, PACS02, WCOP01]• Focus on IT power, temperature can be improved or worsened

• Hybrid approach: Control at IT-facilities intersection− Workload migration proposed in Sharma et al [HPLTR03]

• Focus on thermo-dynamic thermal policies in ideal scenario

• Our work: temperature-aware resource scheduling• Real-world constraints, architected solution

Page 23: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 23

Temperature-aware scheduling: Challenges• Temperature as an indirectly-controlled metric

− Non-intuitive correlations between system usage, power, temperature

− Delayed response times

• Need for location-enhanced knowledge plane− Integrate IT-level metrics with facilities-level metrics− Capture spatial and topological relationships

• Discreteness in power states− Constraints on power modes in system− Constraints on workload migration modes

Page 24: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 24

Backup

0

2

4

6

8

10

12

0 5 10 15 20 25 30 35CRAC air dischargeTemperature (oC)

Coef

icie

nt o

f Per

form

ance

(CO

P)

4.923

5.901

Compressor Isentropic Efficiency=75%Condenser Coil Temperature = 50oC

4.177

Page 25: Going beyond CPUs: The Potential for Temperature …skadron/tacs/ranganathan_slides.pdfJune 30, 2004 8 Metrology to capture temperature variation effects [Sharma+2003]• Thermodynamics-based

June 30, 2004 25

Proximity-based scheduling

Ideal Poaching

Ideal Poaching