/RJoules

Primary LanguageJupyter Notebook

RJoules

Towards Developing Energy Efficient R Programming

Description

RJoules measures the energy consumption of R code snippeton Intel processor and provides domain-level granular results. This tool can be serves as a valuable resource for developers and practitioners seeking to develop energy-aware applications using the R languaguage.

System Requirements

  1. Intel processors from the Celeron, Pentium, Core i3, i7, i9, and Xeon series, featuring the Sandy Bridge or newer architecture.
  2. Linux distribution Debian based operating system. We have tested on Ubuntu 20.04 and 22.04 Versions(recommended).
  3. Have R installed in your system.

Steps to run

  1. Clone the repository using git clone https://github.com/rishalab/RJoules.git
  2. Navigate into the RJoules_main directorycd RJoules_main and copy the path pwd
  3. For testing we have provided few test files. Take any of the test file and add the copied path in source.
  4. For checking the energy consumption due to the code snippet present in the test file, run the below command TESTFILENAME.R
  5. Check the energy measurement output vi output.csv
  6. This tool can be used to measure energy consumption of any code snippet written in R. For details please visit the Important links given below.

Usage

  1. Measuring energy consumption due to R code snippets.
  2. Check energy consumption of machine learning models developed in R

Important Links

  1. Demonstration Video
  2. Tool Website