SlideShare una empresa de Scribd logo
1 de 33
University of St Andrews
                                     School of Computer Science




Energy Aware Clouds
   or how I’m becoming a hippie, commie, tree
hugging, kool-aid drinking, buzzword spouting PhD
                    candidate...

                                   James W. Smith
                          jws7@cs.st-andrews.ac.uk

                                                      1
University of St Andrews
                                                            School of Computer Science



                      Introduction

                                                                     
in
2007
Total
Carbon
Footprint
of
the
IT
industry
was
2%
of
all
human
ac;vity
 •830
MtCO2e
•Depending
upon
who
you
believe
•Energy
powering
devices
is
50‐75%
of
this
total
•Need
to
build
sci‐fi
power
or
improve
efficiency





                                                                           2
University of St Andrews
                                                            School of Computer Science



                      Introduction

                                                                     
in
2007
Total
Carbon
Footprint
of
the
IT
industry
was
2%
of
all
human
ac;vity
 •830
MtCO2e
•Depending
upon
who
you
believe
•Energy
powering
devices
is
50‐75%
of
this
total
•Need
to
build
sci‐fi
power
or
improve
efficiency


However,
that’s
only
the

official
reason
for
saving

energy...
                                                                           3
University of St Andrews
                                             School of Computer Science



                              Costs
Operational costs exceeding purchase costs
 •Even over a relatively short lifespan
  •[3-5] years
 •Mainly driven by energy costs




                                                            4
University of St Andrews
School of Computer Science




               5
University of St Andrews
             School of Computer Science




SO WHO BENEFITS?




                            6
University of St Andrews
School of Computer Science




               7
University of St Andrews
School of Computer Science




               8
University of St Andrews
School of Computer Science




               9
University of St Andrews
                                 School of Computer Science



            Is this new?

“computation may someday be
organised as a public utility”

          John McCarthy (1961)




                                                10
University of St Andrews
                                        School of Computer Science



              Datacentres



•   The age of the datacentre is here


•   One man and a credit card can tap into some of
    the largest computing resources in the world
                                                       11
University of St Andrews
                                                           School of Computer Science



              Some figures
•   Datacentres in the USA consume 1.5% of all
    electricity in that country



•   Energy consumption in this area has
    doubled in the period 2000-2006



•   Only 50% of electricity consumed can be
    attributed to useful work done by servers,
    rest goes on cooling, infrastructure etc
                      United States Environmental Protection Agency (EPA) 2007 12
University of St Andrews
                                 School of Computer Science


Cheap power isn’t always green


• Allow me to be a hippie for a second...



                                                13
University of St Andrews
                                               School of Computer Science



Power Usage Effectiveness

•   PUE compares how much energy is used by computing
    and infrastructure equipment

              PUE = Total Facility Power / IT Equipment Power


•   Perfect efficiency would give PUE of 1.0

•   Most datacentres in the range 1.3 -> 3.0


                                                              14
University of St Andrews
                                               School of Computer Science



                  Green Cloud?
         Positive                       Negative

• Datacentres can become the   • Datacentres are now
 most efficient centres for     consuming 0.5% of all
 computation yet                electricity in the world.
• Providers will want to       • This will only continue to
 increase cost effectiveness    grow!
• and be green!

                                                              15
University of St Andrews
                                                             School of Computer Science



                 Private Cloud
• However, Enterprise does have concerns about
  Cloud systems which Private Clouds can help to
  address
  – Security
  – Privacy
  – Administrative Control

 Private Cloud Systems have been likened to
     “drinking on your own and calling it a private party”
                                                         - P. Laudenslager


                                                                             16
University of St Andrews
                               School of Computer Science



StACC Private Cloud
     • So when the StACC cloud works
       what does it offer?
       – a platform for experimentation

                    ....
               lover
        on tro
      C         architecture       longitivtiy



                 workloads         #of nodes
                                         17
University of St Andrews
                                            School of Computer Science



              Virtualization

• Virtualization makes clouds run
  – Run multiple VMs on each physical machine
  – Improves utilization, cost effectiveness


• Save Energy
  – Increase Utilization
  – Migrate work?
  – Power down unused machines
                                                           18
University of St Andrews
                                               School of Computer Science



           Virtualization (2)
• Performance overhead
  – intermediate layer
  – increased complexity


• Different tasks have different performance costs
  – for example, using the same physical disk for two or
    more VMs...
  – and different power consumptions...

                                                              19
University of St Andrews
                                             School of Computer Science



           Virtualization (3)

• VMs increase utilization, power consumption & heat
  on a physical machine


• So we need to be careful how much virtualization
  we do, where we do it and how we prepare for it


• Is it possible to virtualize in an efficient manner?

                                                            20
University of St Andrews
                                                         School of Computer Science




                          Monitoring


•   Reports have estimated that only 13.4% of organisations monitor their
    energy consumption!

•   Each component in a system must expose their consumption
    information

•   If such functionality doesn’t exist then 3rd party tool needed

•   A controller can use this information to manage the system

                                                                        21
University of St Andrews
                                                    School of Computer Science


Feedback
                                    Places
              Cloud
                                                   VMs
             Controller
                                                              On
            Resource
            Utilisation
           Information
                            Monitor data

             Power
           Distribution
               Unit                        Server Nodes
                    Modified Private Cloud infrastructure           22
University of St Andrews
                                          School of Computer Science



        Task Consolidation
• Keep machines well utilised


• Bin packing problem
  – Tasks are objects
  – Servers are bins
  – Resources are dimensions


• Relies upon being able to accurately predict tasks
  resource requirements
                                                         23
University of St Andrews
                                 School of Computer Science


Load Balancing




• Traditional model
– Distribute work evenly
– Each node has equal workload




                                          24
University of St Andrews
                                      School of Computer Science



    Load Skewing




• Possible efficient model
  – “Skew” load
  – Give work to nodes while they can handle it
  – Power down unused nodes

                                               25
University of St Andrews
                                       School of Computer Science



Taking it further...
CPU         CPU DISK
VM          VM VM
     Server                  Server
Allocated with respect to maximising server
utilisation




                                                26
University of St Andrews
                                         School of Computer Science



Taking it further...
CPU         CPU DISK
VM          VM VM
     Server                  Server
Allocated with respect to maximising server
utilisation


                              is this really the best solution?



                                                    27
VM Profiles
• Use the monitoring information to create “Profiles” for
  each VM
                                          VM’s do one task!!!1
• Is this VM
  – CPU/Disk/Memory/Network intensive?


• Software model profiles VM according to resource
  consumption and energy usage


• Now assign by Cloud Controller according to profile....

                                                     28
University of St Andrews
                                                           School of Computer Science



       Taking it even further...
                   CPU           DISK           CPU
                   VM            VM VM
                         Server                   Server
                    Allocated according to VM Profile

Benefits:
- Simple system
- No teleportation of VMs
- utilization increase in multiple dimensions

                                                                    29
University of St Andrews
                School of Computer Science




and in the end...




                               30
University of St Andrews
                          School of Computer Science




        and in the end...

we save a wee bit of energy...




                                         31
University of St Andrews
                          School of Computer Science




        and in the end...

we save a wee bit of energy...

     and live happily ever after.


                                         32
University of St Andrews
                                        School of Computer Science




                Questions?


Credits
Diagrams & slides by me (jws7@cs.st-andrews.ac.uk)
Photos from Google Image search
and one slide nicked from Ali Khajeh-Hosseini

                                                       33

Más contenido relacionado

La actualidad más candente

Green cloud computing
Green cloud computingGreen cloud computing
Green cloud computingShreyas Khare
 
Vm consolidation for energy efficient cloud computing
Vm consolidation for energy efficient cloud computingVm consolidation for energy efficient cloud computing
Vm consolidation for energy efficient cloud computingHemanandhini Ganesan
 
Scalability and Reliability in the Cloud
Scalability and Reliability in the CloudScalability and Reliability in the Cloud
Scalability and Reliability in the Cloudgmthomps
 
Applications in Machine Learning
Applications in Machine LearningApplications in Machine Learning
Applications in Machine LearningJoel Graff
 
Swarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimizationSwarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimizationMuhammad Haroon
 
Overview of computing paradigm
Overview of computing paradigmOverview of computing paradigm
Overview of computing paradigmRipal Ranpara
 
Deep neural networks
Deep neural networksDeep neural networks
Deep neural networksSi Haem
 
Process Synchronization - Part1
Process Synchronization -  Part1Process Synchronization -  Part1
Process Synchronization - Part1Amir Payberah
 
Automated Machine Learning
Automated Machine LearningAutomated Machine Learning
Automated Machine LearningYuriy Guts
 
Machine learning ppt.
Machine learning ppt.Machine learning ppt.
Machine learning ppt.ASHOK KUMAR
 
Collaborating In The Cloud - updated
Collaborating In The Cloud - updatedCollaborating In The Cloud - updated
Collaborating In The Cloud - updatedRobin Hastings
 
Application of MapReduce in Cloud Computing
Application of MapReduce in Cloud ComputingApplication of MapReduce in Cloud Computing
Application of MapReduce in Cloud ComputingMohammad Mustaqeem
 
Cloud Computing: The Green Grid
Cloud Computing: The Green GridCloud Computing: The Green Grid
Cloud Computing: The Green GridTarry Singh
 
Clustering for Stream and Parallelism (DATA ANALYTICS)
Clustering for Stream and Parallelism (DATA ANALYTICS)Clustering for Stream and Parallelism (DATA ANALYTICS)
Clustering for Stream and Parallelism (DATA ANALYTICS)DheerajPachauri
 

La actualidad más candente (20)

Green cloud computing
Green cloud computingGreen cloud computing
Green cloud computing
 
Vm consolidation for energy efficient cloud computing
Vm consolidation for energy efficient cloud computingVm consolidation for energy efficient cloud computing
Vm consolidation for energy efficient cloud computing
 
Machine learning workshop
Machine learning workshopMachine learning workshop
Machine learning workshop
 
Scalability and Reliability in the Cloud
Scalability and Reliability in the CloudScalability and Reliability in the Cloud
Scalability and Reliability in the Cloud
 
Edge computing
Edge computingEdge computing
Edge computing
 
Applications in Machine Learning
Applications in Machine LearningApplications in Machine Learning
Applications in Machine Learning
 
Swarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimizationSwarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimization
 
Distributed Computing
Distributed ComputingDistributed Computing
Distributed Computing
 
Overview of computing paradigm
Overview of computing paradigmOverview of computing paradigm
Overview of computing paradigm
 
Deep neural networks
Deep neural networksDeep neural networks
Deep neural networks
 
Process Synchronization - Part1
Process Synchronization -  Part1Process Synchronization -  Part1
Process Synchronization - Part1
 
Automated Machine Learning
Automated Machine LearningAutomated Machine Learning
Automated Machine Learning
 
Cloud sim
Cloud simCloud sim
Cloud sim
 
Machine learning ppt.
Machine learning ppt.Machine learning ppt.
Machine learning ppt.
 
On demand provisioning
On demand provisioningOn demand provisioning
On demand provisioning
 
Collaborating In The Cloud - updated
Collaborating In The Cloud - updatedCollaborating In The Cloud - updated
Collaborating In The Cloud - updated
 
Application of MapReduce in Cloud Computing
Application of MapReduce in Cloud ComputingApplication of MapReduce in Cloud Computing
Application of MapReduce in Cloud Computing
 
Cloud Computing: The Green Grid
Cloud Computing: The Green GridCloud Computing: The Green Grid
Cloud Computing: The Green Grid
 
Clustering for Stream and Parallelism (DATA ANALYTICS)
Clustering for Stream and Parallelism (DATA ANALYTICS)Clustering for Stream and Parallelism (DATA ANALYTICS)
Clustering for Stream and Parallelism (DATA ANALYTICS)
 
Distributed Database
Distributed DatabaseDistributed Database
Distributed Database
 

Similar a Energy Aware Clouds

Similar a Energy Aware Clouds (20)

CloudMonitor: Energy Aware Clouds
CloudMonitor: Energy Aware CloudsCloudMonitor: Energy Aware Clouds
CloudMonitor: Energy Aware Clouds
 
Reading partymay2010
Reading partymay2010Reading partymay2010
Reading partymay2010
 
CloudMonitor: Profiling Power Usage
CloudMonitor: Profiling Power UsageCloudMonitor: Profiling Power Usage
CloudMonitor: Profiling Power Usage
 
Cloud pres3
Cloud pres3Cloud pres3
Cloud pres3
 
Software complexity
Software complexitySoftware complexity
Software complexity
 
Universities as “Smart Cities” in a Globally Connected World - How Will They ...
Universities as “Smart Cities” in a Globally Connected World - How Will They ...Universities as “Smart Cities” in a Globally Connected World - How Will They ...
Universities as “Smart Cities” in a Globally Connected World - How Will They ...
 
Towards Autonomic e-Science Ecosystems
Towards Autonomic e-Science EcosystemsTowards Autonomic e-Science Ecosystems
Towards Autonomic e-Science Ecosystems
 
Cloud Computing Workshop July23rd2010 1
Cloud Computing Workshop July23rd2010 1Cloud Computing Workshop July23rd2010 1
Cloud Computing Workshop July23rd2010 1
 
Pervasive Computing
Pervasive ComputingPervasive Computing
Pervasive Computing
 
Koomeyondatacenterelectricityuse v24
Koomeyondatacenterelectricityuse v24Koomeyondatacenterelectricityuse v24
Koomeyondatacenterelectricityuse v24
 
GreenLight: GLIF 2009
GreenLight:  GLIF 2009GreenLight:  GLIF 2009
GreenLight: GLIF 2009
 
Green Cloud Computing
Green Cloud ComputingGreen Cloud Computing
Green Cloud Computing
 
High–Performance Computing
High–Performance ComputingHigh–Performance Computing
High–Performance Computing
 
Can the Cloud Be Green?
Can the Cloud Be Green?Can the Cloud Be Green?
Can the Cloud Be Green?
 
Esn 0309 Cloud Computing Rpt
Esn 0309 Cloud Computing RptEsn 0309 Cloud Computing Rpt
Esn 0309 Cloud Computing Rpt
 
Session1
Session1Session1
Session1
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Cloud computing lecture
Cloud computing lecture Cloud computing lecture
Cloud computing lecture
 
Greening ict programme meeting slides
Greening ict programme meeting slidesGreening ict programme meeting slides
Greening ict programme meeting slides
 
Cloud computing
Cloud computing Cloud computing
Cloud computing
 

Último

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 

Último (20)

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

Energy Aware Clouds

  • 1. University of St Andrews School of Computer Science Energy Aware Clouds or how I’m becoming a hippie, commie, tree hugging, kool-aid drinking, buzzword spouting PhD candidate... James W. Smith jws7@cs.st-andrews.ac.uk 1
  • 2. University of St Andrews School of Computer Science Introduction 
in
2007 Total
Carbon
Footprint
of
the
IT
industry
was
2%
of
all
human
ac;vity •830
MtCO2e •Depending
upon
who
you
believe •Energy
powering
devices
is
50‐75%
of
this
total •Need
to
build
sci‐fi
power
or
improve
efficiency
 2
  • 3. University of St Andrews School of Computer Science Introduction 
in
2007 Total
Carbon
Footprint
of
the
IT
industry
was
2%
of
all
human
ac;vity •830
MtCO2e •Depending
upon
who
you
believe •Energy
powering
devices
is
50‐75%
of
this
total •Need
to
build
sci‐fi
power
or
improve
efficiency
 However,
that’s
only
the
 official
reason
for
saving
 energy... 3
  • 4. University of St Andrews School of Computer Science Costs Operational costs exceeding purchase costs •Even over a relatively short lifespan •[3-5] years •Mainly driven by energy costs 4
  • 5. University of St Andrews School of Computer Science 5
  • 6. University of St Andrews School of Computer Science SO WHO BENEFITS? 6
  • 7. University of St Andrews School of Computer Science 7
  • 8. University of St Andrews School of Computer Science 8
  • 9. University of St Andrews School of Computer Science 9
  • 10. University of St Andrews School of Computer Science Is this new? “computation may someday be organised as a public utility” John McCarthy (1961) 10
  • 11. University of St Andrews School of Computer Science Datacentres • The age of the datacentre is here • One man and a credit card can tap into some of the largest computing resources in the world 11
  • 12. University of St Andrews School of Computer Science Some figures • Datacentres in the USA consume 1.5% of all electricity in that country • Energy consumption in this area has doubled in the period 2000-2006 • Only 50% of electricity consumed can be attributed to useful work done by servers, rest goes on cooling, infrastructure etc United States Environmental Protection Agency (EPA) 2007 12
  • 13. University of St Andrews School of Computer Science Cheap power isn’t always green • Allow me to be a hippie for a second... 13
  • 14. University of St Andrews School of Computer Science Power Usage Effectiveness • PUE compares how much energy is used by computing and infrastructure equipment PUE = Total Facility Power / IT Equipment Power • Perfect efficiency would give PUE of 1.0 • Most datacentres in the range 1.3 -> 3.0 14
  • 15. University of St Andrews School of Computer Science Green Cloud? Positive Negative • Datacentres can become the • Datacentres are now most efficient centres for consuming 0.5% of all computation yet electricity in the world. • Providers will want to • This will only continue to increase cost effectiveness grow! • and be green! 15
  • 16. University of St Andrews School of Computer Science Private Cloud • However, Enterprise does have concerns about Cloud systems which Private Clouds can help to address – Security – Privacy – Administrative Control Private Cloud Systems have been likened to “drinking on your own and calling it a private party” - P. Laudenslager 16
  • 17. University of St Andrews School of Computer Science StACC Private Cloud • So when the StACC cloud works what does it offer? – a platform for experimentation .... lover on tro C architecture longitivtiy workloads #of nodes 17
  • 18. University of St Andrews School of Computer Science Virtualization • Virtualization makes clouds run – Run multiple VMs on each physical machine – Improves utilization, cost effectiveness • Save Energy – Increase Utilization – Migrate work? – Power down unused machines 18
  • 19. University of St Andrews School of Computer Science Virtualization (2) • Performance overhead – intermediate layer – increased complexity • Different tasks have different performance costs – for example, using the same physical disk for two or more VMs... – and different power consumptions... 19
  • 20. University of St Andrews School of Computer Science Virtualization (3) • VMs increase utilization, power consumption & heat on a physical machine • So we need to be careful how much virtualization we do, where we do it and how we prepare for it • Is it possible to virtualize in an efficient manner? 20
  • 21. University of St Andrews School of Computer Science Monitoring • Reports have estimated that only 13.4% of organisations monitor their energy consumption! • Each component in a system must expose their consumption information • If such functionality doesn’t exist then 3rd party tool needed • A controller can use this information to manage the system 21
  • 22. University of St Andrews School of Computer Science Feedback Places Cloud VMs Controller On Resource Utilisation Information Monitor data Power Distribution Unit Server Nodes Modified Private Cloud infrastructure 22
  • 23. University of St Andrews School of Computer Science Task Consolidation • Keep machines well utilised • Bin packing problem – Tasks are objects – Servers are bins – Resources are dimensions • Relies upon being able to accurately predict tasks resource requirements 23
  • 24. University of St Andrews School of Computer Science Load Balancing • Traditional model – Distribute work evenly – Each node has equal workload 24
  • 25. University of St Andrews School of Computer Science Load Skewing • Possible efficient model – “Skew” load – Give work to nodes while they can handle it – Power down unused nodes 25
  • 26. University of St Andrews School of Computer Science Taking it further... CPU CPU DISK VM VM VM Server Server Allocated with respect to maximising server utilisation 26
  • 27. University of St Andrews School of Computer Science Taking it further... CPU CPU DISK VM VM VM Server Server Allocated with respect to maximising server utilisation is this really the best solution? 27
  • 28. VM Profiles • Use the monitoring information to create “Profiles” for each VM VM’s do one task!!!1 • Is this VM – CPU/Disk/Memory/Network intensive? • Software model profiles VM according to resource consumption and energy usage • Now assign by Cloud Controller according to profile.... 28
  • 29. University of St Andrews School of Computer Science Taking it even further... CPU DISK CPU VM VM VM Server Server Allocated according to VM Profile Benefits: - Simple system - No teleportation of VMs - utilization increase in multiple dimensions 29
  • 30. University of St Andrews School of Computer Science and in the end... 30
  • 31. University of St Andrews School of Computer Science and in the end... we save a wee bit of energy... 31
  • 32. University of St Andrews School of Computer Science and in the end... we save a wee bit of energy... and live happily ever after. 32
  • 33. University of St Andrews School of Computer Science Questions? Credits Diagrams & slides by me (jws7@cs.st-andrews.ac.uk) Photos from Google Image search and one slide nicked from Ali Khajeh-Hosseini 33

Notas del editor

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n