Page 1 of 1

kernel config - number of fragments cached

Posted: Thu Jan 04, 2024 8:44 pm
by trawglodyte

What is a good number to enter here? The documentation claims over 3 won't make much of a difference, but wouldn't more of the .sfs kept in RAM with less file reading be better? (assuming available memory) Also, I see an option for 'Use 4k device block size'. yes, no, or doesn't matter?
Image


Re: kernel config - number of fragments cached

Posted: Thu Jan 04, 2024 10:16 pm
by ozsouth

@trawglodyte - below are the relevant DOTconfig settings I use:

CONFIG_SQUASHFS_XATTR=y
CONFIG_SQUASHFS_ZLIB=y
CONFIG_SQUASHFS_LZ4=y
CONFIG_SQUASHFS_LZO=y
CONFIG_SQUASHFS_XZ=y
CONFIG_SQUASHFS_ZSTD=y
# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is not set
# CONFIG_SQUASHFS_EMBEDDED is not set
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
CONFIG_VXFS_FS=m
CONFIG_MINIX_FS=y