[OpenWrt-Devel] [PATCH] config: extend small_flash feature

Martin Tippmann mt at i3o.de
Wed May 30 13:22:14 EDT 2018


On Wed, May 30, 2018 at 3:21 PM, Alex Maclean <monkeh at monkeh.net> wrote:
> change the squashfs block size to 1024KiB.

This might cause a problem with memory. You might also want to change

CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE from 3 to 1

in the kernel config.
https://cateee.net/lkddb/web-lkddb/SQUASHFS_FRAGMENT_CACHE_SIZE.html

This defines the blocks that are stored decompressed in memory, as far
as I know this memory is not easily reclaimable and you might run into
issues with a cache size of 3 and 1024kb blocks.
If someone might want to some tests on ar71xx - cat /proc/meminfo -
MemAvailable should be higher after doing something like find /usr |
xargs md5sum

Maybe I'll find the time to do some tests, but this has quite an
impact on free memory for 32mb devices.

regards
Martin

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/listinfo/openwrt-devel



More information about the openwrt-devel mailing list