Mid Sweden University

miun.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
The Role of Compilers in the Energy Consumption of Java Applications
Mid Sweden University, Faculty of Science, Technology and Media, Department of Communication, Quality Management, and Information Systems (2023-).
Mid Sweden University, Faculty of Science, Technology and Media, Department of Communication, Quality Management, and Information Systems (2023-).
2024 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

An increasing actor in the global energy consumption is data centers. It is estimated that by 2025, 20% of the global energy consumption will be caused by data centers and these data centers are continuously running multiple instances of different executables. This study examines the impact of compiler selection on the energy consumption of Java executables, providing insights into how sustainable software development practices can be achieved. The methodology involved compiling five tests from the Computer Language Benchmark Game and one custom test with four different compilers: Oracles Javac, OpenJDKs Javac, Eclipse Compiler for Java, and Janino. The energy consumption of each compiled executable was measured using two different approaches: Running Average Power Limit and an oscilloscope measuring the entire system. Each execution and measuring process was made ten times. Statistical analysis was made using one-way Analysis of Variance to see if there were any significant differences, and confidence intervals were calculated to see if there were any practical differences. The findings show a slight difference in energy consumption between the executables, however, there was no statistical significance or practical difference for most tests. The custom A-poster test displayed statistical significance, but the data had considerable variance detracting from this result's reliability. The findings could suggest that compiler choices have minimal impact on energy consumption, but there could potentially be some savings on a larger scale. However, the results from this study were unreliable, and further research is needed for more reliable data.

Place, publisher, year, edition, pages
2024. , p. 14
Keywords [en]
Energy Consumption, Compilers, Java Executables, Oscilloscope Measurement, RAPL Measurement
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:miun:diva-51838OAI: oai:DiVA.org:miun-51838DiVA, id: diva2:1880807
Subject / course
Computer Engineering DT1
Educational program
Software Engineering TPVAG 120/180 higher education credits
Supervisors
Examiners
Available from: 2024-07-02 Created: 2024-07-02 Last updated: 2024-07-02Bibliographically approved

Open Access in DiVA

fulltext(575 kB)112 downloads
File information
File name FULLTEXT01.pdfFile size 575 kBChecksum SHA-512
ce00437689881ee54d1b51db11beee468f6a324364e5db38b0f297d0b8ca3777dc1902abf2dcc57fea1ec25ec69013de3519e154691f8edc2d62082eef385cea
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Madsen, RubenGunnarsson, Anton
By organisation
Department of Communication, Quality Management, and Information Systems (2023-)
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 112 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 213 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf