SlideShare a Scribd company logo
The Green Lab
Experimentation in Software Energy Efficiency
ICSE 2015 Technical Briefing
19th May, 2015
Giuseppe Procaccianti, Patricia Lago, VU University Amsterdam, ND
Antonio Vetrò, Daniel Méndez Fernández, TU München, GER
Roel Wieringa, University of Twente, ND
Discover the challenges
Software and Energy
Software is energy-inefficient
Hardware
Energy-
unaware
software
Hardware optimizations are
negated by software
inefficiencies [cf. Wirth’
Law]
….
© Patricia Lago 2014
“Software: it's a gas”
-Nathan Myrvhold, Microsoft Research
Source: http://en.wikipedia.org/wiki/Koomey's_law
The Green Lab - Experimentation in Software Energy Efficiency (ICSE)
Source: A major IT manufacturing company
[Research survey on
Industrial Energy
Management. M. Littlefield,
LNS Research, 2013]
[The energy efficiency
potential of cloud-based
software: A US case study.
Tech. rep., Berkeley,
California, 2013]
Motivation
State-of-the-Art: Software Energy Impact
Knowledge for developers
[Procaccianti et al., Empirical Evaluation of Best Practices for Energy-Efficient Software
Development, Springer Empirical Software Engineering, under preparation, 2015]
[Gude & Lago, Best Practices for Energy-Efficient Software, wiki.cs.vu.nl/green_software]
© Patricia Lago 2014
Knowledge for designers and architects /1
[Procaccianti et al., A Systematic Literature Review on Energy Efficiency in Cloud Software Architectures, Sustainable Computing:
Informatics and Systems, Elsevier, 2014]
© Patricia Lago 2014
Cloud FederationSelf Adaptation Energy Monitoring
Knowledge for designers and architects /2
[Procaccianti et al., A Systematic Literature Review on Energy
Efficiency in Cloud Software Architectures, Sustainable Computing:
Informatics and Systems, Elsevier, 2014]
[Procaccianti et al., Green Architectural Tactics for the Cloud,
IEEE/IFIP WICSA, 2014]
[Lewis & Lago, A Catalog of Architectural Tactics for Cyber-
Foraging, ACM SIGSOFT QoSA, 2015]
© Patricia Lago 2014
Open Knowledge
[Gu and Lago, Estimating the economic value of reusable green ICT
practices, ICSR, Springer, 2013]
ICT and Sustainability
http://greenpractice.few.vu.nl
http://thegreenpractitioner.amsterdamdatascience.nl
© Patricia Lago 2014
Software Energy Efficiency is odd
Software Energy Efficiency is odd
• Examples:
– Diminishing returns of adding more resources
Source: Harizopoulos, S., Shah, M. A., Meza, J. & Ranganathan, P. Energy Efficiency: The New Holy Grail of Data
Management Systems Research. CoRR abs/0909.1784, (2009).
Software Energy Efficiency is odd
• Examples:
– Algorithm design
Source: Harizopoulos, S., Shah, M. A., Meza, J. & Ranganathan, P. Energy Efficiency: The New Holy Grail of Data
Management Systems Research. CoRR abs/0909.1784, (2009).
Software Energy Efficiency is odd
• Examples:
– Third-party Software updates
Source: Cameron, K. W. Energy Oddities, Part 2: Why Green Computing Is Odd. Computer 46, 90–93 (2013)
Hotspot
Elements or properties, at any level of
abstraction of the system architecture,
that have a measurable and significant
impact on energy consumption.
Case study
The VMware benchmark (VMmark)
Example – Energy Hotspot / measurements
• VM energy estimation is quite reliable
• Systematic error of about ~10 Watts
Estimation Measure
100120140
Watt
Example – Energy Hotspot visualization / measurements
• If we plot the measure -10 watts you can see it approximates well
100120140160
Timestamp
Watt
15:40:00 15:46:00 15:52:00 15:58:00 16:04:00 16:10:00
Estimation
Measure
Example – Energy Hotspot visualization
• VMs over time: what happened in Phase 2?
010203040
Timestamp
Watt
15:56:00 15:57:00 15:58:00 15:59:00 16:00:00 16:01:00 16:02:00
DB
WS1
WS2
WS3
Phase 1: Hotspots Identification
• Measure energy usage in the field
• Identify patterns in the data
• Explain these by underlying mechanisms
Phase 2: Hotspots validation
• Try to reproduce these patterns by simulating these mechanisms in the lab.
• Investigate in the lab how different mechanisms may interact
• Search for evidence of those patterns in the field
• Integrate this into theories about energy usage
• From this knowledge, identify recommendations for reducing energy usage
Research Strategy
Generalization and
explanation
Application and
testing in the lab
and in the field
The Approach
Experience the complexity
Tool: Spotfire Tibco (http://spotfire.tibco.com/)
Hands-on session
Data: http://www.s2group.cs.vu.nl/green-lab/
(Click on ICSE Technical Briefing – online package)
Research Implications
Looking back (briefly): Principles of scientific working
Measurements
Patterns
Theories
Identify patterns
Generalisation and
explanation
Hypothetical mechanisms
Explain the patterns
Integrate into theories
Application and
testing in the lab and
in the field
Study Population
(entities from the theoretical
population)
Theoretical Population
(all entities that we want to
generalise about)
Empirical SE is conducted in a cyclic manner
Engineering
Cycle
Treatment
implementation
Implementation evaluation /
Problem investigation
Treatment designDesign validation
Scaling up by iterating through the engineering cycle
Engineering
Cycle
Engineering
Cycle
. . . . . .
Idealised
assumptions
Realistic
assumptions
• Evidence is gathered in a cyclic (step by step) manner
• With each iteration, we
– Narrow down our observations
– Increase the precision of our instruments and, thus, measurements
– Increase the validity of our conclusions
Levels of evidence
+
For
-
Against
Strong
evidence
Evidence
Circumstantial
evidence
Third-party claim
First or second part
claim
Strong
evidence
Circumstantial
evidence
Third-party claim
Evidence
First or second part
claim
Further reading: Wohlin. An Evidence Profile for Software Engineering Research and Practice
What does this mean for Experimentation
in Software Energy Efficiency?
1
1
2
What does this mean for Experimentation
in Software Energy Efficiency?
Objectives in experimental settings*
• Hypothesis-driven exploration
• Statistical significance
• Control
• Blocked subject assignment
• Balanced subject groups
• Contextualisation
• Cause-effect analyses
• Randomised assignments
• Replicability
• Competing alternatives
* Don’t blame us, Claes Wohlin said so… ;-)
Implications on Principles in Experimental SE
 Relax rigor in favour of pragmatism in initial stages
• Hypothesis-driven exploration
• Statistical significance
• Control
• Blocked subject assignment
• Balanced subject groups
• Contextualisation
• Cause-effect analyses
• Randomised assignments
• Replicability
• Competing alternatives
Relax
Stress
Thank you!

More Related Content

PPTX
PhD Pre-Thesis
PDF
eric_fitzgerald_resume
PDF
Rhushikesh Ghotkar Mechanical Engineer
PDF
Fajar J. Ekaputra, Marta Sabou, Estefania Serral and Stefan Biffl | Knowledge...
PPTX
Présentation PowerPoint - Diapositive 1
DOCX
ResumeFall2015
PPTX
Optimization in power system
PPSX
Optimization for-power-sy-8631549
PhD Pre-Thesis
eric_fitzgerald_resume
Rhushikesh Ghotkar Mechanical Engineer
Fajar J. Ekaputra, Marta Sabou, Estefania Serral and Stefan Biffl | Knowledge...
Présentation PowerPoint - Diapositive 1
ResumeFall2015
Optimization in power system
Optimization for-power-sy-8631549

What's hot (17)

PDF
The Transformation of HPC: Simulation and Cognitive Methods in the Era of Big...
PPTX
Occupancy and hvac energy
PPTX
jStanley: Placing a Green Thumb on Java Collections
PPTX
ML in materials discovery
PPTX
AI at Scale for Materials and Chemistry
PPTX
Hattrick Simpers TMS Machine Learning Workshop Slides
PPTX
Going Smart and Deep on Materials at ALCF
DOCX
Ryan Goode Resume all new(2page)
PPTX
Building Electricity Demand Forecasting
PDF
resume v 5.0
DOCX
PPSX
Psat toolbox-8631349
PDF
Accelerated Materials Discovery Using Theory, Optimization, and Natural Langu...
PPTX
Locating Energy Hotspots in Source Code
PPTX
Ontology based top-k query answering over massive, heterogeneous, and dynamic...
PDF
Resume
The Transformation of HPC: Simulation and Cognitive Methods in the Era of Big...
Occupancy and hvac energy
jStanley: Placing a Green Thumb on Java Collections
ML in materials discovery
AI at Scale for Materials and Chemistry
Hattrick Simpers TMS Machine Learning Workshop Slides
Going Smart and Deep on Materials at ALCF
Ryan Goode Resume all new(2page)
Building Electricity Demand Forecasting
resume v 5.0
Psat toolbox-8631349
Accelerated Materials Discovery Using Theory, Optimization, and Natural Langu...
Locating Energy Hotspots in Source Code
Ontology based top-k query answering over massive, heterogeneous, and dynamic...
Resume
Ad

Viewers also liked (7)

PPT
7+วิธีสร้างความสุขและสนุกกับงาน
PDF
Abaabilfile
PPT
อนิจจา วัตสังขารา
PPT
7+วิธีสร้างความสุขและสนุกกับงาน
Abaabilfile
อนิจจา วัตสังขารา
Ad

Similar to The Green Lab - Experimentation in Software Energy Efficiency (ICSE) (20)

PDF
20141203 sen plago
PDF
Software Sustainability: The Challenges and Opportunities for Enterprises and...
PDF
How to bring Sustainability in your Organization – Green IT
PDF
Green Software at VU University Amsterdam
PDF
Self-adaptation Approaches for Energy Efficiency
PPTX
SoSA: A Software Sustainability Assessment Method
PPTX
IWSM2014 MEGSUS14 - GQM on energy for SaaS - CETIC
PDF
SC17 Panel: Energy Efficiency Gains From HPC Software
PPTX
Let's Talk a Bit About: Green Software
PDF
Presentation Joost Visser / SIG - what can be green about software- Workshop ...
PDF
Towards Software Sustainability Assessment
PDF
How to (Help to) Save Our Planet with Green Coding
PDF
Designing Software with a Sustainability Intent - The Software Sustainability...
PPTX
#Interactive Session by Hina Sharma and Mamatha Venkatesh, "Secret Sauce for ...
PDF
The State of the Green IT at the beginning of 2024
PPTX
Sustainable Architecture Design
PDF
Sustainable Software for a Digital Society
PDF
Presentation SIG, Green IT Amsterdam workshop Green Software 12 apr 2011, Gre...
PDF
Green Software: Architecture Decision-making for Sustainability
PPTX
Green Compute and Storage - Why does it Matter and What is in Scope
20141203 sen plago
Software Sustainability: The Challenges and Opportunities for Enterprises and...
How to bring Sustainability in your Organization – Green IT
Green Software at VU University Amsterdam
Self-adaptation Approaches for Energy Efficiency
SoSA: A Software Sustainability Assessment Method
IWSM2014 MEGSUS14 - GQM on energy for SaaS - CETIC
SC17 Panel: Energy Efficiency Gains From HPC Software
Let's Talk a Bit About: Green Software
Presentation Joost Visser / SIG - what can be green about software- Workshop ...
Towards Software Sustainability Assessment
How to (Help to) Save Our Planet with Green Coding
Designing Software with a Sustainability Intent - The Software Sustainability...
#Interactive Session by Hina Sharma and Mamatha Venkatesh, "Secret Sauce for ...
The State of the Green IT at the beginning of 2024
Sustainable Architecture Design
Sustainable Software for a Digital Society
Presentation SIG, Green IT Amsterdam workshop Green Software 12 apr 2011, Gre...
Green Software: Architecture Decision-making for Sustainability
Green Compute and Storage - Why does it Matter and What is in Scope

More from Giuseppe Procaccianti (12)

PDF
The Green Lab - [12-A] Data visualization in R
PDF
The Green Lab - [11-A] Data Visualization
PDF
The Green Lab - [07-B] Hypothesis Testing
PDF
The Green Lab - [07-A] Data Analysis
PDF
The Green Lab - [04-A] Lab environment and tools
PDF
The Green Lab - [01-B] Case study presentation
PDF
Energy Efficiency of ORM Approaches
PPTX
Four-dimensional Sustainable E-Services
PDF
Energy Efficiency in Cloud Software Architectures - ICT.OPEN 2013
PPTX
Delegating Data Management to the Cloud: A Case Study in a Telecommunications...
PPTX
SEIT 2013: A Categorization of Green Practices used by Dutch data centers
PPTX
EnviroInfo 2013: Energy Efficiency in Cloud Software Architectures
The Green Lab - [12-A] Data visualization in R
The Green Lab - [11-A] Data Visualization
The Green Lab - [07-B] Hypothesis Testing
The Green Lab - [07-A] Data Analysis
The Green Lab - [04-A] Lab environment and tools
The Green Lab - [01-B] Case study presentation
Energy Efficiency of ORM Approaches
Four-dimensional Sustainable E-Services
Energy Efficiency in Cloud Software Architectures - ICT.OPEN 2013
Delegating Data Management to the Cloud: A Case Study in a Telecommunications...
SEIT 2013: A Categorization of Green Practices used by Dutch data centers
EnviroInfo 2013: Energy Efficiency in Cloud Software Architectures

Recently uploaded (20)

PDF
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
PDF
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
PDF
Cost to Outsource Software Development in 2025
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
DOCX
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
PDF
17 Powerful Integrations Your Next-Gen MLM Software Needs
PDF
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Patient Appointment Booking in Odoo with online payment
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Transform Your Business with a Software ERP System
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Digital Systems & Binary Numbers (comprehensive )
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
Cost to Outsource Software Development in 2025
CHAPTER 2 - PM Management and IT Context
Computer Software and OS of computer science of grade 11.pptx
Operating system designcfffgfgggggggvggggggggg
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
17 Powerful Integrations Your Next-Gen MLM Software Needs
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
Internet Downloader Manager (IDM) Crack 6.42 Build 41
L1 - Introduction to python Backend.pptx
Patient Appointment Booking in Odoo with online payment
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Transform Your Business with a Software ERP System
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Odoo Companies in India – Driving Business Transformation.pdf
wealthsignaloriginal-com-DS-text-... (1).pdf
Digital Systems & Binary Numbers (comprehensive )

The Green Lab - Experimentation in Software Energy Efficiency (ICSE)

  • 1. The Green Lab Experimentation in Software Energy Efficiency ICSE 2015 Technical Briefing 19th May, 2015 Giuseppe Procaccianti, Patricia Lago, VU University Amsterdam, ND Antonio Vetrò, Daniel Méndez Fernández, TU München, GER Roel Wieringa, University of Twente, ND
  • 4. Software is energy-inefficient Hardware Energy- unaware software Hardware optimizations are negated by software inefficiencies [cf. Wirth’ Law] …. © Patricia Lago 2014
  • 5. “Software: it's a gas” -Nathan Myrvhold, Microsoft Research
  • 8. Source: A major IT manufacturing company
  • 9. [Research survey on Industrial Energy Management. M. Littlefield, LNS Research, 2013] [The energy efficiency potential of cloud-based software: A US case study. Tech. rep., Berkeley, California, 2013] Motivation
  • 11. Knowledge for developers [Procaccianti et al., Empirical Evaluation of Best Practices for Energy-Efficient Software Development, Springer Empirical Software Engineering, under preparation, 2015] [Gude & Lago, Best Practices for Energy-Efficient Software, wiki.cs.vu.nl/green_software] © Patricia Lago 2014
  • 12. Knowledge for designers and architects /1 [Procaccianti et al., A Systematic Literature Review on Energy Efficiency in Cloud Software Architectures, Sustainable Computing: Informatics and Systems, Elsevier, 2014] © Patricia Lago 2014 Cloud FederationSelf Adaptation Energy Monitoring
  • 13. Knowledge for designers and architects /2 [Procaccianti et al., A Systematic Literature Review on Energy Efficiency in Cloud Software Architectures, Sustainable Computing: Informatics and Systems, Elsevier, 2014] [Procaccianti et al., Green Architectural Tactics for the Cloud, IEEE/IFIP WICSA, 2014] [Lewis & Lago, A Catalog of Architectural Tactics for Cyber- Foraging, ACM SIGSOFT QoSA, 2015] © Patricia Lago 2014
  • 14. Open Knowledge [Gu and Lago, Estimating the economic value of reusable green ICT practices, ICSR, Springer, 2013] ICT and Sustainability http://greenpractice.few.vu.nl http://thegreenpractitioner.amsterdamdatascience.nl © Patricia Lago 2014
  • 16. Software Energy Efficiency is odd • Examples: – Diminishing returns of adding more resources Source: Harizopoulos, S., Shah, M. A., Meza, J. & Ranganathan, P. Energy Efficiency: The New Holy Grail of Data Management Systems Research. CoRR abs/0909.1784, (2009).
  • 17. Software Energy Efficiency is odd • Examples: – Algorithm design Source: Harizopoulos, S., Shah, M. A., Meza, J. & Ranganathan, P. Energy Efficiency: The New Holy Grail of Data Management Systems Research. CoRR abs/0909.1784, (2009).
  • 18. Software Energy Efficiency is odd • Examples: – Third-party Software updates Source: Cameron, K. W. Energy Oddities, Part 2: Why Green Computing Is Odd. Computer 46, 90–93 (2013)
  • 19. Hotspot Elements or properties, at any level of abstraction of the system architecture, that have a measurable and significant impact on energy consumption.
  • 22. Example – Energy Hotspot / measurements • VM energy estimation is quite reliable • Systematic error of about ~10 Watts Estimation Measure 100120140 Watt
  • 23. Example – Energy Hotspot visualization / measurements • If we plot the measure -10 watts you can see it approximates well 100120140160 Timestamp Watt 15:40:00 15:46:00 15:52:00 15:58:00 16:04:00 16:10:00 Estimation Measure
  • 24. Example – Energy Hotspot visualization • VMs over time: what happened in Phase 2? 010203040 Timestamp Watt 15:56:00 15:57:00 15:58:00 15:59:00 16:00:00 16:01:00 16:02:00 DB WS1 WS2 WS3
  • 25. Phase 1: Hotspots Identification • Measure energy usage in the field • Identify patterns in the data • Explain these by underlying mechanisms Phase 2: Hotspots validation • Try to reproduce these patterns by simulating these mechanisms in the lab. • Investigate in the lab how different mechanisms may interact • Search for evidence of those patterns in the field • Integrate this into theories about energy usage • From this knowledge, identify recommendations for reducing energy usage Research Strategy
  • 26. Generalization and explanation Application and testing in the lab and in the field The Approach
  • 28. Tool: Spotfire Tibco (http://spotfire.tibco.com/) Hands-on session Data: http://www.s2group.cs.vu.nl/green-lab/ (Click on ICSE Technical Briefing – online package)
  • 30. Looking back (briefly): Principles of scientific working Measurements Patterns Theories Identify patterns Generalisation and explanation Hypothetical mechanisms Explain the patterns Integrate into theories Application and testing in the lab and in the field Study Population (entities from the theoretical population) Theoretical Population (all entities that we want to generalise about)
  • 31. Empirical SE is conducted in a cyclic manner Engineering Cycle Treatment implementation Implementation evaluation / Problem investigation Treatment designDesign validation
  • 32. Scaling up by iterating through the engineering cycle Engineering Cycle Engineering Cycle . . . . . . Idealised assumptions Realistic assumptions • Evidence is gathered in a cyclic (step by step) manner • With each iteration, we – Narrow down our observations – Increase the precision of our instruments and, thus, measurements – Increase the validity of our conclusions
  • 33. Levels of evidence + For - Against Strong evidence Evidence Circumstantial evidence Third-party claim First or second part claim Strong evidence Circumstantial evidence Third-party claim Evidence First or second part claim Further reading: Wohlin. An Evidence Profile for Software Engineering Research and Practice
  • 34. What does this mean for Experimentation in Software Energy Efficiency? 1 1 2
  • 35. What does this mean for Experimentation in Software Energy Efficiency? Objectives in experimental settings* • Hypothesis-driven exploration • Statistical significance • Control • Blocked subject assignment • Balanced subject groups • Contextualisation • Cause-effect analyses • Randomised assignments • Replicability • Competing alternatives * Don’t blame us, Claes Wohlin said so… ;-)
  • 36. Implications on Principles in Experimental SE  Relax rigor in favour of pragmatism in initial stages • Hypothesis-driven exploration • Statistical significance • Control • Blocked subject assignment • Balanced subject groups • Contextualisation • Cause-effect analyses • Randomised assignments • Replicability • Competing alternatives Relax Stress