Towards the Impact of Design Flaws
on the Resources used by an
Application
Candidate: Şerban STOENESCU
Supervisor:
Assistant Professor, PhD. Eng. Cristina MARINESCU
1. Introduction
Content
 1. Introduction
 2. Related Work
 3. Case Studies
 4. Results Interpretation
 5. Conclusions and Future Work
 6. References
1. Introduction
 Do design flaws have an impact on resource usage?
 We performed two case studies
– A very simple one
– A large, well-known open source system
 Tools used:
InFusion
http://www.intooitus.com/products/infusion
Hyperic SIGAR
http://www.hyperic.com/products/sigar
2. Related work
 Some work in this direction was done
 Hindle performed a study that investigates the
correlation between software changes and energy
consumption [1] (energy consumption scales linearly
with resource usage, according to [3])
 He does not take isolated changes
 Grosskop and Visser [2] proposed an energy model
for an application and some application-level
optimizations, but they are not related to design
flaws
3. Case Study Setup: Case
Study A
 Simple case study
 Tackles one design flaw: Data Class
3. Case Study A scenarios
(from [4])
3. Case Study A results (from
[4])
3. Case Study Setup: Case
Study B
 Takes on a larger system: JhotDraw 5.4
 We run unit tests for the original version
 We measure the resource usage
 We refactor design flaws
 After removing/reducing each design flaw, we run
the tests again and perform the measurements
again
 The source code for the refactorings are available at
http://cs.upt.ro/~cristina/jhotdraw-refactorings.zip
3. Case Study B resuls (from
[4])
4. Case Study A: Results
Interpretation
 Memory and CPU usage are higher in Scenario 2
(with Data Class)
4. Case Study B: Results
Interpretation
 Design flaws do have an impact on resource usage
 In all versions, the used memory is less than in the
original version
 The CPU usage varies both upwards and
downwards compared to the initial version
5. Conclusions and Future
Work
 We provide evidence of the impact of various design
flaws on the resource usage of a software system
 We showed that:
– They influence CPU time
– They increase memory usage
5. Conclusions and Future
Work (continued)
 Design flaws implied:
- Cyclic Dependencies
- Data Clumps
- Blob Operations
- Data Classes
- God Class
- Intensive Coupling,
- Feature Envy
- Schizophrenic Classes
5. Conclusions and Future
Work (continued)
 The experiment is dependent on the test cases
available
 Further investigations on other systems can be done
 An application can be deployed in a cloud
environment and the same measurements can be
performed again
6. References
[1] A. Hindle, “Green mining: Investigating power consumption across
versions.” in ICSE, M. Glinz, G. C. Murphy, and M. Pezz, Eds. IEEE,
2012, pp. 1301–1304. [Online]. Available: http://dblp.uni-trier.de/db/
conf/icse/icse2012.html#Hindle12
[2] K. Grosskop and J. Visser, “Identification of application-level energy
optimizations,” in Proceedings of ICT for Sustainability (ICT4S
2013), 2013, pp. 101–107
[3] X. Fan, W.-D. Weber, and L. A. Barroso, “Power provisioning for a
warehouse-sized computer,” in The 34th ACM International
Symposium on Computer Architecture, 2007..
[4] „Towards the Impact of Design Flaws on the Resources used
by an Application” by Cristina Marinescu, Serban Stoenescu
and Teodor-Florin Fortis
Thank you for your attention!

More Related Content

PPTX
PhD Pre-Thesis
PPTX
Marco Couto's Msc Thesis Presentation
PPTX
KREAM@ICCS2013
PDF
Customer Success Story: IEEE Xplore Inspires Innovation
DOC
Resume
PDF
Advancing Software for Ecological Forecasting: Public Sessions
PPT
Smart buildings important
PDF
Challenges in Physical Modeling for Adaptation of Cyber-Physical Systems
PhD Pre-Thesis
Marco Couto's Msc Thesis Presentation
KREAM@ICCS2013
Customer Success Story: IEEE Xplore Inspires Innovation
Resume
Advancing Software for Ecological Forecasting: Public Sessions
Smart buildings important
Challenges in Physical Modeling for Adaptation of Cyber-Physical Systems

Similar to Towards the impact of design flaws on resources used by an application (17)

PDF
Static Energy Prediction in Software: A Worst-Case Scenario Approach
PDF
Products go Green: Worst-Case Energy Consumption in Software Product Lines
PDF
SC17 Panel: Energy Efficiency Gains From HPC Software
PDF
Initial Explorations on Design Pattern Energy Usage (GREENS 12)
PPTX
Rui Pereira's PhD Pre-Thesis
PPTX
Energy efficient mobile computing techniques in smartphones
PPTX
Let's Talk a Bit About: Green Software
PDF
Resilience at Extreme Scale
PDF
Presentation Joost Visser / SIG - what can be green about software- Workshop ...
PDF
ECE260BMiniProject2Report
PDF
Resilience at exascale
PDF
Security Introspection for Software Reuse
PDF
Mainframes agile2012
PDF
Feasibility study of pervasive computing
PDF
Presentation SIG, Green IT Amsterdam workshop Green Software 12 apr 2011, Gre...
PPTX
SAST and Application Security: how to fight vulnerabilities in the code
PDF
What Can FPGA Designers Do With Personal Data Centers?
Static Energy Prediction in Software: A Worst-Case Scenario Approach
Products go Green: Worst-Case Energy Consumption in Software Product Lines
SC17 Panel: Energy Efficiency Gains From HPC Software
Initial Explorations on Design Pattern Energy Usage (GREENS 12)
Rui Pereira's PhD Pre-Thesis
Energy efficient mobile computing techniques in smartphones
Let's Talk a Bit About: Green Software
Resilience at Extreme Scale
Presentation Joost Visser / SIG - what can be green about software- Workshop ...
ECE260BMiniProject2Report
Resilience at exascale
Security Introspection for Software Reuse
Mainframes agile2012
Feasibility study of pervasive computing
Presentation SIG, Green IT Amsterdam workshop Green Software 12 apr 2011, Gre...
SAST and Application Security: how to fight vulnerabilities in the code
What Can FPGA Designers Do With Personal Data Centers?
Ad

More from Serban Stoenescu (9)

PDF
ReAjax report
PDF
ReAjax Presentation
PDF
Javolution rtsd
PDF
Anunt inchiriere apartament_soarelui
ODP
Sisteme expert mps2
ODP
Sisteme expert mps
PPT
Standing on principle
ODP
Standing on principle
PPT
100 NASA rules for project management
ReAjax report
ReAjax Presentation
Javolution rtsd
Anunt inchiriere apartament_soarelui
Sisteme expert mps2
Sisteme expert mps
Standing on principle
Standing on principle
100 NASA rules for project management
Ad

Recently uploaded (20)

PDF
Race Reva University – Shaping Future Leaders in Artificial Intelligence
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
CRP102_SAGALASSOS_Final_Projects_2025.pdf
PPTX
What’s under the hood: Parsing standardized learning content for AI
PDF
Complications of Minimal Access-Surgery.pdf
PDF
IP : I ; Unit I : Preformulation Studies
PPTX
DRUGS USED FOR HORMONAL DISORDER, SUPPLIMENTATION, CONTRACEPTION, & MEDICAL T...
PPTX
Module on health assessment of CHN. pptx
PDF
Empowerment Technology for Senior High School Guide
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
HVAC Specification 2024 according to central public works department
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
International_Financial_Reporting_Standa.pdf
PDF
Journal of Dental Science - UDMY (2021).pdf
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
PDF
My India Quiz Book_20210205121199924.pdf
Race Reva University – Shaping Future Leaders in Artificial Intelligence
FORM 1 BIOLOGY MIND MAPS and their schemes
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
CRP102_SAGALASSOS_Final_Projects_2025.pdf
What’s under the hood: Parsing standardized learning content for AI
Complications of Minimal Access-Surgery.pdf
IP : I ; Unit I : Preformulation Studies
DRUGS USED FOR HORMONAL DISORDER, SUPPLIMENTATION, CONTRACEPTION, & MEDICAL T...
Module on health assessment of CHN. pptx
Empowerment Technology for Senior High School Guide
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
AI-driven educational solutions for real-life interventions in the Philippine...
HVAC Specification 2024 according to central public works department
Introduction to pro and eukaryotes and differences.pptx
International_Financial_Reporting_Standa.pdf
Journal of Dental Science - UDMY (2021).pdf
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
Cambridge-Practice-Tests-for-IELTS-12.docx
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
My India Quiz Book_20210205121199924.pdf

Towards the impact of design flaws on resources used by an application

  • 1. Towards the Impact of Design Flaws on the Resources used by an Application Candidate: Şerban STOENESCU Supervisor: Assistant Professor, PhD. Eng. Cristina MARINESCU
  • 3. Content  1. Introduction  2. Related Work  3. Case Studies  4. Results Interpretation  5. Conclusions and Future Work  6. References
  • 4. 1. Introduction  Do design flaws have an impact on resource usage?  We performed two case studies – A very simple one – A large, well-known open source system  Tools used: InFusion http://www.intooitus.com/products/infusion Hyperic SIGAR http://www.hyperic.com/products/sigar
  • 5. 2. Related work  Some work in this direction was done  Hindle performed a study that investigates the correlation between software changes and energy consumption [1] (energy consumption scales linearly with resource usage, according to [3])  He does not take isolated changes  Grosskop and Visser [2] proposed an energy model for an application and some application-level optimizations, but they are not related to design flaws
  • 6. 3. Case Study Setup: Case Study A  Simple case study  Tackles one design flaw: Data Class
  • 7. 3. Case Study A scenarios (from [4])
  • 8. 3. Case Study A results (from [4])
  • 9. 3. Case Study Setup: Case Study B  Takes on a larger system: JhotDraw 5.4  We run unit tests for the original version  We measure the resource usage  We refactor design flaws  After removing/reducing each design flaw, we run the tests again and perform the measurements again  The source code for the refactorings are available at http://cs.upt.ro/~cristina/jhotdraw-refactorings.zip
  • 10. 3. Case Study B resuls (from [4])
  • 11. 4. Case Study A: Results Interpretation  Memory and CPU usage are higher in Scenario 2 (with Data Class)
  • 12. 4. Case Study B: Results Interpretation  Design flaws do have an impact on resource usage  In all versions, the used memory is less than in the original version  The CPU usage varies both upwards and downwards compared to the initial version
  • 13. 5. Conclusions and Future Work  We provide evidence of the impact of various design flaws on the resource usage of a software system  We showed that: – They influence CPU time – They increase memory usage
  • 14. 5. Conclusions and Future Work (continued)  Design flaws implied: - Cyclic Dependencies - Data Clumps - Blob Operations - Data Classes - God Class - Intensive Coupling, - Feature Envy - Schizophrenic Classes
  • 15. 5. Conclusions and Future Work (continued)  The experiment is dependent on the test cases available  Further investigations on other systems can be done  An application can be deployed in a cloud environment and the same measurements can be performed again
  • 16. 6. References [1] A. Hindle, “Green mining: Investigating power consumption across versions.” in ICSE, M. Glinz, G. C. Murphy, and M. Pezz, Eds. IEEE, 2012, pp. 1301–1304. [Online]. Available: http://dblp.uni-trier.de/db/ conf/icse/icse2012.html#Hindle12 [2] K. Grosskop and J. Visser, “Identification of application-level energy optimizations,” in Proceedings of ICT for Sustainability (ICT4S 2013), 2013, pp. 101–107 [3] X. Fan, W.-D. Weber, and L. A. Barroso, “Power provisioning for a warehouse-sized computer,” in The 34th ACM International Symposium on Computer Architecture, 2007.. [4] „Towards the Impact of Design Flaws on the Resources used by an Application” by Cristina Marinescu, Serban Stoenescu and Teodor-Florin Fortis
  • 17. Thank you for your attention!