Post #1275679
2024-09-02 15:57 UTC
@manawyrm having slept over this:
- Assuming you can do an immutable root (you probably can, and actually want to, makes the whole thing less likely to fail), rootfs on EROFS is probably the way to go
- Still surprised about LZ4 vmlinuz not being in total less energy than uncompressed vmlinux, might actually need to investigate that at some point: in the end, if reading twice as much data, to really reduce energy usage, you'd have to run at ~less than half the system current draw, and I don't…
Replies (1)
-
@funkylab@mastodon.social 2024-09-02 16:02
@manawyrm … see LZ4 really being a significant sink of CPU cycles - once you made the root FS read-only (and thus faster to mount), you can already boot, while, if necessary at all, your system starts mounting your persistent mutable storage. Here, again, same considerations as for the kernel image apply regarding compression: an SD card is so much slower than a CPU, it'd be surprising if the time saved by not reading twice the amount of data was not outweighing the energy cost