SlideShare una empresa de Scribd logo
1 de 34
Descargar para leer sin conexión
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
GREEN INDEXES USED IN CAST TO MEASURE
THE ENERGY CONSUMPTION IN CODE
Marco Bessi
Solution delivery consultant @ CAST
September 7th, 2016
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 1
Marco Bessi
 Solution delivery consultant
 CAST green evangelist
 Computer science PhD on software energy
efficiency estimation and optimization through
Java bytecode reengineering
 Collaborations with:
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
GREEN ICT FOR A SUSTAINABLE WORLD
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
Introduction
 Gartner [1] said that 2% of total CO2 emissions is related to ICT
 Energy in Datacenter [2]:
[1] Gartner Symposium/ITxpo, 2007.
[2] S.Pelley, D.Meisner, T.F.Wenisch, and J.W.VanGilder. Understanding and abstracting total datacenter power. In WEED2009.
3
56% server
30% cooling
14% others
(network, light, ...)
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 4
Introduction
 In the last 10 years, IT systems become bigger and bigger, with a consequent growth of
the IT energy consumptions
Energy costs have dramatically increased
Energy requirements represent one of the scalability issues of datacenters
IT contributes strongly to the CO2 emissions
1
2
3
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
Energy efficiency of Datacenters
 Servers are rarely idle or working at full capacity [3]
– Most of the time are between 10-50%
– Idle or low capacity is a waste of energy
[3] Luiz André Barroso and Urs Holzle. The case for energy-proportional computing. Computer, 40, 2007.
0
10
20
30
40
50
60
70
80
90
100
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Serverpowerusagepercentage
CPU utilization
PERCENTAGE OF POWER PEAK
USAGE
Power
Energy efficiency
0
0,02
0,04
0,06
0,08
0,1
0,12
0%
5%
10%
15%
20%
25%
30%
35%
40%
45%
50%
55%
60%
65%
70%
75%
80%
85%
90%
95%
100%
TimePercentage
CPU Utilization
TYPICAL SERVER CPU
UTILIZATION
5
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
Device choice Software
optimization &
power
mngt
Green computing
 San Murugesan [4] define the «Green computing» as:
«the study and practice of designing, manufacturing, using, and disposing of computers,
servers, and associated subsystems efficiently and effectively with minimal or no impact
on the environment»
[4] San Murugesan. Harnessing green it: Principles and practices. IT professional, 2008.
6
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
Green computing
[4] San Murugesan. Harnessing green it: Principles and practices. IT professional, 2008.
7
Hardware
Energy consumption
Software
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 8
Select the right «path»: the automotive analogy.
 Fixed the car, and then its unit
consumption (litres/km)
 Fixed two point A and B
 Select the right path!
A
B
 Fixed the server tha run your
application
 Fixed the functional behavior
 Wrote the most efficient algorithm
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
Choosing a «good» software enables energy savings
INFRASTRUCTURE
Energy Overhead on
Datacenters
PUE(Power Usage Effectiveness)= ൗTotalPower
ITPower
Infrastructure amplifies server efficiency and inefficiency by a factor
equal to the PUE (Italy best-in-class = 1.2; Italy mean = 1.8)
SOFTWARE
Guides the Energy
Consumption of the
Servers
APR(ApplicationPowerRatio)= ൗServerPower
ServerIdle
Applications that satisfies the same functional requirements may
consume significantly different amounts of energy (on average 30%)
(CPU intensive = 1.7; Transactional application = 1.4)
100
140
252
Idle Server total Total DC
Un-efficient software
100
128
230
Idle Server total Total DC
APR optimized
40
112
22
APR = 1,4 APR – 30%
28
PUE = 1,8
94
PUE = 1,8
9
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
Know your enemy
10
86% 80%
It is hardly impossible to optimize what it is NOT monitored
NOT
companiesICT departments
NOT
[5] T. Restorick. “An inefficient truth”. Global Action Plan, 2007.
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
CAST
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
CAST company overview
 CAST is an independent software vendor that is a pioneer and world
leader in Software Analysis and Measurement (SAM)
 Founded in 1990, CAST is listed on Euronext (CAS.PA) and serves
IT-intensive Global 2000 enterprises and public sector institutions
worldwide. CAST has a presence in the Americas, EMEA, and India.
 CAST introduces fact-based transparency into software asset
management, application development, maintenance and sourcing to
transform it into a management discipline.
SAM
1990
FACT
BASED
Our mission is to provide a standard unit of measure for those who build, buy or sell
software
Measure what can be measured, and make measurable what cannot be measured.
Galileo Galilei (1564-1642)
12
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
CAST and its ecosystem
13
250+ ENTERPRISE CUSTOMERS
COUNT ON CAST
GLOBAL SYSTEM INTEGRATORS
RELY ON CAST
GLOBAL PRESENCE
USA, Germany, UK, France,
Belgium, Italy, Spain, India
MARKET LEADER, PURE
PLAYER, GLOBAL
NYSE Euronext
THE UNIT OF MEASURE FOR
THOSE WHO BUILD, BUY OR
SELL SOFTWARE
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
Enterprise-grade analysis requires a 3-tier approach
ArchitectureCompliance
 Intra-technology architecture
 Intra-layer dependencies
 Module complexity & cohesion
 Design & structure
 Inter-program invocation
 Security Vulnerabilities
Module Level
 Integration quality
 Architectural compliance
 Risk propagation
simulation
 Application security
 Resiliency checks
 Transaction integrity
 Function point & EFP
measurement
 Effort estimation
 Data access control
 SDK versioning
 Calibration across
technologies
System Level
Data FlowTransaction Risk
 Code style & layout
 Expression complexity
 Code documentation
 Class or program design
 Basic coding standards
Program Level
Propagation Risk
Java
JSP
EJB
PL/SQ
L
ASP.NET
Oracle
SQL
Server
DB2
T/SQL
Hibernate
Spring
Struts
.NET
C#
VB
COBOL
C++
COBOL
Sybase IMS
Messaging
Java
Web
Services
APIs
1
2
3
14
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
Verification of CISQ standards
CAST is the only SAM solution that inspects and verifies software
in accordance to CISQ’s recommendations
15
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
CISQ focuses on the software flaws that matter
 Software Risk Prevention:
 Focus on critical violations that matter
 Focus resources on areas of highest
impact not highest number of flags
“Tracking programming practices at the
Unit Level alone may not translate into the
anticipated business impact,…most
devastating defects can only be detected at
the System Level.”
- OMG
16
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 17
CAST Application Intelligence Platform (AIP)
Deep Insight into Critical Applications:
2. Best practices & industry Standards Checks
Architectural integrity and critical violations
3. Accurate Analytics & Benchmarks
1. System-Level* Analysis
Source code, transactions, data
structure
LOGIC
DATA ACCESS
APP ENGINEERING DASHBOARD
Critical Structural Flaws, Action Plans and eLearning
APPANALYTICS DASHBOARD
Business relevant Analytics
* “Architectural software flaws lead to
90% of the production issues.”
Dr. R. Soley, OMG/ PhD MIT
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
Risk analytics, a management scorecard
Portfolio-level risk and
saving opportunities
Likelihood of outage,
data integrity or
reliability issues
Resource consumption,
scalability and
performance issues
Security issues and high
likelihood of breaches
Adaptability to
changing regulations
and business needs
Ramp up difficulties
for newcomers
Standardized units of ADM work with consistent
technical and functional sizing for productivity
measurement
Cost to restore
applications back
to healthy state
Hard-to-find structural
flaws that may lead to
software catastrophes
18
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 19
Metric calculation
 For each rule a grade is computed.
 The grade is between [1,4], where 1 represent the very high risk and 4 the low risk.
– Below 3, risks and costs increase.
 Each rule has different thresholds accordingly to its risk importance
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 20
Quality Model, a key for unbiased measurement
Transferability
Changeability
Robustness
Efficiency
Size
Naming
Conventions
Documentation
Architecture
Complexity
Package naming
Class naming
Interface naming
Package comment
Class comment
Method comment
Package size
Class size (methods)
Interface size
Class complexity (Inh. depth)
Class complexity (Inh. width)
Artifacts having recursive calls
Method complexity (control flow)
Maintainability
Security
Programming
Practices
File conformity
Dead code
Controled data access
Structuredness
Modularity
Encapsulation conformity
Empty code
Inheritance
Risk drivers
Cost drivers
1500+architecturalandlanguage-specificcodechecks
Health FactorsCriteriaQuality Metrics Subset Application Quality
Multiple artifacts inserting data
on the same SQL table
Coupling Distribution
SQL Complexity Distribution
Green IT Index
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
CAST GREEN IT INDEX
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
The problem is simple, the solution is less so
 CAST has developed a four-pronged approach to guiding action based on simple
components
– Efficiency in operations – do the most with the least effort
– Complexity – Simple tends to take less time, less power, less support
– Programming – make the right choices
– Security – Prevent intrusion
CAST
Complexity
Programming Security
Energy can be saved by making software more efficient
Efficiency
22
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
The problem is simple, the solution is less so
 Lack of EFFICIENCY in IT operations waste energy
– Unnecessary CPU cycles means unnecessary kWh consumption
– IT operations run on electricity
– kWh production leads to CO2 emission (or equivalent)
Efficiency
23
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
The problem is simple, the solution is less so
 COMPLEXITY adds time, consumes power and delivers dubious improvements
EfficiencyEfficiency Complexity
24
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
The problem is simple, the solution is less so
 PROGRAMMING makes it so
– People have been used to ever-growing computing resources, omitting the impact on
the environment through the energy consumption
• Resulting in software that is far from optimized
EfficiencyEfficiency Complexity
Programming
25
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
The problem is simple, the solution is less so
 SECURITY should be a pervasive thought in all
EfficiencyEfficiency Complexity
Programming Security
26
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
How CAST support energy efficient software
 CAST offers a solution based on his Assessment Model
– The Green IT Index is a Business Criterion that aggregates Quality
Rules from existing high-impact Efficiency-related Technical Criteria
– as well as from most-severe Robustness-related Technical Criteria to
account for wasted resources when application functioning has been
compromised and require a restart/recovery
 CAST released this first version of this Green IT Index to leverage the
expertise and experience of select customers in order to fine-tune its
exact composition. Our experience has shown that it is more relevant
than ever.
 CAST can show how to make software more efficienct and save both
“Green” and ($) “Green”
27
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
Energy can be saved with software more efficient
 CAST support energy efficient software to identify pieces of software that
could be optimized to require less CPU resources.
 But:
– This is NOT about software pieces that require a lot of CPU resources
– This is about software pieces that WASTE a lot CPU resources
28
 Many other factors intervene in Software energy consumption
 Current indicator only covers the aspects that can be solved by evolving the
Software code
 It excludes Software design, deployment, …
 This indicator does not try to provide a CO2eq
 CO2eq  kWh is still a disputed and volatile ratio
 E.g.: 0.09 kg CO2eq  French kWh / 0.46 kq CO2eq  European kWh / …
 CPU cycle  kWh is a volatile ratio
 E.g.: running Unix environment on a z/Architecture / on IA-32 / on IA-64…
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 29
AAD Demo: Green IT Index
 http://demo-eu.castsoftware.com/AAD/
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 30
Green IT Index detail
 Select the application that you want to investigate
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
Green IT Index detail
 Investigate which rules impact the Green IT Index
31
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
Green IT index formula
 The Green IT Index is based on
– 5 Critical Technical from Efficiency
– 3 Critical Technical from Robustness
32
 Efficiency
 Efficiency – Expensive Calls in Loops
 Efficiency – Memory, Network and Disk Space Management
 Efficiency – SQL and Data Handling Performance
 Complexity – Dynamic Instantiation
 Complexity – SQL Queries
 Robustness
 Programming Practices – Error and Exception Handling
 Programming Practices – Unexpected Behavior
 Secure Coding – Time and State
3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16)
Questions
Marco Bessi
m.bessi@castsoftware.com
Solution Delivery Consultant
CAST Italia
Via San Vittore 49
20123 Milano (Italy)
 CAST wants to continue to investigate into this approach.
 You want to share your experience?

Más contenido relacionado

La actualidad más candente

Role of ICC in Promoting International Humanitarian Law
Role of ICC in Promoting International Humanitarian LawRole of ICC in Promoting International Humanitarian Law
Role of ICC in Promoting International Humanitarian Law
Anurag Chakma
 
2399 criminalistica y_cadena_de_custodia_dr._hipolito_alfredo_aguirre_salas_2...
2399 criminalistica y_cadena_de_custodia_dr._hipolito_alfredo_aguirre_salas_2...2399 criminalistica y_cadena_de_custodia_dr._hipolito_alfredo_aguirre_salas_2...
2399 criminalistica y_cadena_de_custodia_dr._hipolito_alfredo_aguirre_salas_2...
D Meza H Mh
 
El delincuente
El delincuenteEl delincuente
El delincuente
dereccho
 

La actualidad más candente (20)

Tercera semana teoria general del proceso...
Tercera semana teoria general del proceso...Tercera semana teoria general del proceso...
Tercera semana teoria general del proceso...
 
Teoria de la pena
Teoria de la penaTeoria de la pena
Teoria de la pena
 
Role of ICC in Promoting International Humanitarian Law
Role of ICC in Promoting International Humanitarian LawRole of ICC in Promoting International Humanitarian Law
Role of ICC in Promoting International Humanitarian Law
 
Mapa conceptual derecho administrativo
Mapa conceptual derecho administrativoMapa conceptual derecho administrativo
Mapa conceptual derecho administrativo
 
Mapa conceptual. procedimiento. carolina querales
Mapa conceptual. procedimiento. carolina queralesMapa conceptual. procedimiento. carolina querales
Mapa conceptual. procedimiento. carolina querales
 
Derecho Penal - PARTE GENERAL - Carlos Fontan Balestra
Derecho Penal - PARTE GENERAL - Carlos Fontan BalestraDerecho Penal - PARTE GENERAL - Carlos Fontan Balestra
Derecho Penal - PARTE GENERAL - Carlos Fontan Balestra
 
norma penal y ley penal
norma penal y ley penal norma penal y ley penal
norma penal y ley penal
 
International Air Navigation Law
International Air Navigation LawInternational Air Navigation Law
International Air Navigation Law
 
La corrupción en el sector privado II: tráfico de influencias
La corrupción en el sector privado II:tráfico de influenciasLa corrupción en el sector privado II:tráfico de influencias
La corrupción en el sector privado II: tráfico de influencias
 
DELITOS CONTRA LOS MEDIOS DE COMUNICACIÓN Y OTROS SERVICIOS PÚBLICOS.pptx
DELITOS CONTRA LOS MEDIOS DE COMUNICACIÓN Y OTROS SERVICIOS PÚBLICOS.pptxDELITOS CONTRA LOS MEDIOS DE COMUNICACIÓN Y OTROS SERVICIOS PÚBLICOS.pptx
DELITOS CONTRA LOS MEDIOS DE COMUNICACIÓN Y OTROS SERVICIOS PÚBLICOS.pptx
 
linea del tiempo de la corte penal internacional
linea del tiempo de la corte penal internacionallinea del tiempo de la corte penal internacional
linea del tiempo de la corte penal internacional
 
2399 criminalistica y_cadena_de_custodia_dr._hipolito_alfredo_aguirre_salas_2...
2399 criminalistica y_cadena_de_custodia_dr._hipolito_alfredo_aguirre_salas_2...2399 criminalistica y_cadena_de_custodia_dr._hipolito_alfredo_aguirre_salas_2...
2399 criminalistica y_cadena_de_custodia_dr._hipolito_alfredo_aguirre_salas_2...
 
Bases del sistema penitenciario mexicano, art 18 constitucional
Bases del sistema penitenciario mexicano, art 18 constitucionalBases del sistema penitenciario mexicano, art 18 constitucional
Bases del sistema penitenciario mexicano, art 18 constitucional
 
Corte interamericana de los derechos humanos ;703.
Corte interamericana de los derechos humanos ;703.Corte interamericana de los derechos humanos ;703.
Corte interamericana de los derechos humanos ;703.
 
Acciones constitucionales
Acciones constitucionalesAcciones constitucionales
Acciones constitucionales
 
Resumen acuerdo plenario
Resumen   acuerdo plenarioResumen   acuerdo plenario
Resumen acuerdo plenario
 
El delincuente
El delincuenteEl delincuente
El delincuente
 
Encase Forensic
Encase ForensicEncase Forensic
Encase Forensic
 
Derecho penal especial
Derecho penal especialDerecho penal especial
Derecho penal especial
 
Domestication of International Human Rights in Sri Lanka
Domestication of International Human Rights in Sri LankaDomestication of International Human Rights in Sri Lanka
Domestication of International Human Rights in Sri Lanka
 

Similar a Green indexes used in CAST to measure the energy consumption in code

International Journal of Computer Science and Security Volume (1) Issue (1)
International Journal of Computer Science and Security Volume (1) Issue (1)International Journal of Computer Science and Security Volume (1) Issue (1)
International Journal of Computer Science and Security Volume (1) Issue (1)
CSCJournals
 

Similar a Green indexes used in CAST to measure the energy consumption in code (20)

An analysis of software aging in cloud environment
An analysis of software aging in cloud environment  An analysis of software aging in cloud environment
An analysis of software aging in cloud environment
 
Benchmarking Techniques for Performance Analysis of Operating Systems and Pro...
Benchmarking Techniques for Performance Analysis of Operating Systems and Pro...Benchmarking Techniques for Performance Analysis of Operating Systems and Pro...
Benchmarking Techniques for Performance Analysis of Operating Systems and Pro...
 
50320140502003
5032014050200350320140502003
50320140502003
 
50320140502003
5032014050200350320140502003
50320140502003
 
ENVIRONMENTAL QUALITY PREDICTION AND ITS DEPLOYMENT
ENVIRONMENTAL QUALITY PREDICTION AND ITS DEPLOYMENTENVIRONMENTAL QUALITY PREDICTION AND ITS DEPLOYMENT
ENVIRONMENTAL QUALITY PREDICTION AND ITS DEPLOYMENT
 
26 7956 8212-1-rv software (edit)
26 7956 8212-1-rv software (edit)26 7956 8212-1-rv software (edit)
26 7956 8212-1-rv software (edit)
 
26 7956 8212-1-rv software (edit)
26 7956 8212-1-rv software (edit)26 7956 8212-1-rv software (edit)
26 7956 8212-1-rv software (edit)
 
Program Aging and Service Crash
Program Aging and Service CrashProgram Aging and Service Crash
Program Aging and Service Crash
 
Sustainability & AI Lecture Lorenz Kupfer Thomas Treml HAM 30. Mai 2022.pdf
Sustainability & AI Lecture Lorenz Kupfer Thomas Treml HAM  30. Mai 2022.pdfSustainability & AI Lecture Lorenz Kupfer Thomas Treml HAM  30. Mai 2022.pdf
Sustainability & AI Lecture Lorenz Kupfer Thomas Treml HAM 30. Mai 2022.pdf
 
A Review on Software Fault Detection and Prevention Mechanism in Software Dev...
A Review on Software Fault Detection and Prevention Mechanism in Software Dev...A Review on Software Fault Detection and Prevention Mechanism in Software Dev...
A Review on Software Fault Detection and Prevention Mechanism in Software Dev...
 
F017652530
F017652530F017652530
F017652530
 
IRJET- Air Quality Monitoring using CNN Classification
IRJET- Air Quality Monitoring using CNN ClassificationIRJET- Air Quality Monitoring using CNN Classification
IRJET- Air Quality Monitoring using CNN Classification
 
CRIME EXPLORATION AND FORECAST
CRIME EXPLORATION AND FORECASTCRIME EXPLORATION AND FORECAST
CRIME EXPLORATION AND FORECAST
 
sustainable computing
sustainable computingsustainable computing
sustainable computing
 
An Efficient Approach Towards Mitigating Soft Errors Risks
An Efficient Approach Towards Mitigating Soft Errors RisksAn Efficient Approach Towards Mitigating Soft Errors Risks
An Efficient Approach Towards Mitigating Soft Errors Risks
 
Performance analysis of binary and multiclass models using azure machine lear...
Performance analysis of binary and multiclass models using azure machine lear...Performance analysis of binary and multiclass models using azure machine lear...
Performance analysis of binary and multiclass models using azure machine lear...
 
IRJET- Comparison of Classification Algorithms using Machine Learning
IRJET- Comparison of Classification Algorithms using Machine LearningIRJET- Comparison of Classification Algorithms using Machine Learning
IRJET- Comparison of Classification Algorithms using Machine Learning
 
Reengineering framework for open source software using decision tree approach
Reengineering framework for open source software using decision tree approachReengineering framework for open source software using decision tree approach
Reengineering framework for open source software using decision tree approach
 
Techniques to Apply Artificial Intelligence in Power Plants
Techniques to Apply Artificial Intelligence in Power PlantsTechniques to Apply Artificial Intelligence in Power Plants
Techniques to Apply Artificial Intelligence in Power Plants
 
International Journal of Computer Science and Security Volume (1) Issue (1)
International Journal of Computer Science and Security Volume (1) Issue (1)International Journal of Computer Science and Security Volume (1) Issue (1)
International Journal of Computer Science and Security Volume (1) Issue (1)
 

Más de CAST

Application Performance: 6 Steps to Enhance Performance of Critical Systems
Application Performance: 6 Steps to Enhance Performance of Critical SystemsApplication Performance: 6 Steps to Enhance Performance of Critical Systems
Application Performance: 6 Steps to Enhance Performance of Critical Systems
CAST
 
Application Assessment - Executive Summary Report
Application Assessment - Executive Summary ReportApplication Assessment - Executive Summary Report
Application Assessment - Executive Summary Report
CAST
 
Cloud Migration: Azure acceleration with CAST Highlight
Cloud Migration: Azure acceleration with CAST HighlightCloud Migration: Azure acceleration with CAST Highlight
Cloud Migration: Azure acceleration with CAST Highlight
CAST
 
Cloud Readiness : CAST & Microsoft Azure Partnership Overview
Cloud Readiness : CAST & Microsoft Azure Partnership OverviewCloud Readiness : CAST & Microsoft Azure Partnership Overview
Cloud Readiness : CAST & Microsoft Azure Partnership Overview
CAST
 
Shifting Vendor Management Focus to Risk and Business Outcomes
Shifting Vendor Management Focus to Risk and Business OutcomesShifting Vendor Management Focus to Risk and Business Outcomes
Shifting Vendor Management Focus to Risk and Business Outcomes
CAST
 

Más de CAST (20)

Six steps-to-enhance-performance-of-critical-systems
Six steps-to-enhance-performance-of-critical-systemsSix steps-to-enhance-performance-of-critical-systems
Six steps-to-enhance-performance-of-critical-systems
 
Application Performance: 6 Steps to Enhance Performance of Critical Systems
Application Performance: 6 Steps to Enhance Performance of Critical SystemsApplication Performance: 6 Steps to Enhance Performance of Critical Systems
Application Performance: 6 Steps to Enhance Performance of Critical Systems
 
Application Assessment - Executive Summary Report
Application Assessment - Executive Summary ReportApplication Assessment - Executive Summary Report
Application Assessment - Executive Summary Report
 
Cloud Migration: Azure acceleration with CAST Highlight
Cloud Migration: Azure acceleration with CAST HighlightCloud Migration: Azure acceleration with CAST Highlight
Cloud Migration: Azure acceleration with CAST Highlight
 
Cloud Readiness : CAST & Microsoft Azure Partnership Overview
Cloud Readiness : CAST & Microsoft Azure Partnership OverviewCloud Readiness : CAST & Microsoft Azure Partnership Overview
Cloud Readiness : CAST & Microsoft Azure Partnership Overview
 
Cloud Migration: Cloud Readiness Assessment Case Study
Cloud Migration: Cloud Readiness Assessment Case StudyCloud Migration: Cloud Readiness Assessment Case Study
Cloud Migration: Cloud Readiness Assessment Case Study
 
Digital Transformation e-book: Taking the 20X20n approach to accelerating Dig...
Digital Transformation e-book: Taking the 20X20n approach to accelerating Dig...Digital Transformation e-book: Taking the 20X20n approach to accelerating Dig...
Digital Transformation e-book: Taking the 20X20n approach to accelerating Dig...
 
Why computers will never be safe
Why computers will never be safeWhy computers will never be safe
Why computers will never be safe
 
9 Steps to Creating ADM Budgets
9 Steps to Creating ADM Budgets9 Steps to Creating ADM Budgets
9 Steps to Creating ADM Budgets
 
Improving ADM Vendor Relationship through Outcome Based Contracts
Improving ADM Vendor Relationship through Outcome Based ContractsImproving ADM Vendor Relationship through Outcome Based Contracts
Improving ADM Vendor Relationship through Outcome Based Contracts
 
Drive Business Excellence with Outcomes-Based Contracting: The OBC Toolkit
Drive Business Excellence with Outcomes-Based Contracting: The OBC ToolkitDrive Business Excellence with Outcomes-Based Contracting: The OBC Toolkit
Drive Business Excellence with Outcomes-Based Contracting: The OBC Toolkit
 
CAST Highlight: Code-level portfolio analysis. FAST.
CAST Highlight: Code-level portfolio analysis. FAST.CAST Highlight: Code-level portfolio analysis. FAST.
CAST Highlight: Code-level portfolio analysis. FAST.
 
Shifting Vendor Management Focus to Risk and Business Outcomes
Shifting Vendor Management Focus to Risk and Business OutcomesShifting Vendor Management Focus to Risk and Business Outcomes
Shifting Vendor Management Focus to Risk and Business Outcomes
 
Applying Software Quality Models to Software Security
Applying Software Quality Models to Software SecurityApplying Software Quality Models to Software Security
Applying Software Quality Models to Software Security
 
The business case for software analysis & measurement
The business case for software analysis & measurementThe business case for software analysis & measurement
The business case for software analysis & measurement
 
Cast Highlight Software Maintenance Infographic
Cast Highlight Software Maintenance InfographicCast Highlight Software Maintenance Infographic
Cast Highlight Software Maintenance Infographic
 
What is system level analysis
What is system level analysisWhat is system level analysis
What is system level analysis
 
Deloitte Tech Trends 2014 Technical Debt
Deloitte Tech Trends 2014 Technical DebtDeloitte Tech Trends 2014 Technical Debt
Deloitte Tech Trends 2014 Technical Debt
 
What you should know about software measurement platforms
What you should know about software measurement platformsWhat you should know about software measurement platforms
What you should know about software measurement platforms
 
CRASH Report 2014
CRASH Report 2014CRASH Report 2014
CRASH Report 2014
 

Último

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Último (20)

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 

Green indexes used in CAST to measure the energy consumption in code

  • 1. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) GREEN INDEXES USED IN CAST TO MEASURE THE ENERGY CONSUMPTION IN CODE Marco Bessi Solution delivery consultant @ CAST September 7th, 2016
  • 2. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 1 Marco Bessi  Solution delivery consultant  CAST green evangelist  Computer science PhD on software energy efficiency estimation and optimization through Java bytecode reengineering  Collaborations with:
  • 3. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) GREEN ICT FOR A SUSTAINABLE WORLD
  • 4. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) Introduction  Gartner [1] said that 2% of total CO2 emissions is related to ICT  Energy in Datacenter [2]: [1] Gartner Symposium/ITxpo, 2007. [2] S.Pelley, D.Meisner, T.F.Wenisch, and J.W.VanGilder. Understanding and abstracting total datacenter power. In WEED2009. 3 56% server 30% cooling 14% others (network, light, ...)
  • 5. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 4 Introduction  In the last 10 years, IT systems become bigger and bigger, with a consequent growth of the IT energy consumptions Energy costs have dramatically increased Energy requirements represent one of the scalability issues of datacenters IT contributes strongly to the CO2 emissions 1 2 3
  • 6. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) Energy efficiency of Datacenters  Servers are rarely idle or working at full capacity [3] – Most of the time are between 10-50% – Idle or low capacity is a waste of energy [3] Luiz André Barroso and Urs Holzle. The case for energy-proportional computing. Computer, 40, 2007. 0 10 20 30 40 50 60 70 80 90 100 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Serverpowerusagepercentage CPU utilization PERCENTAGE OF POWER PEAK USAGE Power Energy efficiency 0 0,02 0,04 0,06 0,08 0,1 0,12 0% 5% 10% 15% 20% 25% 30% 35% 40% 45% 50% 55% 60% 65% 70% 75% 80% 85% 90% 95% 100% TimePercentage CPU Utilization TYPICAL SERVER CPU UTILIZATION 5
  • 7. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) Device choice Software optimization & power mngt Green computing  San Murugesan [4] define the «Green computing» as: «the study and practice of designing, manufacturing, using, and disposing of computers, servers, and associated subsystems efficiently and effectively with minimal or no impact on the environment» [4] San Murugesan. Harnessing green it: Principles and practices. IT professional, 2008. 6
  • 8. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) Green computing [4] San Murugesan. Harnessing green it: Principles and practices. IT professional, 2008. 7 Hardware Energy consumption Software
  • 9. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 8 Select the right «path»: the automotive analogy.  Fixed the car, and then its unit consumption (litres/km)  Fixed two point A and B  Select the right path! A B  Fixed the server tha run your application  Fixed the functional behavior  Wrote the most efficient algorithm
  • 10. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) Choosing a «good» software enables energy savings INFRASTRUCTURE Energy Overhead on Datacenters PUE(Power Usage Effectiveness)= ൗTotalPower ITPower Infrastructure amplifies server efficiency and inefficiency by a factor equal to the PUE (Italy best-in-class = 1.2; Italy mean = 1.8) SOFTWARE Guides the Energy Consumption of the Servers APR(ApplicationPowerRatio)= ൗServerPower ServerIdle Applications that satisfies the same functional requirements may consume significantly different amounts of energy (on average 30%) (CPU intensive = 1.7; Transactional application = 1.4) 100 140 252 Idle Server total Total DC Un-efficient software 100 128 230 Idle Server total Total DC APR optimized 40 112 22 APR = 1,4 APR – 30% 28 PUE = 1,8 94 PUE = 1,8 9
  • 11. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) Know your enemy 10 86% 80% It is hardly impossible to optimize what it is NOT monitored NOT companiesICT departments NOT [5] T. Restorick. “An inefficient truth”. Global Action Plan, 2007.
  • 12. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) CAST
  • 13. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) CAST company overview  CAST is an independent software vendor that is a pioneer and world leader in Software Analysis and Measurement (SAM)  Founded in 1990, CAST is listed on Euronext (CAS.PA) and serves IT-intensive Global 2000 enterprises and public sector institutions worldwide. CAST has a presence in the Americas, EMEA, and India.  CAST introduces fact-based transparency into software asset management, application development, maintenance and sourcing to transform it into a management discipline. SAM 1990 FACT BASED Our mission is to provide a standard unit of measure for those who build, buy or sell software Measure what can be measured, and make measurable what cannot be measured. Galileo Galilei (1564-1642) 12
  • 14. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) CAST and its ecosystem 13 250+ ENTERPRISE CUSTOMERS COUNT ON CAST GLOBAL SYSTEM INTEGRATORS RELY ON CAST GLOBAL PRESENCE USA, Germany, UK, France, Belgium, Italy, Spain, India MARKET LEADER, PURE PLAYER, GLOBAL NYSE Euronext THE UNIT OF MEASURE FOR THOSE WHO BUILD, BUY OR SELL SOFTWARE
  • 15. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) Enterprise-grade analysis requires a 3-tier approach ArchitectureCompliance  Intra-technology architecture  Intra-layer dependencies  Module complexity & cohesion  Design & structure  Inter-program invocation  Security Vulnerabilities Module Level  Integration quality  Architectural compliance  Risk propagation simulation  Application security  Resiliency checks  Transaction integrity  Function point & EFP measurement  Effort estimation  Data access control  SDK versioning  Calibration across technologies System Level Data FlowTransaction Risk  Code style & layout  Expression complexity  Code documentation  Class or program design  Basic coding standards Program Level Propagation Risk Java JSP EJB PL/SQ L ASP.NET Oracle SQL Server DB2 T/SQL Hibernate Spring Struts .NET C# VB COBOL C++ COBOL Sybase IMS Messaging Java Web Services APIs 1 2 3 14
  • 16. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) Verification of CISQ standards CAST is the only SAM solution that inspects and verifies software in accordance to CISQ’s recommendations 15
  • 17. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) CISQ focuses on the software flaws that matter  Software Risk Prevention:  Focus on critical violations that matter  Focus resources on areas of highest impact not highest number of flags “Tracking programming practices at the Unit Level alone may not translate into the anticipated business impact,…most devastating defects can only be detected at the System Level.” - OMG 16
  • 18. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 17 CAST Application Intelligence Platform (AIP) Deep Insight into Critical Applications: 2. Best practices & industry Standards Checks Architectural integrity and critical violations 3. Accurate Analytics & Benchmarks 1. System-Level* Analysis Source code, transactions, data structure LOGIC DATA ACCESS APP ENGINEERING DASHBOARD Critical Structural Flaws, Action Plans and eLearning APPANALYTICS DASHBOARD Business relevant Analytics * “Architectural software flaws lead to 90% of the production issues.” Dr. R. Soley, OMG/ PhD MIT
  • 19. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) Risk analytics, a management scorecard Portfolio-level risk and saving opportunities Likelihood of outage, data integrity or reliability issues Resource consumption, scalability and performance issues Security issues and high likelihood of breaches Adaptability to changing regulations and business needs Ramp up difficulties for newcomers Standardized units of ADM work with consistent technical and functional sizing for productivity measurement Cost to restore applications back to healthy state Hard-to-find structural flaws that may lead to software catastrophes 18
  • 20. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 19 Metric calculation  For each rule a grade is computed.  The grade is between [1,4], where 1 represent the very high risk and 4 the low risk. – Below 3, risks and costs increase.  Each rule has different thresholds accordingly to its risk importance
  • 21. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 20 Quality Model, a key for unbiased measurement Transferability Changeability Robustness Efficiency Size Naming Conventions Documentation Architecture Complexity Package naming Class naming Interface naming Package comment Class comment Method comment Package size Class size (methods) Interface size Class complexity (Inh. depth) Class complexity (Inh. width) Artifacts having recursive calls Method complexity (control flow) Maintainability Security Programming Practices File conformity Dead code Controled data access Structuredness Modularity Encapsulation conformity Empty code Inheritance Risk drivers Cost drivers 1500+architecturalandlanguage-specificcodechecks Health FactorsCriteriaQuality Metrics Subset Application Quality Multiple artifacts inserting data on the same SQL table Coupling Distribution SQL Complexity Distribution Green IT Index
  • 22. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) CAST GREEN IT INDEX
  • 23. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) The problem is simple, the solution is less so  CAST has developed a four-pronged approach to guiding action based on simple components – Efficiency in operations – do the most with the least effort – Complexity – Simple tends to take less time, less power, less support – Programming – make the right choices – Security – Prevent intrusion CAST Complexity Programming Security Energy can be saved by making software more efficient Efficiency 22
  • 24. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) The problem is simple, the solution is less so  Lack of EFFICIENCY in IT operations waste energy – Unnecessary CPU cycles means unnecessary kWh consumption – IT operations run on electricity – kWh production leads to CO2 emission (or equivalent) Efficiency 23
  • 25. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) The problem is simple, the solution is less so  COMPLEXITY adds time, consumes power and delivers dubious improvements EfficiencyEfficiency Complexity 24
  • 26. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) The problem is simple, the solution is less so  PROGRAMMING makes it so – People have been used to ever-growing computing resources, omitting the impact on the environment through the energy consumption • Resulting in software that is far from optimized EfficiencyEfficiency Complexity Programming 25
  • 27. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) The problem is simple, the solution is less so  SECURITY should be a pervasive thought in all EfficiencyEfficiency Complexity Programming Security 26
  • 28. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) How CAST support energy efficient software  CAST offers a solution based on his Assessment Model – The Green IT Index is a Business Criterion that aggregates Quality Rules from existing high-impact Efficiency-related Technical Criteria – as well as from most-severe Robustness-related Technical Criteria to account for wasted resources when application functioning has been compromised and require a restart/recovery  CAST released this first version of this Green IT Index to leverage the expertise and experience of select customers in order to fine-tune its exact composition. Our experience has shown that it is more relevant than ever.  CAST can show how to make software more efficienct and save both “Green” and ($) “Green” 27
  • 29. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) Energy can be saved with software more efficient  CAST support energy efficient software to identify pieces of software that could be optimized to require less CPU resources.  But: – This is NOT about software pieces that require a lot of CPU resources – This is about software pieces that WASTE a lot CPU resources 28  Many other factors intervene in Software energy consumption  Current indicator only covers the aspects that can be solved by evolving the Software code  It excludes Software design, deployment, …  This indicator does not try to provide a CO2eq  CO2eq  kWh is still a disputed and volatile ratio  E.g.: 0.09 kg CO2eq  French kWh / 0.46 kq CO2eq  European kWh / …  CPU cycle  kWh is a volatile ratio  E.g.: running Unix environment on a z/Architecture / on IA-32 / on IA-64…
  • 30. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 29 AAD Demo: Green IT Index  http://demo-eu.castsoftware.com/AAD/
  • 31. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) 30 Green IT Index detail  Select the application that you want to investigate
  • 32. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) Green IT Index detail  Investigate which rules impact the Green IT Index 31
  • 33. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) Green IT index formula  The Green IT Index is based on – 5 Critical Technical from Efficiency – 3 Critical Technical from Robustness 32  Efficiency  Efficiency – Expensive Calls in Loops  Efficiency – Memory, Network and Disk Space Management  Efficiency – SQL and Data Handling Performance  Complexity – Dynamic Instantiation  Complexity – SQL Queries  Robustness  Programming Practices – Error and Exception Handling  Programming Practices – Unexpected Behavior  Secure Coding – Time and State
  • 34. 3rd International Workshop on Measurement and Metrics for Green ans Sustainable Software Systems (MeGSuS’16) Questions Marco Bessi m.bessi@castsoftware.com Solution Delivery Consultant CAST Italia Via San Vittore 49 20123 Milano (Italy)  CAST wants to continue to investigate into this approach.  You want to share your experience?