SlideShare a Scribd company logo
1 of 38
Download to read offline
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

More Related Content

Similar to CloudMonitor: Profiling Power Usage

Similar to 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
 

Recently uploaded

How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 

Recently uploaded (20)

How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 

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