kernel config - number of fragments cached

Moderator: Forum moderators

Post Reply
User avatar
trawglodyte
Posts: 257
Joined: Mon Dec 11, 2023 11:32 am
Location: my cave
Has thanked: 234 times
Been thanked: 77 times

kernel config - number of fragments cached

Post 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

low-bar learner

ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Re: kernel config - number of fragments cached

Post 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

Post Reply

Return to “Kernels”