SlideShare a Scribd company logo
1 of 24
Download to read offline
Energy Wasting Rate
a Metrics for Green Computing and Static Analysis
Jérôme Rocheteau
Institut Catholique d’Arts et Métiers, Nantes, France
2nd
International Workshop on
Measurement and Metrics for Green and Sustainable Software
Monday 5th
October 2015
Energy Wasting Rate MegSus | 2015-10-05 1 / 17
Context
ICT ≈ 15% total carbon emissions in 2014
devices smartphones, tablets, servers, ...
hardware energy efficiency
software energy efficiency
Green Computing
studies of software power features
impacts on software engineering
Energy Wasting Rate MegSus | 2015-10-05 2 / 17
Issues
Accuracy of Observation & Understanding
1 reliable measures (see [1])
2 relevant metrics
Energy Wasting Rate MegSus | 2015-10-05 3 / 17
Issues
Accuracy of Observation & Understanding
1 reliable measures (see [1])
2 relevant metrics
Double Shift
hardware → software
binary code → source code
Energy Wasting Rate MegSus | 2015-10-05 3 / 17
Hypothesis
Top-Down Approach
from metrics definition to measurement system
1 needs
2 requirements
3 use cases
4 activities
5 sequences
6 classes
by reverse engineering our existing platform
using multi-dimensional statistical analysis
Energy Wasting Rate MegSus | 2015-10-05 4 / 17
Needs
1 Static Analysis
source code
2 Energy Consumption
attributes
methods
classes
3 Consumption Factors
execution time
RAM allocation
HDD access
network bandwidth
CPU load
4 Eco-Design Rules
gray pattern ← green pattern
rule priority
Energy Wasting Rate MegSus | 2015-10-05 5 / 17
Requirements
1 Fine-Grained Measurements M[e1, . . . , en]
2 Reliable Measurements |e|
3 Computational Equivalence e ≈ e
Energy Wasting Rate
ei ≈ ei iff
ei
.
= M ∈ C I
ei
.
= M ∈ C I
I = I and M = M
|ei | |ei |
|M| =
i=1
i=n |ei | − |ei |
i=1
i=n |ei |
Energy Wasting Rate MegSus | 2015-10-05 6 / 17
Use Cases
register codes
generate tests
launch measures
analyze results
Energy Wasting Rate MegSus | 2015-10-05 7 / 17
Measurement Process
Code Maturity
Checking
1-Measurement
Launching
1-Measurement
Cleansing
∗-Measurement
Pruning
yes
no
Code Maturity: measurement result stability
measurement set size > 25
measurement set standard deviation 10%
Energy Wasting Rate MegSus | 2015-10-05 8 / 17
Measurement Task
Actor Platform Sensors
result
stop
launch
start
warm-up
deploy
info
info
Energy Wasting Rate MegSus | 2015-10-05 9 / 17
Measurement Protocol
Measurement Raw Data
Energy Wasting Rate MegSus | 2015-10-05 10 / 17
Measurement Protocol
Measurement Analyzed Data
Energy Wasting Rate MegSus | 2015-10-05 10 / 17
Measurement Protocol
Measurement Normalized Data
Energy Wasting Rate MegSus | 2015-10-05 10 / 17
Measurement Protocol
Protocol: space × time
different available space domains:
electric power (watt) energy (1 joule = 1 watt · second)
RAM allocation ? (kb · second)
HDD access ? (kb · second)
network bandwidth ? (kb · second)
CPU load ? (rate · second)
Energy Wasting Rate MegSus | 2015-10-05 10 / 17
Measurement Protocol
Cleansing: removing disturbed measurements ... before
Energy Wasting Rate MegSus | 2015-10-05 10 / 17
Measurement Protocol
Cleansing: removing disturbed measurements ... after
Energy Wasting Rate MegSus | 2015-10-05 10 / 17
Measurement Protocol
Pruning: removing disturbed measurements ... during
Energy Wasting Rate MegSus | 2015-10-05 10 / 17
Data Model
Measure
• timestamp
• amount
Instrument
• identifier
• version
Category
• identifier
• unit
Test
• identifier
• method
Unit
• identifier
• type
Implements
Platform
• identifier
• version
Environment
• architecture
• operating system
• version
parent
class interface
Energy Wasting Rate MegSus | 2015-10-05 11 / 17
Statistical Analysis
List Interface Energy Consumption Analysis Request
select uc.identifier, t.method, avg(m.amount), std(m.amount)
from Measure m
inner join Test t on t.identifier = m.test
inner join Unit uc on uc.identifier = t.unit
inner join Implements ur on ur.class = uc.identifier
inner join Unit ui on ui.identifier = ur.interface
inner join Instrument i on i.identifier = m.instrument
where i.category = ’energy’
and ui.identifier = ’java.util.List’
group by uc.identifier, t.method with rollup
Energy Wasting Rate MegSus | 2015-10-05 12 / 17
Statistical Analysis
List Interface Energy Consumption Analysis Results
class method avg stddev
ArrayList add 16.45 6.33 %
ArrayList get 13.49 2.48 %
ArrayList new 17.46 4.48 %
ArrayList 15.80 4.43 %
LinkedList add 28.42 5.62 %
LinkedList get 27.05 9.95 %
LinkedList new 25.22 5.02 %
LinkedList 26.89 6.86 %
Energy Wasting Rate MegSus | 2015-10-05 13 / 17
Case Study
LinkedList vs ArrayList Fibonacci’s Sequence
1 p u b l i c L i s t <I n t e g e r > f i b o ( i n t n ) {
L i s t <I n t e g e r > l i s t = new L i n k e d L i s t <I n t e g e r >() ;
/∗ L i s t <I n t e g e r > l i s t = new A r r a y L i s t <I n t e g e r >(n ) ; ∗/
f o r ( i n t i = 0; i < n ; i ++) {
5 i f ( i < 2) {
l i s t . add ( i ) ;
} e l s e {
i n t x = l i s t . get ( i −1) ;
i n t y = l i s t . get ( i −2) ;
10 l i s t . add ( x + y ) ;
}
}
return l i s t ;
}
Energy Wasting Rate MegSus | 2015-10-05 14 / 17
Case Study
Theoretical Estimate
method occ ArrayList LinkedList difference
new 1 17.46 25.22 7.76
add 2 16.45 28.42 11.97
get 2 13.49 27.05 13.56
fibo 77.34 136.16 58.82
Empirical Measure
Fibonacci’s ArrayList Sequence: 325.88 nano-Joules
Fibonacci’s LinkedList Sequence: 372.29 nano-Joules
difference = 46.41 nano-Joules
Error Margin: 26.73%
Energy Wasting Rate MegSus | 2015-10-05 15 / 17
Conclusion
Summary
Fine-Grained Measurements & Metrics
Instrumented & (Semi) Automatized Process
Perspectives
Energy Wasting Rate Metrics Validation
Test-Case Generation
Cross Analysis for Measurement of |e|
Dependant Code Refactoring
Energy Wasting Rate MegSus | 2015-10-05 16 / 17
References
• Jérôme Rocheteau, Virginie Gaillard, et Lamya Belhaj.
How Green are Java Best Coding Practices?
Barcelona, Espagne.
Markus Helfert, Karl-Heinz Krempels, et Brian Donnellan.
Proceedings of the 3rd
International Conference on Smart Grids and
Green IT Systems,
pages 235–246.
Barcelona, Espagne, Avril 2014.
Energy Wasting Rate MegSus | 2015-10-05 17 / 17

More Related Content

What's hot

Présentation PowerPoint - Diapositive 1
Présentation PowerPoint - Diapositive 1Présentation PowerPoint - Diapositive 1
Présentation PowerPoint - Diapositive 1butest
 
Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...
Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...
Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...Soheila Dehghanzadeh
 
Technology-based Approach for the Impacts of Global Warming on the Energy Use...
Technology-based Approach for the Impacts of Global Warming on the Energy Use...Technology-based Approach for the Impacts of Global Warming on the Energy Use...
Technology-based Approach for the Impacts of Global Warming on the Energy Use...IEA-ETSAP
 
Artificial Neural Network based computing model for wind speed prediction: A ...
Artificial Neural Network based computing model for wind speed prediction: A ...Artificial Neural Network based computing model for wind speed prediction: A ...
Artificial Neural Network based computing model for wind speed prediction: A ...Kaja Bantha Navas Raja Mohamed
 
Math 390 - Machine Learning Techniques Presentation
Math 390 - Machine Learning Techniques PresentationMath 390 - Machine Learning Techniques Presentation
Math 390 - Machine Learning Techniques PresentationDarragh Punch
 
Real-time ranking with concept drift using expert advice
Real-time ranking with concept drift using expert adviceReal-time ranking with concept drift using expert advice
Real-time ranking with concept drift using expert adviceHila Becker
 
Wind power forecasting an application of machine
Wind power forecasting   an application of machineWind power forecasting   an application of machine
Wind power forecasting an application of machineJawad Khan
 
Deriving Thermal Response Coefficients for PVSyst
Deriving Thermal Response Coefficients for PVSystDeriving Thermal Response Coefficients for PVSyst
Deriving Thermal Response Coefficients for PVSystchaudharichetan
 
Real-time Ranking of Electrical Feeders using Expert Advice
Real-time Ranking of Electrical Feeders using Expert AdviceReal-time Ranking of Electrical Feeders using Expert Advice
Real-time Ranking of Electrical Feeders using Expert AdviceHila Becker
 
Interference effects for inline chmineys
Interference effects for inline chmineysInterference effects for inline chmineys
Interference effects for inline chmineysFull Scale Dynamics
 
highFidelityMethodsForCompressibleFlowProblemsOnMovingDomains
highFidelityMethodsForCompressibleFlowProblemsOnMovingDomainshighFidelityMethodsForCompressibleFlowProblemsOnMovingDomains
highFidelityMethodsForCompressibleFlowProblemsOnMovingDomainsMichael Weberstadt
 

What's hot (18)

63 matthiss comparison_of_pv_system_and_irradiation_models
63 matthiss comparison_of_pv_system_and_irradiation_models63 matthiss comparison_of_pv_system_and_irradiation_models
63 matthiss comparison_of_pv_system_and_irradiation_models
 
Wind power forecasting accuracy and uncertainty in Finland
Wind power forecasting accuracy and uncertainty in FinlandWind power forecasting accuracy and uncertainty in Finland
Wind power forecasting accuracy and uncertainty in Finland
 
Présentation PowerPoint - Diapositive 1
Présentation PowerPoint - Diapositive 1Présentation PowerPoint - Diapositive 1
Présentation PowerPoint - Diapositive 1
 
Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...
Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...
Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...
 
Ecp1
Ecp1Ecp1
Ecp1
 
Technology-based Approach for the Impacts of Global Warming on the Energy Use...
Technology-based Approach for the Impacts of Global Warming on the Energy Use...Technology-based Approach for the Impacts of Global Warming on the Energy Use...
Technology-based Approach for the Impacts of Global Warming on the Energy Use...
 
Artificial Neural Network based computing model for wind speed prediction: A ...
Artificial Neural Network based computing model for wind speed prediction: A ...Artificial Neural Network based computing model for wind speed prediction: A ...
Artificial Neural Network based computing model for wind speed prediction: A ...
 
Math 390 - Machine Learning Techniques Presentation
Math 390 - Machine Learning Techniques PresentationMath 390 - Machine Learning Techniques Presentation
Math 390 - Machine Learning Techniques Presentation
 
Real-time ranking with concept drift using expert advice
Real-time ranking with concept drift using expert adviceReal-time ranking with concept drift using expert advice
Real-time ranking with concept drift using expert advice
 
Wind power forecasting an application of machine
Wind power forecasting   an application of machineWind power forecasting   an application of machine
Wind power forecasting an application of machine
 
01 groundwork clean-powerresearch_sandia_2017-05-09
01 groundwork clean-powerresearch_sandia_2017-05-0901 groundwork clean-powerresearch_sandia_2017-05-09
01 groundwork clean-powerresearch_sandia_2017-05-09
 
25 ben duck_improved_prediction_of_site_spectral_impact
25 ben duck_improved_prediction_of_site_spectral_impact25 ben duck_improved_prediction_of_site_spectral_impact
25 ben duck_improved_prediction_of_site_spectral_impact
 
Energy of Some Simple Graphs: MATLAB Approach
Energy of Some Simple Graphs: MATLAB ApproachEnergy of Some Simple Graphs: MATLAB Approach
Energy of Some Simple Graphs: MATLAB Approach
 
Deriving Thermal Response Coefficients for PVSyst
Deriving Thermal Response Coefficients for PVSystDeriving Thermal Response Coefficients for PVSyst
Deriving Thermal Response Coefficients for PVSyst
 
Real-time Ranking of Electrical Feeders using Expert Advice
Real-time Ranking of Electrical Feeders using Expert AdviceReal-time Ranking of Electrical Feeders using Expert Advice
Real-time Ranking of Electrical Feeders using Expert Advice
 
13 marcel suri_solarresourceuncertainty
13 marcel suri_solarresourceuncertainty13 marcel suri_solarresourceuncertainty
13 marcel suri_solarresourceuncertainty
 
Interference effects for inline chmineys
Interference effects for inline chmineysInterference effects for inline chmineys
Interference effects for inline chmineys
 
highFidelityMethodsForCompressibleFlowProblemsOnMovingDomains
highFidelityMethodsForCompressibleFlowProblemsOnMovingDomainshighFidelityMethodsForCompressibleFlowProblemsOnMovingDomains
highFidelityMethodsForCompressibleFlowProblemsOnMovingDomains
 

Similar to Energy Wasting Rate as a Metrics for Green Computing and Static Analysis

IRJET- Different Data Mining Techniques for Weather Prediction
IRJET-  	  Different Data Mining Techniques for Weather PredictionIRJET-  	  Different Data Mining Techniques for Weather Prediction
IRJET- Different Data Mining Techniques for Weather PredictionIRJET Journal
 
Service Management: Forecasting Hydrogen Demand
Service Management: Forecasting Hydrogen DemandService Management: Forecasting Hydrogen Demand
Service Management: Forecasting Hydrogen Demandirrosennen
 
ENVIRONMENTAL QUALITY PREDICTION AND ITS DEPLOYMENT
ENVIRONMENTAL QUALITY PREDICTION AND ITS DEPLOYMENTENVIRONMENTAL QUALITY PREDICTION AND ITS DEPLOYMENT
ENVIRONMENTAL QUALITY PREDICTION AND ITS DEPLOYMENTIRJET Journal
 
Increasing electrical grid stability classification performance using ensemb...
Increasing electrical grid stability classification performance  using ensemb...Increasing electrical grid stability classification performance  using ensemb...
Increasing electrical grid stability classification performance using ensemb...IJECEIAES
 
IRJET- A Secured Method of Data Aggregation for Wireless Sensor Networks in t...
IRJET- A Secured Method of Data Aggregation for Wireless Sensor Networks in t...IRJET- A Secured Method of Data Aggregation for Wireless Sensor Networks in t...
IRJET- A Secured Method of Data Aggregation for Wireless Sensor Networks in t...IRJET Journal
 
A Firefly based improved clustering algorithm
A Firefly based improved clustering algorithmA Firefly based improved clustering algorithm
A Firefly based improved clustering algorithmIRJET Journal
 
Green indexes used in CAST to measure the energy consumption in code
Green indexes used in CAST to measure the energy consumption in codeGreen indexes used in CAST to measure the energy consumption in code
Green indexes used in CAST to measure the energy consumption in codeCAST
 
Plant wide control design based on steady-state combined indexes
Plant wide control design based on steady-state combined indexesPlant wide control design based on steady-state combined indexes
Plant wide control design based on steady-state combined indexesISA Interchange
 
Machine Learning, K-means Algorithm Implementation with R
Machine Learning, K-means Algorithm Implementation with RMachine Learning, K-means Algorithm Implementation with R
Machine Learning, K-means Algorithm Implementation with RIRJET Journal
 
IRJET- Supervised Learning Classification Algorithms Comparison
IRJET- Supervised Learning Classification Algorithms ComparisonIRJET- Supervised Learning Classification Algorithms Comparison
IRJET- Supervised Learning Classification Algorithms ComparisonIRJET Journal
 
IRJET- Supervised Learning Classification Algorithms Comparison
IRJET- Supervised Learning Classification Algorithms ComparisonIRJET- Supervised Learning Classification Algorithms Comparison
IRJET- Supervised Learning Classification Algorithms ComparisonIRJET Journal
 
AIRLINE FARE PRICE PREDICTION
AIRLINE FARE PRICE PREDICTIONAIRLINE FARE PRICE PREDICTION
AIRLINE FARE PRICE PREDICTIONIRJET Journal
 
Application of-computational-intelligence-techniques-for-economic-load-dispatch
Application of-computational-intelligence-techniques-for-economic-load-dispatchApplication of-computational-intelligence-techniques-for-economic-load-dispatch
Application of-computational-intelligence-techniques-for-economic-load-dispatchCemal Ardil
 
Real-time PMU Data Recovery Application Based on Singular Value Decomposition
Real-time PMU Data Recovery Application Based on Singular Value DecompositionReal-time PMU Data Recovery Application Based on Singular Value Decomposition
Real-time PMU Data Recovery Application Based on Singular Value DecompositionPower System Operation
 
Real-time PMU Data Recovery Application Based on Singular Value Decomposition
Real-time PMU Data Recovery Application Based on Singular Value DecompositionReal-time PMU Data Recovery Application Based on Singular Value Decomposition
Real-time PMU Data Recovery Application Based on Singular Value DecompositionPower System Operation
 
Experimental study of Data clustering using k- Means and modified algorithms
Experimental study of Data clustering using k- Means and modified algorithmsExperimental study of Data clustering using k- Means and modified algorithms
Experimental study of Data clustering using k- Means and modified algorithmsIJDKP
 
A refined solution to classical unit commitment
A refined solution to classical unit commitmentA refined solution to classical unit commitment
A refined solution to classical unit commitmenteSAT Publishing House
 

Similar to Energy Wasting Rate as a Metrics for Green Computing and Static Analysis (20)

IRJET- Different Data Mining Techniques for Weather Prediction
IRJET-  	  Different Data Mining Techniques for Weather PredictionIRJET-  	  Different Data Mining Techniques for Weather Prediction
IRJET- Different Data Mining Techniques for Weather Prediction
 
Af4201214217
Af4201214217Af4201214217
Af4201214217
 
Service Management: Forecasting Hydrogen Demand
Service Management: Forecasting Hydrogen DemandService Management: Forecasting Hydrogen Demand
Service Management: Forecasting Hydrogen Demand
 
ENVIRONMENTAL QUALITY PREDICTION AND ITS DEPLOYMENT
ENVIRONMENTAL QUALITY PREDICTION AND ITS DEPLOYMENTENVIRONMENTAL QUALITY PREDICTION AND ITS DEPLOYMENT
ENVIRONMENTAL QUALITY PREDICTION AND ITS DEPLOYMENT
 
Increasing electrical grid stability classification performance using ensemb...
Increasing electrical grid stability classification performance  using ensemb...Increasing electrical grid stability classification performance  using ensemb...
Increasing electrical grid stability classification performance using ensemb...
 
Meter anomaly detection
Meter anomaly detectionMeter anomaly detection
Meter anomaly detection
 
IRJET- A Secured Method of Data Aggregation for Wireless Sensor Networks in t...
IRJET- A Secured Method of Data Aggregation for Wireless Sensor Networks in t...IRJET- A Secured Method of Data Aggregation for Wireless Sensor Networks in t...
IRJET- A Secured Method of Data Aggregation for Wireless Sensor Networks in t...
 
A Firefly based improved clustering algorithm
A Firefly based improved clustering algorithmA Firefly based improved clustering algorithm
A Firefly based improved clustering algorithm
 
Green indexes used in CAST to measure the energy consumption in code
Green indexes used in CAST to measure the energy consumption in codeGreen indexes used in CAST to measure the energy consumption in code
Green indexes used in CAST to measure the energy consumption in code
 
A1802050102
A1802050102A1802050102
A1802050102
 
Plant wide control design based on steady-state combined indexes
Plant wide control design based on steady-state combined indexesPlant wide control design based on steady-state combined indexes
Plant wide control design based on steady-state combined indexes
 
Machine Learning, K-means Algorithm Implementation with R
Machine Learning, K-means Algorithm Implementation with RMachine Learning, K-means Algorithm Implementation with R
Machine Learning, K-means Algorithm Implementation with R
 
IRJET- Supervised Learning Classification Algorithms Comparison
IRJET- Supervised Learning Classification Algorithms ComparisonIRJET- Supervised Learning Classification Algorithms Comparison
IRJET- Supervised Learning Classification Algorithms Comparison
 
IRJET- Supervised Learning Classification Algorithms Comparison
IRJET- Supervised Learning Classification Algorithms ComparisonIRJET- Supervised Learning Classification Algorithms Comparison
IRJET- Supervised Learning Classification Algorithms Comparison
 
AIRLINE FARE PRICE PREDICTION
AIRLINE FARE PRICE PREDICTIONAIRLINE FARE PRICE PREDICTION
AIRLINE FARE PRICE PREDICTION
 
Application of-computational-intelligence-techniques-for-economic-load-dispatch
Application of-computational-intelligence-techniques-for-economic-load-dispatchApplication of-computational-intelligence-techniques-for-economic-load-dispatch
Application of-computational-intelligence-techniques-for-economic-load-dispatch
 
Real-time PMU Data Recovery Application Based on Singular Value Decomposition
Real-time PMU Data Recovery Application Based on Singular Value DecompositionReal-time PMU Data Recovery Application Based on Singular Value Decomposition
Real-time PMU Data Recovery Application Based on Singular Value Decomposition
 
Real-time PMU Data Recovery Application Based on Singular Value Decomposition
Real-time PMU Data Recovery Application Based on Singular Value DecompositionReal-time PMU Data Recovery Application Based on Singular Value Decomposition
Real-time PMU Data Recovery Application Based on Singular Value Decomposition
 
Experimental study of Data clustering using k- Means and modified algorithms
Experimental study of Data clustering using k- Means and modified algorithmsExperimental study of Data clustering using k- Means and modified algorithms
Experimental study of Data clustering using k- Means and modified algorithms
 
A refined solution to classical unit commitment
A refined solution to classical unit commitmentA refined solution to classical unit commitment
A refined solution to classical unit commitment
 

Recently uploaded

COMPOSTING : types of compost, merits and demerits
COMPOSTING : types of compost, merits and demeritsCOMPOSTING : types of compost, merits and demerits
COMPOSTING : types of compost, merits and demeritsCherry
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learninglevieagacer
 
Site specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdfSite specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdfCherry
 
Cyanide resistant respiration pathway.pptx
Cyanide resistant respiration pathway.pptxCyanide resistant respiration pathway.pptx
Cyanide resistant respiration pathway.pptxCherry
 
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...Scintica Instrumentation
 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusNazaninKarimi6
 
Efficient spin-up of Earth System Models usingsequence acceleration
Efficient spin-up of Earth System Models usingsequence accelerationEfficient spin-up of Earth System Models usingsequence acceleration
Efficient spin-up of Earth System Models usingsequence accelerationSérgio Sacani
 
Gwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRL
Gwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRLGwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRL
Gwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRLkantirani197
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsSérgio Sacani
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learninglevieagacer
 
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS ESCORT SERVICE In Bhiwan...
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS  ESCORT SERVICE In Bhiwan...Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS  ESCORT SERVICE In Bhiwan...
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS ESCORT SERVICE In Bhiwan...Monika Rani
 
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIACURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIADr. TATHAGAT KHOBRAGADE
 
CYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptxCYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptxCherry
 
FS P2 COMBO MSTA LAST PUSH past exam papers.
FS P2 COMBO MSTA LAST PUSH past exam papers.FS P2 COMBO MSTA LAST PUSH past exam papers.
FS P2 COMBO MSTA LAST PUSH past exam papers.takadzanijustinmaime
 
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptxClimate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptxDiariAli
 
X-rays from a Central “Exhaust Vent” of the Galactic Center Chimney
X-rays from a Central “Exhaust Vent” of the Galactic Center ChimneyX-rays from a Central “Exhaust Vent” of the Galactic Center Chimney
X-rays from a Central “Exhaust Vent” of the Galactic Center ChimneySérgio Sacani
 
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cherry
 
Genome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptxGenome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptxCherry
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxMohamedFarag457087
 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Cherry
 

Recently uploaded (20)

COMPOSTING : types of compost, merits and demerits
COMPOSTING : types of compost, merits and demeritsCOMPOSTING : types of compost, merits and demerits
COMPOSTING : types of compost, merits and demerits
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learning
 
Site specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdfSite specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdf
 
Cyanide resistant respiration pathway.pptx
Cyanide resistant respiration pathway.pptxCyanide resistant respiration pathway.pptx
Cyanide resistant respiration pathway.pptx
 
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virus
 
Efficient spin-up of Earth System Models usingsequence acceleration
Efficient spin-up of Earth System Models usingsequence accelerationEfficient spin-up of Earth System Models usingsequence acceleration
Efficient spin-up of Earth System Models usingsequence acceleration
 
Gwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRL
Gwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRLGwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRL
Gwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRL
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
 
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS ESCORT SERVICE In Bhiwan...
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS  ESCORT SERVICE In Bhiwan...Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS  ESCORT SERVICE In Bhiwan...
Bhiwandi Bhiwandi ❤CALL GIRL 7870993772 ❤CALL GIRLS ESCORT SERVICE In Bhiwan...
 
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIACURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
 
CYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptxCYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptx
 
FS P2 COMBO MSTA LAST PUSH past exam papers.
FS P2 COMBO MSTA LAST PUSH past exam papers.FS P2 COMBO MSTA LAST PUSH past exam papers.
FS P2 COMBO MSTA LAST PUSH past exam papers.
 
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptxClimate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
 
X-rays from a Central “Exhaust Vent” of the Galactic Center Chimney
X-rays from a Central “Exhaust Vent” of the Galactic Center ChimneyX-rays from a Central “Exhaust Vent” of the Galactic Center Chimney
X-rays from a Central “Exhaust Vent” of the Galactic Center Chimney
 
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
 
Genome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptxGenome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptx
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptx
 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.
 

Energy Wasting Rate as a Metrics for Green Computing and Static Analysis

  • 1. Energy Wasting Rate a Metrics for Green Computing and Static Analysis Jérôme Rocheteau Institut Catholique d’Arts et Métiers, Nantes, France 2nd International Workshop on Measurement and Metrics for Green and Sustainable Software Monday 5th October 2015 Energy Wasting Rate MegSus | 2015-10-05 1 / 17
  • 2. Context ICT ≈ 15% total carbon emissions in 2014 devices smartphones, tablets, servers, ... hardware energy efficiency software energy efficiency Green Computing studies of software power features impacts on software engineering Energy Wasting Rate MegSus | 2015-10-05 2 / 17
  • 3. Issues Accuracy of Observation & Understanding 1 reliable measures (see [1]) 2 relevant metrics Energy Wasting Rate MegSus | 2015-10-05 3 / 17
  • 4. Issues Accuracy of Observation & Understanding 1 reliable measures (see [1]) 2 relevant metrics Double Shift hardware → software binary code → source code Energy Wasting Rate MegSus | 2015-10-05 3 / 17
  • 5. Hypothesis Top-Down Approach from metrics definition to measurement system 1 needs 2 requirements 3 use cases 4 activities 5 sequences 6 classes by reverse engineering our existing platform using multi-dimensional statistical analysis Energy Wasting Rate MegSus | 2015-10-05 4 / 17
  • 6. Needs 1 Static Analysis source code 2 Energy Consumption attributes methods classes 3 Consumption Factors execution time RAM allocation HDD access network bandwidth CPU load 4 Eco-Design Rules gray pattern ← green pattern rule priority Energy Wasting Rate MegSus | 2015-10-05 5 / 17
  • 7. Requirements 1 Fine-Grained Measurements M[e1, . . . , en] 2 Reliable Measurements |e| 3 Computational Equivalence e ≈ e Energy Wasting Rate ei ≈ ei iff ei . = M ∈ C I ei . = M ∈ C I I = I and M = M |ei | |ei | |M| = i=1 i=n |ei | − |ei | i=1 i=n |ei | Energy Wasting Rate MegSus | 2015-10-05 6 / 17
  • 8. Use Cases register codes generate tests launch measures analyze results Energy Wasting Rate MegSus | 2015-10-05 7 / 17
  • 9. Measurement Process Code Maturity Checking 1-Measurement Launching 1-Measurement Cleansing ∗-Measurement Pruning yes no Code Maturity: measurement result stability measurement set size > 25 measurement set standard deviation 10% Energy Wasting Rate MegSus | 2015-10-05 8 / 17
  • 10. Measurement Task Actor Platform Sensors result stop launch start warm-up deploy info info Energy Wasting Rate MegSus | 2015-10-05 9 / 17
  • 11. Measurement Protocol Measurement Raw Data Energy Wasting Rate MegSus | 2015-10-05 10 / 17
  • 12. Measurement Protocol Measurement Analyzed Data Energy Wasting Rate MegSus | 2015-10-05 10 / 17
  • 13. Measurement Protocol Measurement Normalized Data Energy Wasting Rate MegSus | 2015-10-05 10 / 17
  • 14. Measurement Protocol Protocol: space × time different available space domains: electric power (watt) energy (1 joule = 1 watt · second) RAM allocation ? (kb · second) HDD access ? (kb · second) network bandwidth ? (kb · second) CPU load ? (rate · second) Energy Wasting Rate MegSus | 2015-10-05 10 / 17
  • 15. Measurement Protocol Cleansing: removing disturbed measurements ... before Energy Wasting Rate MegSus | 2015-10-05 10 / 17
  • 16. Measurement Protocol Cleansing: removing disturbed measurements ... after Energy Wasting Rate MegSus | 2015-10-05 10 / 17
  • 17. Measurement Protocol Pruning: removing disturbed measurements ... during Energy Wasting Rate MegSus | 2015-10-05 10 / 17
  • 18. Data Model Measure • timestamp • amount Instrument • identifier • version Category • identifier • unit Test • identifier • method Unit • identifier • type Implements Platform • identifier • version Environment • architecture • operating system • version parent class interface Energy Wasting Rate MegSus | 2015-10-05 11 / 17
  • 19. Statistical Analysis List Interface Energy Consumption Analysis Request select uc.identifier, t.method, avg(m.amount), std(m.amount) from Measure m inner join Test t on t.identifier = m.test inner join Unit uc on uc.identifier = t.unit inner join Implements ur on ur.class = uc.identifier inner join Unit ui on ui.identifier = ur.interface inner join Instrument i on i.identifier = m.instrument where i.category = ’energy’ and ui.identifier = ’java.util.List’ group by uc.identifier, t.method with rollup Energy Wasting Rate MegSus | 2015-10-05 12 / 17
  • 20. Statistical Analysis List Interface Energy Consumption Analysis Results class method avg stddev ArrayList add 16.45 6.33 % ArrayList get 13.49 2.48 % ArrayList new 17.46 4.48 % ArrayList 15.80 4.43 % LinkedList add 28.42 5.62 % LinkedList get 27.05 9.95 % LinkedList new 25.22 5.02 % LinkedList 26.89 6.86 % Energy Wasting Rate MegSus | 2015-10-05 13 / 17
  • 21. Case Study LinkedList vs ArrayList Fibonacci’s Sequence 1 p u b l i c L i s t <I n t e g e r > f i b o ( i n t n ) { L i s t <I n t e g e r > l i s t = new L i n k e d L i s t <I n t e g e r >() ; /∗ L i s t <I n t e g e r > l i s t = new A r r a y L i s t <I n t e g e r >(n ) ; ∗/ f o r ( i n t i = 0; i < n ; i ++) { 5 i f ( i < 2) { l i s t . add ( i ) ; } e l s e { i n t x = l i s t . get ( i −1) ; i n t y = l i s t . get ( i −2) ; 10 l i s t . add ( x + y ) ; } } return l i s t ; } Energy Wasting Rate MegSus | 2015-10-05 14 / 17
  • 22. Case Study Theoretical Estimate method occ ArrayList LinkedList difference new 1 17.46 25.22 7.76 add 2 16.45 28.42 11.97 get 2 13.49 27.05 13.56 fibo 77.34 136.16 58.82 Empirical Measure Fibonacci’s ArrayList Sequence: 325.88 nano-Joules Fibonacci’s LinkedList Sequence: 372.29 nano-Joules difference = 46.41 nano-Joules Error Margin: 26.73% Energy Wasting Rate MegSus | 2015-10-05 15 / 17
  • 23. Conclusion Summary Fine-Grained Measurements & Metrics Instrumented & (Semi) Automatized Process Perspectives Energy Wasting Rate Metrics Validation Test-Case Generation Cross Analysis for Measurement of |e| Dependant Code Refactoring Energy Wasting Rate MegSus | 2015-10-05 16 / 17
  • 24. References • Jérôme Rocheteau, Virginie Gaillard, et Lamya Belhaj. How Green are Java Best Coding Practices? Barcelona, Espagne. Markus Helfert, Karl-Heinz Krempels, et Brian Donnellan. Proceedings of the 3rd International Conference on Smart Grids and Green IT Systems, pages 235–246. Barcelona, Espagne, Avril 2014. Energy Wasting Rate MegSus | 2015-10-05 17 / 17