Loading from squashfs with zstd compression slower than ext4

Jonathan Liu net147 at gmail.com
Wed May 31 14:52:33 CEST 2023

Hi All,

I noticed that loading from squashfs with zstd compression is
significantly slower than ext4 on RK3399 using U-Boot 2022.01. The
filesystem is located on eMMC.

I have CONFIG_BLOCK_CACHE=y in .config and am using the generic load command.

15682578 bytes read in 366 ms (40.9 MiB/s)

SquashFS with zstd compression:
15685001 bytes read in 2339 ms (6.4 MiB/s)

Any suggestions on how to speed up loading from SquashFS with zstd compression?



More information about the U-Boot mailing list