Power consumption numbers

Post Reply
campbell
Posts: 387
Joined: Thu Sep 03, 2015 1:13 pm
languages_spoken: english
ODROIDs: N2, C2, C1+, XU4, XU3, Cloudshell, Smart Power
Has thanked: 1 time
Been thanked: 2 times
Contact:

Power consumption numbers

Unread post by campbell » Tue Feb 19, 2019 1:46 pm

Note these are VERY crude compared to what I normally get off the Smart Power for the 5V boards. I've got the Hardkernel-provided 12ish-volt power supply running through a cheap Radio Shack ammeter. I measured the open-circuit voltage of the supply as 12.3 volts before I plugged anything into it, but haven't re-measured it under load, so take these all with that particular grain of salt.

Max current seen during boot: 0.22ish amps (2.7ish W)
Base case, nothing plugged in except Gbit ethernet, interactive/ondemand governor: 0.138 amps (1.70 W)
Performance governor: 0.151 A (1.86 W)
ethernet limited to 100baseTX: 0.119 A (1.46 W)
ethernet limited to 10baseT: 0.117 A (1.44 W)
ethernet down: 0.112 A (1.38 W)

With USB disabled in device tree (fdt rm /usb2phy@ffe09000; fdt rm /usb3phy@ffe09080; fdt rm /dwc3@ff500000; fdt rm /dwc2_a@ff400000), ondemand, 10baseT: 0.086 A (~1.06 W)
Same, with A72 cores disabled: 0.084 A (~1.03 W)

Similar to the C2, we see a large drop in power consumption when we go from Gbit to 100baseTX Ethernet, and a relatively smaller drop from there to 10baseT or no ethernet at all. Unlike the C2, the difference in power consumption between USB and no USB is huge, because USB3 is just that much more power hungry.

Notably, disabling the A72 cores has one of the smallest, hardest-to-measure effects on idle power consumption. So I can't think of any reason you'd want to do this, and I'm not sure why it's an option exposed in the boot.ini and on the wiki. Maybe if you are concerned about power consumption at the upper end of the scale.

Also of note, similar to the C2 running the Hardkernel kernel (but not the mainline kernel), the idle power consumption drops by ~60 mW after 10-15 minutes of uptime for reasons unknown.

cap00k
Posts: 92
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID
Has thanked: 0
Been thanked: 10 times
Contact:

Re: Power consumption numbers

Unread post by cap00k » Tue Feb 19, 2019 2:49 pm

Hi, campbell
You can disable usb-hub IC separately from disabling usb-phy.

usb-hub disable

Code: Select all

echo assert > /sys/devices/platform/gpio-reset/reset-usb_hub_en/control
echo assert > /sys/devices/platform/gpio-reset/reset-usb_hub/control
usb-hub enable

Code: Select all

echo deassert > /sys/devices/platform/gpio-reset/reset-usb_hub_en/control
echo deassert > /sys/devices/platform/gpio-reset/reset-usb_hub/control
usb-hub reset, default duration 100 ms.
It is adjustable via the duration_ms node.

Code: Select all

cat /sys/devices/platform/gpio-reset/reset-usb_hub_en/duration_ms
100
echo reset > /sys/devices/platform/gpio-reset/reset-usb_hub_en/control
echo reset > /sys/devices/platform/gpio-reset/reset-usb_hub/control

campbell
Posts: 387
Joined: Thu Sep 03, 2015 1:13 pm
languages_spoken: english
ODROIDs: N2, C2, C1+, XU4, XU3, Cloudshell, Smart Power
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Power consumption numbers

Unread post by campbell » Tue Feb 19, 2019 3:12 pm

Some more numbers (these are by eyeball, not rigorous mean over a whole run):

While compiling kernel with make -j6: 0.40 A (~4.9 W)
While running floating point code that exercises all six cores: 0.50 A (~6.2 W)

User avatar
mad_ady
Posts: 7332
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 346 times
Been thanked: 252 times
Contact:

Re: Power consumption numbers

Unread post by mad_ady » Tue Feb 19, 2019 8:29 pm

It's great that you can reset the usb bus :) I wonder if you can chose which bus you want to reset or if both get reset.

User avatar
odroid
Site Admin
Posts: 33269
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 365 times
Been thanked: 445 times
Contact:

Re: Power consumption numbers

Unread post by odroid » Wed Feb 20, 2019 9:14 am

All four host ports must be reset at the same time since there is only one controllable pin on the hub IC.

User avatar
mad_ady
Posts: 7332
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 346 times
Been thanked: 252 times
Contact:

Re: Power consumption numbers

Unread post by mad_ady » Wed Feb 20, 2019 2:58 pm

Yes, but are there two usb hubs (one for usb3 and one for otg), or does the otg port use the same hub?

User avatar
odroid
Site Admin
Posts: 33269
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 365 times
Been thanked: 445 times
Contact:

Re: Power consumption numbers

Unread post by odroid » Wed Feb 20, 2019 3:01 pm

Argh, we might not implement a programmable reset hardware for the OTG port. :(
We will try to find a workaround i.e. manually switching host <-> device mode or similar way.

User avatar
mad_ady
Posts: 7332
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 346 times
Been thanked: 252 times
Contact:

Re: Power consumption numbers

Unread post by mad_ady » Wed Feb 20, 2019 4:13 pm

It shouldn't be an issue. At least it lets you cut off devices connected to usb3 ports (but do usb2 devices connected to the usb3 port speak over the usb2 bus/ic)?

User avatar
odroid
Site Admin
Posts: 33269
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 365 times
Been thanked: 445 times
Contact:

Re: Power consumption numbers

Unread post by odroid » Wed Feb 20, 2019 4:18 pm

@mad_ady,
Too much off topic. Create your own thread. ;)

@campbell,
Sorry for our hijacking.

nikodemus
Posts: 30
Joined: Fri Mar 08, 2019 2:15 pm
languages_spoken: german, english
ODROIDs: C1, C2, XU4, N2
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: Power consumption numbers

Unread post by nikodemus » Sat Mar 16, 2019 5:53 am

Anyone has an idea, if there will be a measurable increase when using the "big" 4GB board?

campbell
Posts: 387
Joined: Thu Sep 03, 2015 1:13 pm
languages_spoken: english
ODROIDs: N2, C2, C1+, XU4, XU3, Cloudshell, Smart Power
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Power consumption numbers

Unread post by campbell » Sat Mar 16, 2019 7:19 am

nikodemus wrote:
Sat Mar 16, 2019 5:53 am
Anyone has an idea, if there will be a measurable increase when using the "big" 4GB board?
I would imagine so. The old rule of thumb was 80 mW per GB at idle, I don't know if that applies to the LPDDR4 we're using on the N2. The numbers above are for the 4 GB version.

Pelican
Posts: 22
Joined: Fri Feb 22, 2019 7:13 am
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Power consumption numbers

Unread post by Pelican » Sun Mar 17, 2019 6:51 am


User avatar
alpha_one_x86
Posts: 101
Joined: Wed Aug 27, 2014 6:47 am
languages_spoken: french, english, spanish
ODROIDs: U3, C1, C2, N2, H2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Power consumption numbers

Unread post by alpha_one_x86 » Fri Feb 07, 2020 12:04 am

How you do:
fdt rm /usb2phy@ffe09000; fdt rm /usb3phy@ffe09080; fdt rm /dwc3@ff500000; fdt rm /dwc2_a@ff400000
?
Apply after reboot?
Developer of ImageUltracopier/ImageSupercopier and of the game ImageCatchChallenger

User avatar
mad_ady
Posts: 7332
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 346 times
Been thanked: 252 times
Contact:

Re: Power consumption numbers

Unread post by mad_ady » Fri Feb 07, 2020 1:23 am

I think it's in boot.ini, before boot

User avatar
alpha_one_x86
Posts: 101
Joined: Wed Aug 27, 2014 6:47 am
languages_spoken: french, english, spanish
ODROIDs: U3, C1, C2, N2, H2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Power consumption numbers

Unread post by alpha_one_x86 » Fri Feb 07, 2020 9:05 am

Anyone test disable GPU?
Developer of ImageUltracopier/ImageSupercopier and of the game ImageCatchChallenger

evrflx
Posts: 18
Joined: Fri Apr 05, 2019 4:16 am
languages_spoken: english
ODROIDs: 4 C2, 2 XU4, 5 N2
Has thanked: 0
Been thanked: 3 times
Contact:

Re: Power consumption numbers

Unread post by evrflx » Sat Feb 15, 2020 6:08 pm

How can the GPU be disabled?

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: terrorpup, tobetter and 2 guests