Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to provide a package for RedHat based distributions #10

Open
ChristopheSchreiber opened this issue Oct 3, 2024 · 8 comments

Comments

@ChristopheSchreiber
Copy link

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
Copy link
Contributor

dsaingre commented Oct 3, 2024

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
Copy link
Author

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
Copy link
Contributor

dsaingre commented Oct 3, 2024

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
Copy link
Author

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

@dsaingre
Copy link
Contributor

dsaingre commented Oct 8, 2024

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 😄

@ChristopheSchreiber
Copy link
Author

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

@ChristopheSchreiber
Copy link
Author

Hi,
We have finally installed vJoule on our Red Hat 8 server, but unfortunately our version of libstdc++ seems incompatible with the one that you've used to build vJoule.
We are using the following versions:

GLIBC_2.28 and GLIBCXX_3.4.25
(libstdc++-devel-8.5.0-22.el8_10.x86_64
libstdc++-8.5.0-22.el8_10.x86_64
libstdc++-8.5.0-22.el8_10.i686)

Since we have limited rights on the server, do you think it would be possible to build a version of vJoule that would be compatible with these versions please ?
We've asked if an update to Red Hat 9 would be possible, but for now it isn't unfortunately.
Thanks in advance.

@ChristopheSchreiber
Copy link
Author

Hello, could you please provide me some feedback regarding my previous comment ?
Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants