Server Workload Analysis for Power Minimization using Consolidation - - PowerPoint PPT Presentation

server workload analysis for power minimization using
SMART_READER_LITE
LIVE PREVIEW

Server Workload Analysis for Power Minimization using Consolidation - - PowerPoint PPT Presentation

India Research Lab Server Workload Analysis for Power Minimization using Consolidation Akshat Verma, Gargi Dasgupta, Tapan Nayak, Pradipta De, Ravi Kothari IBM India Research Lab Confidential | Date | Other information, if necessary India


slide-1
SLIDE 1

India Research Lab

Confidential | Date | Other information, if necessary

Server Workload Analysis for Power Minimization using Consolidation

Akshat Verma, Gargi Dasgupta, Tapan Nayak, Pradipta De, Ravi Kothari

IBM India Research Lab

slide-2
SLIDE 2

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

Consolidation for Power Minimization

  • Phases in a Typical Consolidation Scenario

– Workload Profiling – Workload Sizing – Server Selection – Placement

  • Important Considerations & Questions

– A consolidation plan remains active for long durations. – Workload intensity may vary greatly with time.

  • How are workloads sized (Peak, Average, any other)??
  • Which workloads are co-located on the same server?

– The servers may be heterogeneous with different power and performance limits.

  • Which servers are selected?
slide-3
SLIDE 3

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

Overview

  • Details of the workload studied
  • Workload Characteristics
  • Implications for the Design of Consolidation

Algorithms

  • Peak Clustering Based Placement
  • Validation
slide-4
SLIDE 4

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

Workload Details

  • Production data center of Fortune Global 500

company

  • Monitored using MDMS framework

– 5 min granularity – 90 day period in 2007

  • Selected 4 application suites with 10, 18, 13 and

16 servers

– AppSuite1, 2 and 4 are 2-tiered applications – AppSuite3 is 3 tiered

slide-5
SLIDE 5

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

Workload Characteristics

Single Workload Characteristic

  • Peak load is typically close to 100%  If consolidation is

performed by reserving the maximum utilization for each application, the application may require capacity equal to the size of its current entitlement.

  • 90 percentile is much less than Peak  If we could size an

application based on 90-percentile CPU utilization instead of maximum CPU utilization, it could lead to significant savings.

  • The tail does not decay exponentially  If a statistical

measure that ignores the tail of the distribution is used for sizing an application, the consolidated server may observe a large number of SLA capacity violations.

slide-6
SLIDE 6

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

Workload Characteristics

Correlation between workloads 4. There are both positively correlated and uncorrelated applications in a typical server cluster  Hence, correlation needs to be considered during placement to avoid SLA capacity violations. 5. Correlated Applications may not always peak together. Similarly, non- correlated applications may also peak together in some cases. Stability of statistical parameters 6. Some servers exhibit periodic behavior and the future pattern can be reliably forecasted with a day or a week of data. For many non-periodic servers, the statistical properties are fairly stable over time. For highly variable servers, an adaptive prediction method like MovingAverage should be used to estimate the statistical properties. 7. The correlation between the CPU utilization of various servers is fairly stable across time  Consolidation based on statistical metrics is practical.

slide-7
SLIDE 7

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

Core Dump!!!!

slide-8
SLIDE 8

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

Implications for Placement

  • Peak based sizing wastes resources
  • Sizing based on parameters like mean may have high

performance risk

  • Correlation between the applications may increase the

risk further.

  • Correlation-based Placement (CBP): Separate out

positively correlated applications. Assumes that the peak of one workload can be handled by borrowing resources from other workloads.

slide-9
SLIDE 9

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

Implications for Placement

  • Problems with CBP

– Correlation is a global metric and may not accurately capture correlated peaks. – Single Parameter based sizing can not capture both the tail and the body of the distribution

slide-10
SLIDE 10

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

What next? Some complicated technique that nobody will ever use!!!!!!!

Well, it is really very simple!!!!! Use two parameters to size a workload

slide-11
SLIDE 11

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

Implications for Placement

  • Peak Clustering Based Placement

– Use two metrics for sizing: (i) a body based metric when placing with workloads which do not peak together and (ii) a tail based metric when placing with workloads that peak together – Cluster workloads that peak together and ensure we proportionally allocate workloads to a server from each cluster.

slide-12
SLIDE 12

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

Peak Clustering Based Placement

5 10 15 20 25 30 35 5 10 15 20 25 30 Capacity Used Time CB Cmax Original Time Series Envelop at PB = 0.67 P

Capacity Used PDF

C

B

C

max B

slide-13
SLIDE 13

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

PCP (Contd..)

Peak2

CLUSTER 1 RESERVATION FOR RESERVATION FOR CLUSTER 2 RESERVATION FOR CLUSTER 3

Time

CPU Peak Buffer Largest Peak

Peak1

slide-14
SLIDE 14

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

PCP (Cont ..)

!"#$%&#'&# ()$*&#'&#$*&+&,-."/ 0)$1/'&+"2

*&#'&#% 344$56 743819 3#&

:)$8+;%-&#

56

*&#'&#%

56

<#=/%!"#>&? 8+;%-&#%

@ 9A@1

!"#$/&B-$%&#'&# C)$7&#!8+;%-&#$56$*D"#-+.%-./E F)$56$7+=,&>&/-$!"#$%&#'&#

*&+&,-&? 56 56

8+;%-&#% 8=/?.?=-&$56% 56$3++",=-."/

  • Create an envelop for each

workload based on two parameters

  • Cluster workloads based on their

peaks

  • Select the most power-efficient

server

  • Allocate workloads from each

cluster to the server in a proportional manner.

  • Keep a buffer for the peak.
  • Use FFD to minimize

fragmentation.

slide-15
SLIDE 15

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

Experimental Setup

  • Implemented in IBM Emerald 2.0 Consolidation

Planning Tool

  • Training Period of 5 days
  • Evaluation Period of 1 day (the day following the

training)

  • Compared with best known methodology with Peak-

based and mode-based sizing

  • Metrics for Evaluation

– Power Consumed – Capacity Violations – Workload Imbalance across servers (difference between the most highly loaded server and the average)

slide-16
SLIDE 16

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

!""#$%&'!( !""#$%&'!) !""#$%&'!* !""#$%&' , ,-) ,-+ ,-. ,-/

012345%6'78891:'2

8 CD9 9C9

!""#$%&'!( !""#$%&'!) !""#$%&'!* !""#$%&' ,

  • ,

(,, (-, ),, )-,

.%/01&%/23454617

4 @A8 8@8

Results Summary

  • Power

– Consolidation based on peak sizes may not even save any power – PCP saves almost the same amount of power as mode.

  • Violations

– Mode has the most violations. – CBP may have violations depending on the correlation threshold cutoff – The capacity violations for Mode may be as large as the capacity of the server.

slide-17
SLIDE 17

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

Conclusion

  • CPU utilization of workloads exhibit a high degree of

variance

  • Most servers peak close to 100% utilization.
  • The average utilization is usually much lower but

consolidation based on average utilization has high consolidation risk.

  • The statistical parameters are more stable than the

workload itself.

  • Placement based on two parameters for sizing may lead

to aggressive consolidation with low risk of capacity violations.

slide-18
SLIDE 18

India Research Lab

Server Workload Analysis for Power Minimization Using Consolidation

Thanks

  • Questions?????