Skip to content
Snippets Groups Projects
Commit 9d996c49 authored by Matthias Schiffer's avatar Matthias Schiffer Committed by David Bauer
Browse files

generic: reduce squashfs block size to 256KiB

In OpenWrt 19.07, the block size was increased to 1024KiB for "tiny"
devices by default to save flash. Unfortunately, this also significantly
increases the cache memory required by squashfs.

In my test, the increased block size reduced the image size by ~64KiB,
but increased the RAM usage by ~2.6MiB. As most tiny devices have only
32MiB of RAM, this is not a reasonable tradeoff.

The ar71xx-generic target already defines an even lower block size of
64KiB.

(cherry picked from commit 7e8af99c)
parent 58fc1aae
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment