SlideShare a Scribd company logo
University of St Andrews
                                        School of Computer Science




Energy Aware Clouds
  St Andrews Cloud Computing co-laboratory




             James W. Smith


        jws7@cs.st-andrews.ac.uk
University of St Andrews
                                               School of Computer Science


                   Justification
• Total Carbon Footprint of the IT industry was 2% of all human
  activity in 2007
  – 830 MtCO2e
  – Energy powering devices is 75% of this total
  – Need to build sci-fi power or improve efficiency


• Energy Aware Computing
  – reducing power on chips
  – cooling
  – build efficient systems
  – software?

                                                             2
University of St Andrews
                                                   School of Computer Science


              Cloud Computing
• Defined by characteristics:
  – On Demand Self-Service
  – Broad Network Access
  – Resource Pooling
  – Rapid Elasticity
  – Measured Service

• Datacentres
  – Concentrated Centres of Computation
  – Always on
  – Cost effective?

• Nearly every major corporation in IT has interest in Cloud
  Computing...
  – $150bn market by 2013?                                     3
University of St Andrews
                                             School of Computer Science




                Is this new?

John McCarthy (1961):
“computation may someday be organised as a public utility”




                                                        4
University of St Andrews
                                                              School of Computer Science



    Is this just Grid Computing?
                            Grids                         Clouds
On demand Self-Service
 Broad Network Access
      Resource Pooling
        Rapid Elasticity
     Measured Service

            Disclaimer: I didn’t come up with this, Ian Foster et al did...

                                                                              5
University of St Andrews
                                                   School of Computer Science


  One man & a credit card




Can now access one of the largest computing resources in the world

                                                              6
University of St Andrews
                                                      School of Computer Science


                      Datacentres
• Smart Construction
  – Location, Location, Location

• Monitoring
  – Tough Job (Yi)

• Power Usage Effectiveness
  – Total Facility Power / IT Equipment Power

• Cooling
  – Is the massive amount of cooling required a good thing or a bad thing?

                                                                 7
University of St Andrews
                                     School of Computer Science


                       Cooling
• Why do we need to cool?
 – Preserve lifetime of components


• Mechanical Engineering
 – Air or water?
 – Direct Heat Exchange



• Computer Science
 – Smart load balancing?

                                                8
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?


• Clouds
– Can we save even more energy? S.E.P.


                                                   9
University of St Andrews
                                              School of Computer Science


 Energy-Aware Computing
• Cost of purchase is now exceed by cost of operation
  – Enterprise is not good at estimating operational costs
  – And it varies with workload...?


• So how do we construct Energy Aware Systems?
  – Power Down
  – Consolidate Tasks
  – Scale Resources
  – Balance Work Smartly



                                                         10
University of St Andrews
                                                       School of Computer Science


        Power Management
• Migrate Components between Power States


• How much do we switch off?
 – Laptop analogy
    • Sending to sleep still costs energy
    • Shutting down would save more at the cost of additional time


• Performance & Response Times vs. Energy Savings




                                                                     11
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
  – performance adjusting applications?

                                                     12
University of St Andrews
                                              School of Computer Science


          Resource Scaling
• Use only the amount of resource required to
  complete a task
  – Give each task a deadline
  – Only give resources to allow completion within that
    deadline


• Speed Scaling
  – Adjust CPU speed
  – Save energy & cooling costs


• Fine for individual components, but how do we do
                                                          13
University of St Andrews
                                 School of Computer Science


Load Balancing




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




                                            14
University of St Andrews
                                      School of Computer Science


       Load Skewing




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


                                                  15
University of St Andrews
                                                          School of Computer Science


       Power Efficient Software
• Different devices consume different amounts of energy doing
  (roughly) the same task.
  – i.e. Making a call, playing a song
  – Why? Difference in hardware & Difference in software implementation
• Is it possible to produce energy efficient software?
  – Optimise for time, scalability, robustness, but energy?
• Principles:
  – 1) Work done corresponds to resources consumed
  – 2) Event based rather than polling
  – 3) Take care with memory
  – 4) Batch Additional resource requests

                                                                       16
University of St Andrews
                                                 School of Computer Science


                      Future Work
• Virtualisation
  – Measure performance derogation
  – Energy savings?
  – Is the power cloud more efficient?
• Modify Allocation algorithms
  – Taking into consideration Energy-Aware principles
• Power Efficient Software
  – Experiment to see if its possible
  – Draw up guidelines
                                                            17
University of St Andrews
             School of Computer Science




Questions?




                        18

More Related Content

Similar to Reading partymay2010

Green Cloud Computing
Green Cloud ComputingGreen Cloud Computing
Green Cloud Computing
University of St Andrews
 
[DSC Europe 23] Vladan Krsman - Wired For Intelligence - Unleashing AI and DA...
[DSC Europe 23] Vladan Krsman - Wired For Intelligence - Unleashing AI and DA...[DSC Europe 23] Vladan Krsman - Wired For Intelligence - Unleashing AI and DA...
[DSC Europe 23] Vladan Krsman - Wired For Intelligence - Unleashing AI and DA...
DataScienceConferenc1
 
EPRI Field Force Data Visualization V 3.0
EPRI Field Force Data Visualization   V 3.0EPRI Field Force Data Visualization   V 3.0
EPRI Field Force Data Visualization V 3.0
jsimmins
 
GreenDisc: A HW/SW energy optimization framework in globally distributed comp...
GreenDisc: A HW/SW energy optimization framework in globally distributed comp...GreenDisc: A HW/SW energy optimization framework in globally distributed comp...
GreenDisc: A HW/SW energy optimization framework in globally distributed comp...
GreenLSI Team, LSI, UPM
 
Metering Energy Consumption in Data Centres - Chris Rudge and Rob Elder
Metering Energy Consumption in Data Centres - Chris Rudge and Rob ElderMetering Energy Consumption in Data Centres - Chris Rudge and Rob Elder
Metering Energy Consumption in Data Centres - Chris Rudge and Rob ElderGoodCampus
 
Presentation from Sierra Club panel discussion on Microgrids in DC
Presentation from Sierra Club panel discussion on Microgrids in DCPresentation from Sierra Club panel discussion on Microgrids in DC
Presentation from Sierra Club panel discussion on Microgrids in DC
Hugh Youngblood
 
resume v 5.0
resume v 5.0resume v 5.0
resume v 5.0Ye Xu
 
High–Performance Computing
High–Performance ComputingHigh–Performance Computing
High–Performance Computing
BRAC University Computer Club
 
Koomeyondatacenterelectricityuse v9
Koomeyondatacenterelectricityuse v9Koomeyondatacenterelectricityuse v9
Koomeyondatacenterelectricityuse v9Jonathan Koomey
 
MRI Energy-Efficient Cloud Computing
MRI Energy-Efficient Cloud ComputingMRI Energy-Efficient Cloud Computing
MRI Energy-Efficient Cloud ComputingRoger Rafanell Mas
 
Grid is Dead ? Nimrod on the Cloud
Grid is Dead ? Nimrod on the CloudGrid is Dead ? Nimrod on the Cloud
Grid is Dead ? Nimrod on the Cloud
Adianto Wibisono
 
Implementing AI: Hardware Challenges
Implementing AI: Hardware ChallengesImplementing AI: Hardware Challenges
Implementing AI: Hardware Challenges
KTN
 
Green cloud computing
Green cloud computingGreen cloud computing
Green cloud computing
Mathews Job
 
Software complexity
Software complexitySoftware complexity
Software complexity
University of St Andrews
 
GREEN CLOUD COMPUTING-A Data Center Approach
GREEN CLOUD COMPUTING-A Data Center ApproachGREEN CLOUD COMPUTING-A Data Center Approach
GREEN CLOUD COMPUTING-A Data Center Approach
Dr Sukhpal Singh Gill
 
Power Comparison Power Comparison of Cloud Data of Cloud Data Center Architec...
Power Comparison Power Comparison of Cloud Data of Cloud Data Center Architec...Power Comparison Power Comparison of Cloud Data of Cloud Data Center Architec...
Power Comparison Power Comparison of Cloud Data of Cloud Data Center Architec...
Paolo Giaccone
 
EDF2013: Selected Talk, Simon Riggs: Practical PostgreSQL and AXLE Project
EDF2013: Selected Talk, Simon Riggs: Practical PostgreSQL and AXLE ProjectEDF2013: Selected Talk, Simon Riggs: Practical PostgreSQL and AXLE Project
EDF2013: Selected Talk, Simon Riggs: Practical PostgreSQL and AXLE Project
European Data Forum
 
Automatic Energy-based Scheduling
Automatic Energy-based SchedulingAutomatic Energy-based Scheduling
Automatic Energy-based Scheduling
Maria Stylianou
 

Similar to Reading partymay2010 (20)

Green Cloud Computing
Green Cloud ComputingGreen Cloud Computing
Green Cloud Computing
 
[DSC Europe 23] Vladan Krsman - Wired For Intelligence - Unleashing AI and DA...
[DSC Europe 23] Vladan Krsman - Wired For Intelligence - Unleashing AI and DA...[DSC Europe 23] Vladan Krsman - Wired For Intelligence - Unleashing AI and DA...
[DSC Europe 23] Vladan Krsman - Wired For Intelligence - Unleashing AI and DA...
 
EPRI Field Force Data Visualization V 3.0
EPRI Field Force Data Visualization   V 3.0EPRI Field Force Data Visualization   V 3.0
EPRI Field Force Data Visualization V 3.0
 
GreenDisc: A HW/SW energy optimization framework in globally distributed comp...
GreenDisc: A HW/SW energy optimization framework in globally distributed comp...GreenDisc: A HW/SW energy optimization framework in globally distributed comp...
GreenDisc: A HW/SW energy optimization framework in globally distributed comp...
 
Umit hw6
Umit hw6Umit hw6
Umit hw6
 
Metering Energy Consumption in Data Centres - Chris Rudge and Rob Elder
Metering Energy Consumption in Data Centres - Chris Rudge and Rob ElderMetering Energy Consumption in Data Centres - Chris Rudge and Rob Elder
Metering Energy Consumption in Data Centres - Chris Rudge and Rob Elder
 
Presentation from Sierra Club panel discussion on Microgrids in DC
Presentation from Sierra Club panel discussion on Microgrids in DCPresentation from Sierra Club panel discussion on Microgrids in DC
Presentation from Sierra Club panel discussion on Microgrids in DC
 
resume v 5.0
resume v 5.0resume v 5.0
resume v 5.0
 
Smart grid
Smart gridSmart grid
Smart grid
 
High–Performance Computing
High–Performance ComputingHigh–Performance Computing
High–Performance Computing
 
Koomeyondatacenterelectricityuse v9
Koomeyondatacenterelectricityuse v9Koomeyondatacenterelectricityuse v9
Koomeyondatacenterelectricityuse v9
 
MRI Energy-Efficient Cloud Computing
MRI Energy-Efficient Cloud ComputingMRI Energy-Efficient Cloud Computing
MRI Energy-Efficient Cloud Computing
 
Grid is Dead ? Nimrod on the Cloud
Grid is Dead ? Nimrod on the CloudGrid is Dead ? Nimrod on the Cloud
Grid is Dead ? Nimrod on the Cloud
 
Implementing AI: Hardware Challenges
Implementing AI: Hardware ChallengesImplementing AI: Hardware Challenges
Implementing AI: Hardware Challenges
 
Green cloud computing
Green cloud computingGreen cloud computing
Green cloud computing
 
Software complexity
Software complexitySoftware complexity
Software complexity
 
GREEN CLOUD COMPUTING-A Data Center Approach
GREEN CLOUD COMPUTING-A Data Center ApproachGREEN CLOUD COMPUTING-A Data Center Approach
GREEN CLOUD COMPUTING-A Data Center Approach
 
Power Comparison Power Comparison of Cloud Data of Cloud Data Center Architec...
Power Comparison Power Comparison of Cloud Data of Cloud Data Center Architec...Power Comparison Power Comparison of Cloud Data of Cloud Data Center Architec...
Power Comparison Power Comparison of Cloud Data of Cloud Data Center Architec...
 
EDF2013: Selected Talk, Simon Riggs: Practical PostgreSQL and AXLE Project
EDF2013: Selected Talk, Simon Riggs: Practical PostgreSQL and AXLE ProjectEDF2013: Selected Talk, Simon Riggs: Practical PostgreSQL and AXLE Project
EDF2013: Selected Talk, Simon Riggs: Practical PostgreSQL and AXLE Project
 
Automatic Energy-based Scheduling
Automatic Energy-based SchedulingAutomatic Energy-based Scheduling
Automatic Energy-based Scheduling
 

Recently uploaded

GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 

Recently uploaded (20)

GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 

Reading partymay2010

  • 1. University of St Andrews School of Computer Science Energy Aware Clouds St Andrews Cloud Computing co-laboratory James W. Smith jws7@cs.st-andrews.ac.uk
  • 2. University of St Andrews School of Computer Science Justification • Total Carbon Footprint of the IT industry was 2% of all human activity in 2007 – 830 MtCO2e – Energy powering devices is 75% of this total – Need to build sci-fi power or improve efficiency • Energy Aware Computing – reducing power on chips – cooling – build efficient systems – software? 2
  • 3. University of St Andrews School of Computer Science Cloud Computing • Defined by characteristics: – On Demand Self-Service – Broad Network Access – Resource Pooling – Rapid Elasticity – Measured Service • Datacentres – Concentrated Centres of Computation – Always on – Cost effective? • Nearly every major corporation in IT has interest in Cloud Computing... – $150bn market by 2013? 3
  • 4. University of St Andrews School of Computer Science Is this new? John McCarthy (1961): “computation may someday be organised as a public utility” 4
  • 5. University of St Andrews School of Computer Science Is this just Grid Computing? Grids Clouds On demand Self-Service Broad Network Access Resource Pooling Rapid Elasticity Measured Service Disclaimer: I didn’t come up with this, Ian Foster et al did... 5
  • 6. University of St Andrews School of Computer Science One man & a credit card Can now access one of the largest computing resources in the world 6
  • 7. University of St Andrews School of Computer Science Datacentres • Smart Construction – Location, Location, Location • Monitoring – Tough Job (Yi) • Power Usage Effectiveness – Total Facility Power / IT Equipment Power • Cooling – Is the massive amount of cooling required a good thing or a bad thing? 7
  • 8. University of St Andrews School of Computer Science Cooling • Why do we need to cool? – Preserve lifetime of components • Mechanical Engineering – Air or water? – Direct Heat Exchange • Computer Science – Smart load balancing? 8
  • 9. 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? • Clouds – Can we save even more energy? S.E.P. 9
  • 10. University of St Andrews School of Computer Science Energy-Aware Computing • Cost of purchase is now exceed by cost of operation – Enterprise is not good at estimating operational costs – And it varies with workload...? • So how do we construct Energy Aware Systems? – Power Down – Consolidate Tasks – Scale Resources – Balance Work Smartly 10
  • 11. University of St Andrews School of Computer Science Power Management • Migrate Components between Power States • How much do we switch off? – Laptop analogy • Sending to sleep still costs energy • Shutting down would save more at the cost of additional time • Performance & Response Times vs. Energy Savings 11
  • 12. 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 – performance adjusting applications? 12
  • 13. University of St Andrews School of Computer Science Resource Scaling • Use only the amount of resource required to complete a task – Give each task a deadline – Only give resources to allow completion within that deadline • Speed Scaling – Adjust CPU speed – Save energy & cooling costs • Fine for individual components, but how do we do 13
  • 14. University of St Andrews School of Computer Science Load Balancing • Traditional model – Distribute work evenly – Each node has equal workload 14
  • 15. University of St Andrews School of Computer Science Load Skewing • Energy efficient model – “Skew” load – Give work to nodes while they can handle it – Power down unused nodes 15
  • 16. University of St Andrews School of Computer Science Power Efficient Software • Different devices consume different amounts of energy doing (roughly) the same task. – i.e. Making a call, playing a song – Why? Difference in hardware & Difference in software implementation • Is it possible to produce energy efficient software? – Optimise for time, scalability, robustness, but energy? • Principles: – 1) Work done corresponds to resources consumed – 2) Event based rather than polling – 3) Take care with memory – 4) Batch Additional resource requests 16
  • 17. University of St Andrews School of Computer Science Future Work • Virtualisation – Measure performance derogation – Energy savings? – Is the power cloud more efficient? • Modify Allocation algorithms – Taking into consideration Energy-Aware principles • Power Efficient Software – Experiment to see if its possible – Draw up guidelines 17
  • 18. University of St Andrews School of Computer Science Questions? 18

Editor's Notes