How to measure power consumption in odroid-XU4

Post Reply
anwechat
Posts: 20
Joined: Sat Jul 29, 2017 4:54 am
languages_spoken: english
ODROIDs: ODROID-XU4
Has thanked: 0
Been thanked: 0
Contact:

How to measure power consumption in odroid-XU4

Post by anwechat »

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

User avatar
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

Post by odroid »

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

anwechat
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

Post by anwechat »

Hi,
Can you please tell me the sampling rate of SmartPower2. I could not find that in the specifications.
Thanks.
Anwesha

User avatar
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

Post by odroid »

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.

anwechat
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

Post by anwechat »

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?

User avatar
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

Post by odroid »

No.

Abhijeeth
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

Post by Abhijeeth »

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.

User avatar
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

Post by odroid »

Stop posting the same questions here and there.

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 2 guests