Hi,
I want to get continuous power consumption for running specific applications on the Odroid-XU4 board. However, the energy monitor installed does not give any data on power. I have installed ubuntu 14.04 LTS with 3.10 linux kernel and perf counters enabled.
Is there any software based power modelling to measure power consumption in the board? Can someone please help me on how to record power consumption for the board?
Thank you.
-Anwesha
How to measure power consumption in odroid-XU4
- odroid
- Site Admin
- Posts: 36930
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 1595 times
- Been thanked: 1072 times
- Contact:
Re: How to measure power consumption in odroid-XU4
XU4 doesn't have the power measuring sensors on the board while the old XU3 had it.
http://www.hardkernel.com/main/products ... 0448267127
But it was discontinued over two years ago.
If you still want to measure the total system power consumption, you can try SmartPower2.
http://www.hardkernel.com/main/products ... 8048570542
http://www.hardkernel.com/main/products ... 0448267127
But it was discontinued over two years ago.
If you still want to measure the total system power consumption, you can try SmartPower2.
http://www.hardkernel.com/main/products ... 8048570542
-
- Posts: 20
- Joined: Sat Jul 29, 2017 4:54 am
- languages_spoken: english
- ODROIDs: ODROID-XU4
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: How to measure power consumption in odroid-XU4
Hi,
Can you please tell me the sampling rate of SmartPower2. I could not find that in the specifications.
Thanks.
Anwesha
Can you please tell me the sampling rate of SmartPower2. I could not find that in the specifications.
Thanks.
Anwesha
- odroid
- Site Admin
- Posts: 36930
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 1595 times
- Been thanked: 1072 times
- Contact:
Re: How to measure power consumption in odroid-XU4
Default sample rate is 1Hz.
https://github.com/hardkernel/smartpowe ... 2.ino#L120
If you modify the source code, 20Hz should be okay.
Since ADC conversion time of the INA231 is ~10msec, you can try up to 100Hz probably.
But I don't know whether 100Hz is enough for the software based power modeling on kernel perf counters or not.
BTW, the INA231 current sensor was also used in the XU3 board too.
https://github.com/hardkernel/smartpowe ... 2.ino#L120
If you modify the source code, 20Hz should be okay.
Since ADC conversion time of the INA231 is ~10msec, you can try up to 100Hz probably.
But I don't know whether 100Hz is enough for the software based power modeling on kernel perf counters or not.
BTW, the INA231 current sensor was also used in the XU3 board too.
-
- Posts: 20
- Joined: Sat Jul 29, 2017 4:54 am
- languages_spoken: english
- ODROIDs: ODROID-XU4
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: How to measure power consumption in odroid-XU4
I found out that the XU3 board energy monitor could collect voltage/power data for each core and gpu. Are those features available in Smart Power2?
- odroid
- Site Admin
- Posts: 36930
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 1595 times
- Been thanked: 1072 times
- Contact:
-
- Posts: 5
- Joined: Mon Dec 28, 2020 11:18 pm
- languages_spoken: english
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: How to measure power consumption in odroid-XU4
Hello,
I am a newbie to this odroid. I am doing power modeling of odroid XU4 by using telnet command and I am using perf static command to get the performance counters readings. The problem is I am getting power reading per second until the bench mark completes execution, but only one perf reading. I wanted to get the perf reading for every one second (i.e same amount of time that telnet commands executes) so that I can relate with the power reading with perf reading.
Please someone help me with this issue.
I am a newbie to this odroid. I am doing power modeling of odroid XU4 by using telnet command and I am using perf static command to get the performance counters readings. The problem is I am getting power reading per second until the bench mark completes execution, but only one perf reading. I wanted to get the perf reading for every one second (i.e same amount of time that telnet commands executes) so that I can relate with the power reading with perf reading.
Please someone help me with this issue.
- odroid
- Site Admin
- Posts: 36930
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 1595 times
- Been thanked: 1072 times
- Contact:
Who is online
Users browsing this forum: No registered users and 2 guests