SlideShare une entreprise Scribd logo
1  sur  21
Optimal Power Management for
Server Farm to Support Green Computing

    Dusit Niyato , Sivadon Chaisiri, and Lee Bu Sung, Francis
    dniyato@ntu.edu.sg, siva0020@ntu.edu.sg, ebslee@ntu.edu.sg
    School of Computer Engineering
    Nanyang Technological University, Singapore
    IEEE/ACM International Symposium on
    Cluster Computing and the Grid (CCGrid 09)
    May 19, 2009
Outline
•   Introduction
•   System Model
•   Challenges
•   Optimization Formulation
•   Performance Evaluation
•   Summary




                               2
Introduction

• Green Computing is the study and practice of using computing
  resource efficiently, not only the performance but energy
• We firstly propose an optimal power management (OPM) used by a
  batch scheduler in a server farm
• This OPM observes the state of the server farm, then make the
  decision to switch the operation mode (active / sleep) of the server
• An optimal decision of OPM is obtained by the constrained Markov
  decision process (CMDP)
• We consider the system with a job broker to assign users to multiple
  server farms while the cost is minimized




                                                                     3
Power Management

• Power management is a major approach of green computing
• Power management is applied to control power consumption and
  operation of computing resources
• Two levels of power management
   – Machine level (e.g., some components can be suspended)
   – Network level (e.g., a node in a server farm can be turned to
     sleep mode)
• Our work is based on the network level power management




                                                                     4
System Model

                                            Server
                                             farm




                         broker
                          Job
                                            Server
                                             farm



            users



                                  Incoming jobs
OPM is a part of a batch
scheduler in a server farm                   Batch scheduler



                                                                           Server in
                                                                Server in sleep mode
                                                               active mode


                                                                                       5
Challenges

• Uncertainty
   – Job arrival is random; users generate job randomly
   – Job size and thus processing time is random




                Incoming jobs


                           Batch scheduler



                                                         Server in
                                              Server in sleep mode
                                             active mode
                                                                     6
Challenges

• Questions to Be Answer
   – When and how many servers to be switched between active and
     sleep modes ?
   – Which server farm should be chosen for a user ?




                Incoming jobs


                           Batch scheduler



                                                         Server in
                                              Server in sleep mode
                                             active mode
                                                                     7
Power and Workload Management

• OPM is a part of a batch scheduler
• An optimal decision of OPM is obtained by formulating and solving
  the constrained Markov decision process (CMDP)
• Markov decision process (MDP)
   – a discrete time stochastic control process characterized by a set of
     states; in each state there are several actions from which the decision
     maker must choose
   – For state s and action a, a state transition function Pa(s) determines the
     transition probabilities to the next state
   – The decision maker earns a reward (incursa cost) for each state
     transition




                                                                                  8
Optimization Formulation of OPM
• State Space
   – (X,S): Composite state of server farm
   – X: Number of jobs in queue
   – S: Number of servers in active mode
• Decision Epoch
   – Time slot
• Action
   – Us: Number of servers to be switched between active and sleep modes




                                                                           9
Time Slots and Actions
                                                                    Action: +1
   Action: 0                         Action: 0                  Switch one server
  Do nothing                        Do nothing                   to active mode

                   Action: -2                        Action: +1
               Switch two servers                Switch one server                  Action: …
                to sleep mode                     to active mode



        Time slot         Time slot        Time slot       Time slot      Time slot
           t-2               t-1               t              t+1            t+2
                                                                                            Time
        Five servers                      Three servers                   Four servers
         are active     Three servers       are active  Three servers       are active,
                          are active,                     are active,     one server is
                       two servers are                   one server is     switching to
                         switching to                    switching to     active mode
                         sleep mode                      active mode




                                                                                                   10
Formulation of OPM   Minimize power consumption


                        Waiting time requirement



                               Loss requirement


                                 Bellman’s equation




                                              11
Job Broker
• The system with multiple server farms and multiple users are
  considered
• A job broker assigns the user to the appropriate server farm such
  that the power consumption cost and network cost of a system is
  minimized




                                                                      12
Formulation of Assignment Problem for Job Broker




                                       Minimize total cost




                                     Total delay requirement




                                                             13
Performance Evaluation

An individual server farm with batch schedule + OPM
• A discrete-time simulation is used to verify the correctness of an
  analytical model
• The optimal decision (or policy) is made after the state of the system
  is observed
• Parameter Setting
    –   Power consumption P act =400 ,P slp =40 watts
    –   The job dropping probability requirement Bmax =10−3
    –   The size of time slot T=20 seconds
    –   The waiting time requirement W max =150 seconds
    –   The min and max number of servers to be mode switched   A max =2



                                                                           14
Performance of Individual Server Farm


             2


             1
    Action




             0


             ­1


             ­2                                                      0
             15
                          10                          5
                                       5
                                            0   10
                                                     Number of servers in active mode
                  Number of jobs in queue

      A set of actions given the number of jobs in a queue and
                the number of servers in active mode

                                                                                        15
Performance of Individual Server Farm

                                      2100                                                               
  Average power consumption (watts)


                                                   W max =150

                                      2000         W max =200
                                                   Simulation
                                      1900


                                      1800


                                      1700


                                      1600  
                                          6    7        8       9       10      11       12   13   14   15
                                                                Total number of servers (S)

                            Average power consumption under different total number of servers


                                                                                                             16
Performance of Individual Server Farm
                              1400                                                                
                                                                                  Bmax =0.001
                                                                                  Bmax =0.01
  Power consumption (watts)




                              1350
                                                                                  Bmax =0.02
                                                                                  Bmax =0.03

                              1300



                              1250



                              1200  
                                 150               200                    250                   300
                                                  Maximum waiting time (W max )
                                The minimum power consumption given different waiting time
                                         and job blocking probability requirements

                                                                                                      17
Performance Evaluation

The system with multiple server farms and a job broker
• Two server farms are evaluated ( F = 2 )
• Multiple users ( U = 20 ) are coming to the job broker
• The network cost is represented by a distance between location of
  user and location of server farm
• A number of servers per server farm is 10 ( S1 =S 2 =10 )
• Two different scenarios
                                           p    p
   – Identical power consumption cost ( C 1 =C 2 =0 . 01 / Wh)
                                             p         p
   – Different power consumption costs ( C 1 =0 . 01 ,C 2 =0. 012 / Wh )




                                                                      18
Performance of Multiple Server Farms
                                                         




              User
              Server farm 1
              Server farm 2
              Assignment of 
               user to server farm

          The assignment of the users to the server farms
             under different power consumption costs

                                                            19
Summary

• We have considered the power management issue in green
  computing
• We have first proposed OPM, formulated as CMDP, for an individual
  server farm
• Our OPM can dynamically reduce the power consumption of servers
  in a farm by switching them to sleep mode
• The system with multiple server farms has been also considered in
  which the job broker has been optimized to assign the user to the
  server farm
• Future work
   – Computing resource planning under uncertainty
   – Virtualization + Cloud ...



                                                                 20
Thank you



Contact Us
dniyato@ntu.edu.sg, siva0020@ntu.edu.sg, ebslee@ntu.edu.sg


                                                             21

Contenu connexe

Tendances

Ensuring performance for real time packet processing in open stack white paper
Ensuring performance for real time packet processing in open stack white paperEnsuring performance for real time packet processing in open stack white paper
Ensuring performance for real time packet processing in open stack white paperhptoga
 
Solving_the_C20K_problem_PHP_Performance_and_Scalability-phpquebec_2009
Solving_the_C20K_problem_PHP_Performance_and_Scalability-phpquebec_2009Solving_the_C20K_problem_PHP_Performance_and_Scalability-phpquebec_2009
Solving_the_C20K_problem_PHP_Performance_and_Scalability-phpquebec_2009Hiroshi Ono
 
VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series VMworld
 
Session 7362 Handout 427 0
Session 7362 Handout 427 0Session 7362 Handout 427 0
Session 7362 Handout 427 0jln1028
 
JUSG - Event Driven Architectures by Alexander Schatten
JUSG - Event Driven Architectures by Alexander SchattenJUSG - Event Driven Architectures by Alexander Schatten
JUSG - Event Driven Architectures by Alexander SchattenChristoph Pickl
 
TSM 6.4 update 22.11.2012
TSM 6.4 update 22.11.2012TSM 6.4 update 22.11.2012
TSM 6.4 update 22.11.2012Solv AS
 
Performing Sandboxed Testing with PlateSpin Forge
Performing Sandboxed Testing with PlateSpin ForgePerforming Sandboxed Testing with PlateSpin Forge
Performing Sandboxed Testing with PlateSpin ForgeNovell
 
Multi-core Parallelization in Clojure - a Case Study
Multi-core Parallelization in Clojure - a Case StudyMulti-core Parallelization in Clojure - a Case Study
Multi-core Parallelization in Clojure - a Case Studyelliando dias
 
Gearman - Northeast PHP 2012
Gearman - Northeast PHP 2012Gearman - Northeast PHP 2012
Gearman - Northeast PHP 2012Mike Willbanks
 
Reactive Microservices with JRuby and Docker
Reactive Microservices with JRuby and DockerReactive Microservices with JRuby and Docker
Reactive Microservices with JRuby and DockerJohn Scattergood
 
NServiceBus workshop presentation
NServiceBus workshop presentationNServiceBus workshop presentation
NServiceBus workshop presentationTomas Jansson
 
Presentation drs advanced concepts, best practices and future directions
Presentation   drs advanced concepts, best practices and future directionsPresentation   drs advanced concepts, best practices and future directions
Presentation drs advanced concepts, best practices and future directionssolarisyourep
 
Q2.12: Research Update on big.LITTLE MP Scheduling
Q2.12: Research Update on big.LITTLE MP SchedulingQ2.12: Research Update on big.LITTLE MP Scheduling
Q2.12: Research Update on big.LITTLE MP SchedulingLinaro
 
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topicsMunich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topicsMartin Packer
 
Ph.D. Dissertation
Ph.D. DissertationPh.D. Dissertation
Ph.D. DissertationSumant Tambe
 

Tendances (16)

Ensuring performance for real time packet processing in open stack white paper
Ensuring performance for real time packet processing in open stack white paperEnsuring performance for real time packet processing in open stack white paper
Ensuring performance for real time packet processing in open stack white paper
 
Solving_the_C20K_problem_PHP_Performance_and_Scalability-phpquebec_2009
Solving_the_C20K_problem_PHP_Performance_and_Scalability-phpquebec_2009Solving_the_C20K_problem_PHP_Performance_and_Scalability-phpquebec_2009
Solving_the_C20K_problem_PHP_Performance_and_Scalability-phpquebec_2009
 
VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series
 
Session 7362 Handout 427 0
Session 7362 Handout 427 0Session 7362 Handout 427 0
Session 7362 Handout 427 0
 
JUSG - Event Driven Architectures by Alexander Schatten
JUSG - Event Driven Architectures by Alexander SchattenJUSG - Event Driven Architectures by Alexander Schatten
JUSG - Event Driven Architectures by Alexander Schatten
 
Parallelism in sql server
Parallelism in sql serverParallelism in sql server
Parallelism in sql server
 
TSM 6.4 update 22.11.2012
TSM 6.4 update 22.11.2012TSM 6.4 update 22.11.2012
TSM 6.4 update 22.11.2012
 
Performing Sandboxed Testing with PlateSpin Forge
Performing Sandboxed Testing with PlateSpin ForgePerforming Sandboxed Testing with PlateSpin Forge
Performing Sandboxed Testing with PlateSpin Forge
 
Multi-core Parallelization in Clojure - a Case Study
Multi-core Parallelization in Clojure - a Case StudyMulti-core Parallelization in Clojure - a Case Study
Multi-core Parallelization in Clojure - a Case Study
 
Gearman - Northeast PHP 2012
Gearman - Northeast PHP 2012Gearman - Northeast PHP 2012
Gearman - Northeast PHP 2012
 
Reactive Microservices with JRuby and Docker
Reactive Microservices with JRuby and DockerReactive Microservices with JRuby and Docker
Reactive Microservices with JRuby and Docker
 
NServiceBus workshop presentation
NServiceBus workshop presentationNServiceBus workshop presentation
NServiceBus workshop presentation
 
Presentation drs advanced concepts, best practices and future directions
Presentation   drs advanced concepts, best practices and future directionsPresentation   drs advanced concepts, best practices and future directions
Presentation drs advanced concepts, best practices and future directions
 
Q2.12: Research Update on big.LITTLE MP Scheduling
Q2.12: Research Update on big.LITTLE MP SchedulingQ2.12: Research Update on big.LITTLE MP Scheduling
Q2.12: Research Update on big.LITTLE MP Scheduling
 
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topicsMunich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
 
Ph.D. Dissertation
Ph.D. DissertationPh.D. Dissertation
Ph.D. Dissertation
 

En vedette

Robust Cloud Resource Provisioning for Cloud Computing Environments
Robust Cloud Resource Provisioning for Cloud Computing EnvironmentsRobust Cloud Resource Provisioning for Cloud Computing Environments
Robust Cloud Resource Provisioning for Cloud Computing EnvironmentsSivadon Chaisiri
 
02 Ms Online Identity Session 1
02 Ms Online Identity   Session 102 Ms Online Identity   Session 1
02 Ms Online Identity Session 1Sivadon Chaisiri
 
Optimal Virtual Machine Placement across Multiple Cloud Providers
Optimal Virtual Machine Placement across Multiple Cloud ProvidersOptimal Virtual Machine Placement across Multiple Cloud Providers
Optimal Virtual Machine Placement across Multiple Cloud ProvidersSivadon Chaisiri
 
Research Issues on Resource Discovery & Matching Making
Research Issues on Resource Discovery & Matching MakingResearch Issues on Resource Discovery & Matching Making
Research Issues on Resource Discovery & Matching MakingSivadon Chaisiri
 
01 All Up Technical Overview
01 All Up Technical Overview01 All Up Technical Overview
01 All Up Technical OverviewSivadon Chaisiri
 
Cost Minimization for Provisioning Virtual Servers in Amazon EC2
Cost Minimization for Provisioning Virtual Servers in Amazon EC2Cost Minimization for Provisioning Virtual Servers in Amazon EC2
Cost Minimization for Provisioning Virtual Servers in Amazon EC2Sivadon Chaisiri
 
Research Issues on Grid Resource Brokers
Research Issues on Grid Resource BrokersResearch Issues on Grid Resource Brokers
Research Issues on Grid Resource BrokersSivadon Chaisiri
 
UX勉強会(第十章)
UX勉強会(第十章)UX勉強会(第十章)
UX勉強会(第十章)Takumi KASHIMA
 
Present Paper: Protecting Free Expression Online on Freenet
Present Paper: Protecting Free Expression Online on FreenetPresent Paper: Protecting Free Expression Online on Freenet
Present Paper: Protecting Free Expression Online on FreenetSivadon Chaisiri
 
Optimization of Resource Provisioning Cost in Cloud Computing
Optimization of Resource Provisioning Cost in Cloud Computing Optimization of Resource Provisioning Cost in Cloud Computing
Optimization of Resource Provisioning Cost in Cloud Computing Sivadon Chaisiri
 
Economic Analysis of Resource Market in Cloud Computing Environment
Economic Analysis of Resource Market in Cloud Computing EnvironmentEconomic Analysis of Resource Market in Cloud Computing Environment
Economic Analysis of Resource Market in Cloud Computing EnvironmentSivadon Chaisiri
 
UX勉強会(第十五章)
UX勉強会(第十五章)UX勉強会(第十五章)
UX勉強会(第十五章)Takumi KASHIMA
 
Benson Pecha Kucha
Benson Pecha KuchaBenson Pecha Kucha
Benson Pecha Kuchambenson75
 
UX勉強会(第四章)
UX勉強会(第四章) UX勉強会(第四章)
UX勉強会(第四章) Takumi KASHIMA
 
UX勉強会(第五章)
UX勉強会(第五章)UX勉強会(第五章)
UX勉強会(第五章)Takumi KASHIMA
 

En vedette (19)

Robust Cloud Resource Provisioning for Cloud Computing Environments
Robust Cloud Resource Provisioning for Cloud Computing EnvironmentsRobust Cloud Resource Provisioning for Cloud Computing Environments
Robust Cloud Resource Provisioning for Cloud Computing Environments
 
02 Ms Online Identity Session 1
02 Ms Online Identity   Session 102 Ms Online Identity   Session 1
02 Ms Online Identity Session 1
 
Intelbloggerday08
Intelbloggerday08Intelbloggerday08
Intelbloggerday08
 
Optimal Virtual Machine Placement across Multiple Cloud Providers
Optimal Virtual Machine Placement across Multiple Cloud ProvidersOptimal Virtual Machine Placement across Multiple Cloud Providers
Optimal Virtual Machine Placement across Multiple Cloud Providers
 
Research Issues on Resource Discovery & Matching Making
Research Issues on Resource Discovery & Matching MakingResearch Issues on Resource Discovery & Matching Making
Research Issues on Resource Discovery & Matching Making
 
Socket Programming
Socket ProgrammingSocket Programming
Socket Programming
 
01 All Up Technical Overview
01 All Up Technical Overview01 All Up Technical Overview
01 All Up Technical Overview
 
Remote Call
Remote CallRemote Call
Remote Call
 
Cost Minimization for Provisioning Virtual Servers in Amazon EC2
Cost Minimization for Provisioning Virtual Servers in Amazon EC2Cost Minimization for Provisioning Virtual Servers in Amazon EC2
Cost Minimization for Provisioning Virtual Servers in Amazon EC2
 
Research Issues on Grid Resource Brokers
Research Issues on Grid Resource BrokersResearch Issues on Grid Resource Brokers
Research Issues on Grid Resource Brokers
 
UX勉強会(第十章)
UX勉強会(第十章)UX勉強会(第十章)
UX勉強会(第十章)
 
Present Paper: Protecting Free Expression Online on Freenet
Present Paper: Protecting Free Expression Online on FreenetPresent Paper: Protecting Free Expression Online on Freenet
Present Paper: Protecting Free Expression Online on Freenet
 
Optimization of Resource Provisioning Cost in Cloud Computing
Optimization of Resource Provisioning Cost in Cloud Computing Optimization of Resource Provisioning Cost in Cloud Computing
Optimization of Resource Provisioning Cost in Cloud Computing
 
Economic Analysis of Resource Market in Cloud Computing Environment
Economic Analysis of Resource Market in Cloud Computing EnvironmentEconomic Analysis of Resource Market in Cloud Computing Environment
Economic Analysis of Resource Market in Cloud Computing Environment
 
UX勉強会(第十五章)
UX勉強会(第十五章)UX勉強会(第十五章)
UX勉強会(第十五章)
 
Benson Pecha Kucha
Benson Pecha KuchaBenson Pecha Kucha
Benson Pecha Kucha
 
動画のあれこれ
動画のあれこれ動画のあれこれ
動画のあれこれ
 
UX勉強会(第四章)
UX勉強会(第四章) UX勉強会(第四章)
UX勉強会(第四章)
 
UX勉強会(第五章)
UX勉強会(第五章)UX勉強会(第五章)
UX勉強会(第五章)
 

Similaire à Presentation: Optimal Power Management for Server Farm to Support Green Computing

At Scale With Style (Erlang User Conference 2012)
At Scale With Style (Erlang User Conference 2012)At Scale With Style (Erlang User Conference 2012)
At Scale With Style (Erlang User Conference 2012)Wooga
 
SBJUG - Building Beautiful Batch Jobs
SBJUG - Building Beautiful Batch JobsSBJUG - Building Beautiful Batch Jobs
SBJUG - Building Beautiful Batch Jobsstephenbhadran
 
Exploiting latency bounds for energy efficient load balancing
Exploiting latency bounds for energy efficient load balancingExploiting latency bounds for energy efficient load balancing
Exploiting latency bounds for energy efficient load balancingMichael May
 
Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...WMLab,NCU
 
Inside the Chef Push Jobs Service - ChefConf 2015
Inside the Chef Push Jobs Service - ChefConf 2015 Inside the Chef Push Jobs Service - ChefConf 2015
Inside the Chef Push Jobs Service - ChefConf 2015 Chef
 
More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...
More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...
More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...Amazon Web Services
 
CloudStack Performance Testing
CloudStack Performance TestingCloudStack Performance Testing
CloudStack Performance Testingbuildacloud
 
Distributed and concurrent programming with RabbitMQ and EventMachine Rails U...
Distributed and concurrent programming with RabbitMQ and EventMachine Rails U...Distributed and concurrent programming with RabbitMQ and EventMachine Rails U...
Distributed and concurrent programming with RabbitMQ and EventMachine Rails U...Paolo Negri
 
More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...
More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...
More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...Amazon Web Services
 
Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...
Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...
Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...xKinAnx
 
Combining the strength of erlang and Ruby
Combining the strength of erlang and RubyCombining the strength of erlang and Ruby
Combining the strength of erlang and RubyMartin Rehfeld
 
Combining the Strengths or Erlang and Ruby
Combining the Strengths or Erlang and RubyCombining the Strengths or Erlang and Ruby
Combining the Strengths or Erlang and RubyWooga
 
02 2017 emea_roadshow_milan_ha
02 2017 emea_roadshow_milan_ha02 2017 emea_roadshow_milan_ha
02 2017 emea_roadshow_milan_hamlraviol
 
HMS: Scalable Configuration Management System for Hadoop
HMS: Scalable Configuration Management System for HadoopHMS: Scalable Configuration Management System for Hadoop
HMS: Scalable Configuration Management System for HadoopDataWorks Summit
 
Push jobs: an orchestration building block for private Chef
Push jobs: an orchestration building block for private ChefPush jobs: an orchestration building block for private Chef
Push jobs: an orchestration building block for private ChefChef Software, Inc.
 
Till Rohrmann – Fault Tolerance and Job Recovery in Apache Flink
Till Rohrmann – Fault Tolerance and Job Recovery in Apache FlinkTill Rohrmann – Fault Tolerance and Job Recovery in Apache Flink
Till Rohrmann – Fault Tolerance and Job Recovery in Apache FlinkFlink Forward
 
IBM WebSphere MQ: Managing Workloads, Scaling and Availability with MQ Clusters
IBM WebSphere MQ: Managing Workloads, Scaling and Availability with MQ ClustersIBM WebSphere MQ: Managing Workloads, Scaling and Availability with MQ Clusters
IBM WebSphere MQ: Managing Workloads, Scaling and Availability with MQ ClustersDavid Ware
 
M|18 Choosing the Right High Availability Strategy for You
M|18 Choosing the Right High Availability Strategy for YouM|18 Choosing the Right High Availability Strategy for You
M|18 Choosing the Right High Availability Strategy for YouMariaDB plc
 

Similaire à Presentation: Optimal Power Management for Server Farm to Support Green Computing (20)

At Scale With Style (Erlang User Conference 2012)
At Scale With Style (Erlang User Conference 2012)At Scale With Style (Erlang User Conference 2012)
At Scale With Style (Erlang User Conference 2012)
 
At Scale With Style
At Scale With StyleAt Scale With Style
At Scale With Style
 
SBJUG - Building Beautiful Batch Jobs
SBJUG - Building Beautiful Batch JobsSBJUG - Building Beautiful Batch Jobs
SBJUG - Building Beautiful Batch Jobs
 
Exploiting latency bounds for energy efficient load balancing
Exploiting latency bounds for energy efficient load balancingExploiting latency bounds for energy efficient load balancing
Exploiting latency bounds for energy efficient load balancing
 
Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...
 
Inside the Chef Push Jobs Service - ChefConf 2015
Inside the Chef Push Jobs Service - ChefConf 2015 Inside the Chef Push Jobs Service - ChefConf 2015
Inside the Chef Push Jobs Service - ChefConf 2015
 
More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...
More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...
More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...
 
CloudStack Performance Testing
CloudStack Performance TestingCloudStack Performance Testing
CloudStack Performance Testing
 
Distributed and concurrent programming with RabbitMQ and EventMachine Rails U...
Distributed and concurrent programming with RabbitMQ and EventMachine Rails U...Distributed and concurrent programming with RabbitMQ and EventMachine Rails U...
Distributed and concurrent programming with RabbitMQ and EventMachine Rails U...
 
More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...
More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...
More Nines for Your Dimes: Improving Availability and Lowering Costs using Au...
 
Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...
Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...
Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...
 
FreeRTOS Slides annotations.pdf
FreeRTOS Slides annotations.pdfFreeRTOS Slides annotations.pdf
FreeRTOS Slides annotations.pdf
 
Combining the strength of erlang and Ruby
Combining the strength of erlang and RubyCombining the strength of erlang and Ruby
Combining the strength of erlang and Ruby
 
Combining the Strengths or Erlang and Ruby
Combining the Strengths or Erlang and RubyCombining the Strengths or Erlang and Ruby
Combining the Strengths or Erlang and Ruby
 
02 2017 emea_roadshow_milan_ha
02 2017 emea_roadshow_milan_ha02 2017 emea_roadshow_milan_ha
02 2017 emea_roadshow_milan_ha
 
HMS: Scalable Configuration Management System for Hadoop
HMS: Scalable Configuration Management System for HadoopHMS: Scalable Configuration Management System for Hadoop
HMS: Scalable Configuration Management System for Hadoop
 
Push jobs: an orchestration building block for private Chef
Push jobs: an orchestration building block for private ChefPush jobs: an orchestration building block for private Chef
Push jobs: an orchestration building block for private Chef
 
Till Rohrmann – Fault Tolerance and Job Recovery in Apache Flink
Till Rohrmann – Fault Tolerance and Job Recovery in Apache FlinkTill Rohrmann – Fault Tolerance and Job Recovery in Apache Flink
Till Rohrmann – Fault Tolerance and Job Recovery in Apache Flink
 
IBM WebSphere MQ: Managing Workloads, Scaling and Availability with MQ Clusters
IBM WebSphere MQ: Managing Workloads, Scaling and Availability with MQ ClustersIBM WebSphere MQ: Managing Workloads, Scaling and Availability with MQ Clusters
IBM WebSphere MQ: Managing Workloads, Scaling and Availability with MQ Clusters
 
M|18 Choosing the Right High Availability Strategy for You
M|18 Choosing the Right High Availability Strategy for YouM|18 Choosing the Right High Availability Strategy for You
M|18 Choosing the Right High Availability Strategy for You
 

Dernier

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 

Dernier (20)

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 

Presentation: Optimal Power Management for Server Farm to Support Green Computing

  • 1. Optimal Power Management for Server Farm to Support Green Computing Dusit Niyato , Sivadon Chaisiri, and Lee Bu Sung, Francis dniyato@ntu.edu.sg, siva0020@ntu.edu.sg, ebslee@ntu.edu.sg School of Computer Engineering Nanyang Technological University, Singapore IEEE/ACM International Symposium on Cluster Computing and the Grid (CCGrid 09) May 19, 2009
  • 2. Outline • Introduction • System Model • Challenges • Optimization Formulation • Performance Evaluation • Summary 2
  • 3. Introduction • Green Computing is the study and practice of using computing resource efficiently, not only the performance but energy • We firstly propose an optimal power management (OPM) used by a batch scheduler in a server farm • This OPM observes the state of the server farm, then make the decision to switch the operation mode (active / sleep) of the server • An optimal decision of OPM is obtained by the constrained Markov decision process (CMDP) • We consider the system with a job broker to assign users to multiple server farms while the cost is minimized 3
  • 4. Power Management • Power management is a major approach of green computing • Power management is applied to control power consumption and operation of computing resources • Two levels of power management – Machine level (e.g., some components can be suspended) – Network level (e.g., a node in a server farm can be turned to sleep mode) • Our work is based on the network level power management 4
  • 5. System Model Server farm broker Job Server farm users Incoming jobs OPM is a part of a batch scheduler in a server farm Batch scheduler Server in Server in sleep mode active mode 5
  • 6. Challenges • Uncertainty – Job arrival is random; users generate job randomly – Job size and thus processing time is random Incoming jobs Batch scheduler Server in Server in sleep mode active mode 6
  • 7. Challenges • Questions to Be Answer – When and how many servers to be switched between active and sleep modes ? – Which server farm should be chosen for a user ? Incoming jobs Batch scheduler Server in Server in sleep mode active mode 7
  • 8. Power and Workload Management • OPM is a part of a batch scheduler • An optimal decision of OPM is obtained by formulating and solving the constrained Markov decision process (CMDP) • Markov decision process (MDP) – a discrete time stochastic control process characterized by a set of states; in each state there are several actions from which the decision maker must choose – For state s and action a, a state transition function Pa(s) determines the transition probabilities to the next state – The decision maker earns a reward (incursa cost) for each state transition 8
  • 9. Optimization Formulation of OPM • State Space – (X,S): Composite state of server farm – X: Number of jobs in queue – S: Number of servers in active mode • Decision Epoch – Time slot • Action – Us: Number of servers to be switched between active and sleep modes 9
  • 10. Time Slots and Actions Action: +1 Action: 0 Action: 0 Switch one server Do nothing Do nothing to active mode Action: -2 Action: +1 Switch two servers Switch one server Action: … to sleep mode to active mode Time slot Time slot Time slot Time slot Time slot t-2 t-1 t t+1 t+2 Time Five servers Three servers Four servers are active Three servers are active Three servers are active, are active, are active, one server is two servers are one server is switching to switching to switching to active mode sleep mode active mode 10
  • 11. Formulation of OPM Minimize power consumption Waiting time requirement Loss requirement Bellman’s equation 11
  • 12. Job Broker • The system with multiple server farms and multiple users are considered • A job broker assigns the user to the appropriate server farm such that the power consumption cost and network cost of a system is minimized 12
  • 13. Formulation of Assignment Problem for Job Broker Minimize total cost Total delay requirement 13
  • 14. Performance Evaluation An individual server farm with batch schedule + OPM • A discrete-time simulation is used to verify the correctness of an analytical model • The optimal decision (or policy) is made after the state of the system is observed • Parameter Setting – Power consumption P act =400 ,P slp =40 watts – The job dropping probability requirement Bmax =10−3 – The size of time slot T=20 seconds – The waiting time requirement W max =150 seconds – The min and max number of servers to be mode switched A max =2 14
  • 15. Performance of Individual Server Farm 2 1 Action 0 ­1 ­2 0 15 10 5 5 0 10 Number of servers in active mode Number of jobs in queue A set of actions given the number of jobs in a queue and the number of servers in active mode 15
  • 16. Performance of Individual Server Farm 2100   Average power consumption (watts) W max =150 2000 W max =200 Simulation 1900 1800 1700 1600   6 7 8 9 10 11 12 13 14 15 Total number of servers (S) Average power consumption under different total number of servers 16
  • 17. Performance of Individual Server Farm 1400   Bmax =0.001 Bmax =0.01 Power consumption (watts) 1350 Bmax =0.02 Bmax =0.03 1300 1250 1200   150 200 250 300 Maximum waiting time (W max ) The minimum power consumption given different waiting time and job blocking probability requirements 17
  • 18. Performance Evaluation The system with multiple server farms and a job broker • Two server farms are evaluated ( F = 2 ) • Multiple users ( U = 20 ) are coming to the job broker • The network cost is represented by a distance between location of user and location of server farm • A number of servers per server farm is 10 ( S1 =S 2 =10 ) • Two different scenarios p  p – Identical power consumption cost ( C 1 =C 2 =0 . 01 / Wh) p  p – Different power consumption costs ( C 1 =0 . 01 ,C 2 =0. 012 / Wh ) 18
  • 19. Performance of Multiple Server Farms   User Server farm 1 Server farm 2 Assignment of     user to server farm The assignment of the users to the server farms under different power consumption costs 19
  • 20. Summary • We have considered the power management issue in green computing • We have first proposed OPM, formulated as CMDP, for an individual server farm • Our OPM can dynamically reduce the power consumption of servers in a farm by switching them to sleep mode • The system with multiple server farms has been also considered in which the job broker has been optimized to assign the user to the server farm • Future work – Computing resource planning under uncertainty – Virtualization + Cloud ... 20
  • 21. Thank you Contact Us dniyato@ntu.edu.sg, siva0020@ntu.edu.sg, ebslee@ntu.edu.sg 21