SlideShare ist ein Scribd-Unternehmen logo
1 von 38
Downloaden Sie, um offline zu lesen
University of St Andrews
                                       School of Computer Science


Profiling Power
        at Cloud scale

James Smith
Ali Khajeh-Hosseini
Jonathan Ward                            @jws7
Ian Sommerville
                      or can we charge for Energy?
                                                        1
University of St Andrews
                                       School of Computer Science


Profiling Power
        at Cloud scale
C loudMon itor
James Smith
Ali Khajeh-Hosseini
Jonathan Ward                            @jws7
Ian Sommerville
                      or can we charge for Energy?
                                                        2
University of St Andrews
                                         School of Computer Science




Operational costs exceeding purchase costs




                                                        3
University of St Andrews
                                         School of Computer Science




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




Operational costs exceeding purchase costs

   Even over a relatively short
   lifespan (3-5 years). Mainly driven
   by energy costs




We need realistic Energy estimations                    5
University of St Andrews
                                          School of Computer Science




Operational costs exceeding purchase costs

   Even over a relatively short
   lifespan (3-5 years). Mainly driven
   by energy costs




We need realistic Energy estimations                     6
                not just included in “infrastructure”
University of St Andrews
                                                      School of Computer Science




           Monitoring
If you cannot measure something
    “then you cannot improve it...”   - Lord Kelvin




                                                                     7
University of St Andrews
                                                      School of Computer Science




           Monitoring
If you cannot measure something
    “then you cannot improve it...”   - Lord Kelvin




                                      13.4% of organisations monitor
                                      their energy consumption!


                                                                     8
University of St Andrews
              School of Computer Science



Datacentres




                             9
University of St Andrews
              School of Computer Science



Datacentres




                             10
University of St Andrews
              School of Computer Science



Datacentres




                             11
University of St Andrews
                                School of Computer Science



       Datacentres



Monitoring at Scale is hard
          especially when you
          need additional
          hardware!

                                               12
University of St Andrews
               School of Computer Science


CloudMonitor




                              13
University of St Andrews
                  School of Computer Science


CloudMonitor
          Use SIGAR
       library to gather
        resource usage




                                 14
University of St Andrews
                  School of Computer Science


CloudMonitor
          Use SIGAR
       library to gather
        resource usage

       Correlate with
       Power Meter
         readings

                                 15
University of St Andrews
                            School of Computer Science


       CloudMonitor
                    Use SIGAR
                 library to gather
                  resource usage

                 Correlate with
                 Power Meter
                   readings

Generate Power                             16
    Model
University of St Andrews
           School of Computer Science




So what?




                          17
University of St Andrews
                School of Computer Science




    So what?
Generate power model
on one machine. Roll
out to 1,000


                               18
University of St Andrews
                       School of Computer Science




    So what?
Generate power model
on one machine. Roll
out to 1,000
  of the same configuration
                                      19
University of St Andrews
                                                                                                                                 School of Computer Science



                               Previous work

• by Bohra, Ata & Chaundary - VMeter
 • linear power model is workload-specific
 • our work is workload-independent
 • calculate once - valid for all machines of
              the same configuration

 *Husain Bohra, Ata E, and Vipin Chaudhary. “VMeter: power modelling for virtualized clouds.” 2010 IEEE International Symposium on Parallel &
 Distributed Processing, Workshops and Phd Forum (IPDPSW) (April 2010): 1-8.                                                                    20
University of St Andrews
School of Computer Science




               21
University of St Andrews
School of Computer Science




               22
University of St Andrews
      School of Computer Science




Not perfect




                     23
University of St Andrews
           School of Computer Science




  Not perfect


but pretty close...


                          24
University of St Andrews
                  School of Computer Science




    The lesson?
Experiments show 96%
accuracy of Software
Predictions against
PDU Measurements

                                 25
University of St Andrews
                    School of Computer Science



An Energy Tariff for Cloud




                                   26
University of St Andrews
                    School of Computer Science



An Energy Tariff for Cloud

Energy rates are
rising at 15% pa



                                   27
University of St Andrews
                    School of Computer Science



An Energy Tariff for Cloud

Energy rates are
rising at 15% pa
36 month cost
of test system:
                                   28
University of St Andrews
                    School of Computer Science



An Energy Tariff for Cloud

Energy rates are
rising at 15% pa
36 month cost      $2,767
of test system:
                                   29
University of St Andrews
             School of Computer Science



Shop for Cloud




                            30
University of St Andrews
                               School of Computer Science


Amazon AWS EU Cloud

   Category          Cost
   Data Transfer    $58,084
    VM hours        $40,568
     Storage        $2,325
   Storage I/O      $2,293
      Total        $103, 270

                                              31
University of St Andrews
                                School of Computer Science

Hypothetical Cloud that
  charges for Energy
    Category          Cost
    Data Transfer    $58,084
     VM hours        $40,568
      Energy         $2,767
      Storage        $2,325
    Storage I/O      $2,293
       Total        $106, 037
                                               32
University of St Andrews
                  School of Computer Science




    The lesson?
Energy would account
for 2.6% of the total
costs


                                 33
University of St Andrews
                  School of Computer Science




    The lesson?
Energy would account
for 2.6% of the total
costs
 and is likely to
 rise in the future
                                 34
University of St Andrews
                               School of Computer Science



               Summary

                             Power
                             Models
               Distributed
CloudMonitor   Monitoring
                Platform
                             Resource
                              Usage
                                              35
University of St Andrews
School of Computer Science




               36
University of St Andrews
                     School of Computer Science




Everybody benefits!                  37
University of St Andrews
                           School of Computer Science




Thanks for listening
         @jws7
   jws7.net/cloudmonitor




                                          38

Weitere ähnliche Inhalte

Ähnlich wie CloudMonitor: Profiling Power Usage

Ähnlich wie CloudMonitor: Profiling Power Usage (6)

CloudMonitor: Energy Aware Clouds
CloudMonitor: Energy Aware CloudsCloudMonitor: Energy Aware Clouds
CloudMonitor: Energy Aware Clouds
 
Energy Aware Clouds
Energy Aware CloudsEnergy Aware Clouds
Energy Aware Clouds
 
Reading partymay2010
Reading partymay2010Reading partymay2010
Reading partymay2010
 
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 ...
 
Cloud pres3
Cloud pres3Cloud pres3
Cloud pres3
 

Kürzlich hochgeladen

COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answersdalebeck957
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 

Kürzlich hochgeladen (20)

COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 

CloudMonitor: Profiling Power Usage

  • 1. University of St Andrews School of Computer Science Profiling Power at Cloud scale James Smith Ali Khajeh-Hosseini Jonathan Ward @jws7 Ian Sommerville or can we charge for Energy? 1
  • 2. University of St Andrews School of Computer Science Profiling Power at Cloud scale C loudMon itor James Smith Ali Khajeh-Hosseini Jonathan Ward @jws7 Ian Sommerville or can we charge for Energy? 2
  • 3. University of St Andrews School of Computer Science Operational costs exceeding purchase costs 3
  • 4. University of St Andrews School of Computer Science 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 Operational costs exceeding purchase costs Even over a relatively short lifespan (3-5 years). Mainly driven by energy costs We need realistic Energy estimations 5
  • 6. University of St Andrews School of Computer Science Operational costs exceeding purchase costs Even over a relatively short lifespan (3-5 years). Mainly driven by energy costs We need realistic Energy estimations 6 not just included in “infrastructure”
  • 7. University of St Andrews School of Computer Science Monitoring If you cannot measure something “then you cannot improve it...” - Lord Kelvin 7
  • 8. University of St Andrews School of Computer Science Monitoring If you cannot measure something “then you cannot improve it...” - Lord Kelvin 13.4% of organisations monitor their energy consumption! 8
  • 9. University of St Andrews School of Computer Science Datacentres 9
  • 10. University of St Andrews School of Computer Science Datacentres 10
  • 11. University of St Andrews School of Computer Science Datacentres 11
  • 12. University of St Andrews School of Computer Science Datacentres Monitoring at Scale is hard especially when you need additional hardware! 12
  • 13. University of St Andrews School of Computer Science CloudMonitor 13
  • 14. University of St Andrews School of Computer Science CloudMonitor Use SIGAR library to gather resource usage 14
  • 15. University of St Andrews School of Computer Science CloudMonitor Use SIGAR library to gather resource usage Correlate with Power Meter readings 15
  • 16. University of St Andrews School of Computer Science CloudMonitor Use SIGAR library to gather resource usage Correlate with Power Meter readings Generate Power 16 Model
  • 17. University of St Andrews School of Computer Science So what? 17
  • 18. University of St Andrews School of Computer Science So what? Generate power model on one machine. Roll out to 1,000 18
  • 19. University of St Andrews School of Computer Science So what? Generate power model on one machine. Roll out to 1,000 of the same configuration 19
  • 20. University of St Andrews School of Computer Science Previous work • by Bohra, Ata & Chaundary - VMeter • linear power model is workload-specific • our work is workload-independent • calculate once - valid for all machines of the same configuration *Husain Bohra, Ata E, and Vipin Chaudhary. “VMeter: power modelling for virtualized clouds.” 2010 IEEE International Symposium on Parallel & Distributed Processing, Workshops and Phd Forum (IPDPSW) (April 2010): 1-8. 20
  • 21. University of St Andrews School of Computer Science 21
  • 22. University of St Andrews School of Computer Science 22
  • 23. University of St Andrews School of Computer Science Not perfect 23
  • 24. University of St Andrews School of Computer Science Not perfect but pretty close... 24
  • 25. University of St Andrews School of Computer Science The lesson? Experiments show 96% accuracy of Software Predictions against PDU Measurements 25
  • 26. University of St Andrews School of Computer Science An Energy Tariff for Cloud 26
  • 27. University of St Andrews School of Computer Science An Energy Tariff for Cloud Energy rates are rising at 15% pa 27
  • 28. University of St Andrews School of Computer Science An Energy Tariff for Cloud Energy rates are rising at 15% pa 36 month cost of test system: 28
  • 29. University of St Andrews School of Computer Science An Energy Tariff for Cloud Energy rates are rising at 15% pa 36 month cost $2,767 of test system: 29
  • 30. University of St Andrews School of Computer Science Shop for Cloud 30
  • 31. University of St Andrews School of Computer Science Amazon AWS EU Cloud Category Cost Data Transfer $58,084 VM hours $40,568 Storage $2,325 Storage I/O $2,293 Total $103, 270 31
  • 32. University of St Andrews School of Computer Science Hypothetical Cloud that charges for Energy Category Cost Data Transfer $58,084 VM hours $40,568 Energy $2,767 Storage $2,325 Storage I/O $2,293 Total $106, 037 32
  • 33. University of St Andrews School of Computer Science The lesson? Energy would account for 2.6% of the total costs 33
  • 34. University of St Andrews School of Computer Science The lesson? Energy would account for 2.6% of the total costs and is likely to rise in the future 34
  • 35. University of St Andrews School of Computer Science Summary Power Models Distributed CloudMonitor Monitoring Platform Resource Usage 35
  • 36. University of St Andrews School of Computer Science 36
  • 37. University of St Andrews School of Computer Science Everybody benefits! 37
  • 38. University of St Andrews School of Computer Science Thanks for listening @jws7 jws7.net/cloudmonitor 38