Ancestors

Written by Manawyrm | Sarah on 2024-09-01 at 21:22

New blog post:

Executing Linux applications on a Raspberry Pi in less than 3.5s from power-up! 🚀🏎️

(and other power saving tricks)

https://kittenlabs.de/blog/2024/09/01/extreme-pi-boot-optimization/

=> More informations about this toot | More toots from manawyrm@chaos.social

Written by Graham Sutherland / Polynomial on 2024-09-01 at 22:49

@manawyrm something worth trying is dropping the 5V supply voltage for the Pi down to 4V. the limited schematics available show the board using PAM2306 and RT8088 buck regulators to derive the 3.3V and VDD_CORE voltage rails. the PAM2306 goes from 60% efficient at 5V up to 85% efficient at 4V in, which is a major increase. the RT8088 gains a couple of percent efficiency by dropping to 4V too.

=> More informations about this toot | More toots from gsuberland@chaos.social

Written by Manawyrm | Sarah on 2024-09-02 at 07:32

@gsuberland Holy shit.

I just tried this and yes, you're totally right.

The switching regulator get's vastly more efficient at lower voltages.

I saved 20% total energy by reducing the input voltage down to 3.6V (updated blog post):

https://kittenlabs.de/blog/2024/09/01/extreme-pi-boot-optimization/#reducing-input-voltage

=> More informations about this toot | More toots from manawyrm@chaos.social

Written by thomask77 on 2024-09-02 at 07:48

@manawyrm @gsuberland would a zstd compressed kernel save some time?

=> More informations about this toot | More toots from thomask77@mastodon.gamedev.place

Written by Manawyrm | Sarah on 2024-09-02 at 07:50

@thomask77 @gsuberland Yes, saves a bit of time, but the decompression uses lots of energy.

Not the right tradeoff for my application (where total energy is king, not time).

SD cards are fast -- best option would probably be to write a home-grown mini bootloader and read an uncompressed kernel at full 50+ MByte/s.

=> More informations about this toot | More toots from manawyrm@chaos.social

Toot

Written by Z̈oé ⛵ on 2024-09-02 at 08:05

@manawyrm @thomask77 @gsuberland I see you’ve benchmarked gzip‘d kernel and intitramfs but zstd is optimized for fast decompression, so it can be a lot faster, and I wonder if it still uses more energy (and which compression setting is optimal)

especially if the video core loads the kernel and that step is slow

=> More informations about this toot | More toots from uint8_t@chaos.social

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113066923235546244
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
272.269426 milliseconds
Gemini-to-HTML Time
1.019581 milliseconds

This content has been proxied by September (ba2dc).