Saving power with Odroid-XU4

Share here your ideas for new projects
Post Reply
jaf_kh
Posts: 16
Joined: Thu Jul 25, 2019 4:09 pm
languages_spoken: english
ODROIDs: Odroid-XU4
Has thanked: 0
Been thanked: 8 times
Contact:

Saving power with Odroid-XU4

Unread post by jaf_kh » Thu Oct 17, 2019 10:56 pm

For those who are seeking for more power saving, we can configure Realtek 8153 ethernet controller and the associated USB 3 port (Realtek is internal USB device connected to USB 6/port 1) to go into suspended state when the network is idle or offline state when it is disconnected.
Power saving is 100mA (0.5W) when the cable is disconnected and 60mA (0.3W) when the network is connected but idle.

Code: Select all

sudo bash -c "echo auto > /sys/devices/platform/soc/soc:usb3-1/12400000.dwc3/xhci-hcd.6.auto/usb6/6-1/power/control"
to see the current status of the port

Code: Select all

cat /sys/devices/platform/soc/soc:usb3-1/12400000.dwc3/xhci-hcd.6.auto/usb6/6-1/power/runtime_status
These users thanked the author jaf_kh for the post:
rooted (Fri Oct 18, 2019 3:39 am)

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

Re: Saving power with Odroid-XU4

Unread post by mad_ady » Thu Oct 17, 2019 11:56 pm

Question is - does it wake up when it's idle and receives external traffic?
There were some tests that showed going with 100Mbps or 10Mbps reduce power further (but I think they were on c2)

User avatar
rooted
Posts: 6769
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 216 times
Been thanked: 41 times
Contact:

Re: Saving power with Odroid-XU4

Unread post by rooted » Fri Oct 18, 2019 3:39 am

Interesting find.

jaf_kh
Posts: 16
Joined: Thu Jul 25, 2019 4:09 pm
languages_spoken: english
ODROIDs: Odroid-XU4
Has thanked: 0
Been thanked: 8 times
Contact:

Re: Saving power with Odroid-XU4

Unread post by jaf_kh » Tue Oct 22, 2019 3:38 am

mad_ady wrote:
Thu Oct 17, 2019 11:56 pm
Question is - does it wake up when it's idle and receives external traffic?
There were some tests that showed going with 100Mbps or 10Mbps reduce power further (but I think they were on c2)
Yes, when it is idle it wakes up when it receives a traffic. In fact, it wakes up periodically (each ~2 seconds and remains active for few milliseconds then sleeps) when there is active connection to the board such as remote terminal.
I tested that with 100Mbps, but I believe the behavior is same for 1000Mbps since this affect USB3 port to which the ethernet chip is connected internally.
These users thanked the author jaf_kh for the post:
odroid (Tue Oct 22, 2019 12:00 pm)

Post Reply

Return to “The Ideas”

Who is online

Users browsing this forum: No registered users and 0 guests