powerapi-ng / pyRAPL

a library to measure the python energy consumption of python code
MIT License
100 stars 9 forks source link

Negative energy_uj measurement #19

Open Apisteftos opened 1 year ago

Apisteftos commented 1 year ago

Hello everyone,

I took some measurements today during the inference from a Neural Network model from a two-socket server processor. The server has two AMD sockets and during the measurement I get from one socket high negative energy in microjoules. Joule has unit in Coulomb * Volt. Coulomb is the electrical charge, I suppose if something is wrong with the measured energy in microjoules from the sensor, either has something changed the electrical charge or something else happening.

What would be that in your opinion? A negative charge, a software issue or something else?

Btw the cooling system was not working properly, maybe that contributed to noise and inference from the heat.