davidson-consulting / vjoule

A tool to estimate the energy consumption of your processes
https://davidson-consulting.github.io/vjoule/
GNU General Public License v3.0
10 stars 0 forks source link

Possibility to provide a package for RedHat based distributions #10

Open ChristopheSchreiber opened 1 month ago

ChristopheSchreiber commented 1 month ago

Hello, My company is currently studying the possibility to use vJoule to measure the energy consumption of some of our applications, but unfortunately we are not able to use it because all our servers are running RedHat based OS, and we can't build vJoule ourself because of some proxy issues. Do you have any plan to propose other distribution packages or will you continue to provide only Debian based packages ? Thanks in advance !

dsaingre commented 1 month ago

Hi @ChristopheSchreiber, Thanks for your interest for vJoule! We can try to provide a package for Red Hat. We will try next week and I'll keep you updated on that.

On a side note, we could be interested in understanding your potential usage of vJoule and what kind of measurements/experiments you would be interested in. We can provide guidelines and feedback on this topic. Would you be interested in discussing about it?

ChristopheSchreiber commented 1 month ago

Thanks for your answer, it would definitely help us if you could provide such package :) Our purpose is to validate the code analysis rules in place in the company that are tagged as "greencoding" by analysing energy consumption of a code sample that reproduces issue, and a fixed version of the code. As of now, we don't need any particular help, we'll start with a POC once we will be able to install vJoule on a server.

dsaingre commented 1 month ago

Thanks for the insights. That's an interesting project indeed! Do you have access to a baremetal server? (i.e without a virtualization / VM layer). vJoule, like many other tools, gathers energy measurements from RAPL. Reading RAPL from within a VM is often not possible (and would not useful as it would be affected by the "noises" induced by the other VMs running on the same host).

ChristopheSchreiber commented 1 month ago

Yes, we intend to execute our tests on a baremetal instance.

dsaingre commented 1 month ago

Hi @ChristopheSchreiber, I've updated the release (https://github.com/davidson-consulting/vjoule/releases/tag/v1.3.0) to include a RPM release. You should be able to install it with yum (like sudo yum localinstall vjoule-1.3.0-1.noarch.rpm). I've tested it on a baremetal CentOS server and it seems to work. The release include the systemd service (vjoule_service), the related CLI (vjoule) with its "simple" core.

However, it does not include the plugin for NVIDIA NVML reading (for GPUs) as I couldn't find yet the correct package to install the required dependency. However you should be able to read RAPL properly.

If you find any issue with the package feel free to say and I'll have a look :smile:

ChristopheSchreiber commented 1 month ago

Thanks a lot, we will test it as soon as possible and will let you know if it's working.