RAPL commands on Intel Joule and turtlebot

asked 2021-03-12 11:56:08 -0500

albonicom gravatar image

updated 2022-08-07 09:03:32 -0500

lucasw gravatar image

Hi all, I know my question is not strictly related to ROS, but in fact, it's the kick-off for a ROS-system debugging. Therefore, I hope I'm still respecting the guidelines for answering ROS questions.

Just positioning you, we work with software energy consumption, and we're trying to grab the energy consumption of specific parts of ROS code by using RAPL counters (https://01.org/blogs/2014/running-ave... or https://www.kernel.org/doc/html/lates...). As far as we know, only Intel processors can be profiled by using RAPL.

In a previous study on ROS, we see that some of you have been using the Intel Joule SBC with turtlebot waffle.

On the Joule Website there is a single RAPL command that calls the power zone 0 (intel-rapl:0): cat /sys/class/powercap/intel-rapl/intel-rapl:0/energy_uj

Perhaps, we don't know whether it's merely representative or the only zone available on Joule.

So, my question is: do you know whether it's possible to have information of further zones, for instance, by running the following commands?

cat /sys/class/powercap/intel-rapl/intel-rapl:1/name cat /sys/class/powercap/intel-rapl/intel-rapl:2/name

I really appreciate your time!


edit retag flag offensive close merge delete