kernel config - number of fragments cached

Moderator: Forum moderators

Post Reply
User avatar
trawglodyte
Posts: 236
Joined: Mon Dec 11, 2023 11:32 am
Location: my cave
Has thanked: 234 times
Been thanked: 72 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

Like a monkey trying to fly a space-ship. What's this button do?
Like a 12-yr old trying to wire a house. Gonna get zapped!

ozsouth
Posts: 1358
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 210 times
Been thanked: 601 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”