[OpenWrt-Devel] [PATCH] config: extend small_flash feature
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.
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 |
Maybe I'll find the time to do some tests, but this has quite an
impact on free memory for 32mb devices.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel