SlideShare une entreprise Scribd logo
1  sur  24
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

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
 

Tendances (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
 

Similaire à Energy Wasting Rate Metrics

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
 

Similaire à Energy Wasting Rate Metrics (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
 

Dernier

Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...RohitNehra6
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Sérgio Sacani
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)Areesha Ahmad
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptxRajatChauhan518211
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsAArockiyaNisha
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxkessiyaTpeter
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfSumit Kumar yadav
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSérgio Sacani
 
Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsSumit Kumar yadav
 
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINChromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINsankalpkumarsahoo174
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...ssifa0344
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhousejana861314
 
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisRaman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisDiwakar Mishra
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxUmerFayaz5
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)Areesha Ahmad
 

Dernier (20)

Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptx
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdf
 
Engler and Prantl system of classification in plant taxonomy
Engler and Prantl system of classification in plant taxonomyEngler and Prantl system of classification in plant taxonomy
Engler and Prantl system of classification in plant taxonomy
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
 
Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questions
 
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINChromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhouse
 
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisRaman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptx
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 

Energy Wasting Rate Metrics

  • 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