mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
cd59c2ec5f
Now squashfs have used for only one stream buffer for decompression so it hurts parallel read performance so this patch supports multiple decompressor to enhance performance parallel I/O. Four 1G file dd read on KVM machine which has 2 CPU and 4G memory. dd if=test/test1.dat of=/dev/null & dd if=test/test2.dat of=/dev/null & dd if=test/test3.dat of=/dev/null & dd if=test/test4.dat of=/dev/null & old : 1m39s -> new : 9s * From v1 * Change comp_strm with decomp_strm - Phillip * Change/add comments - Phillip Signed-off-by: Minchan Kim <minchan@kernel.org> Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
19 lines
549 B
Makefile
19 lines
549 B
Makefile
#
|
|
# Makefile for the linux squashfs routines.
|
|
#
|
|
|
|
obj-$(CONFIG_SQUASHFS) += squashfs.o
|
|
squashfs-y += block.o cache.o dir.o export.o file.o fragment.o id.o inode.o
|
|
squashfs-y += namei.o super.o symlink.o decompressor.o
|
|
|
|
squashfs-$(CONFIG_SQUASHFS_XATTR) += xattr.o xattr_id.o
|
|
squashfs-$(CONFIG_SQUASHFS_LZO) += lzo_wrapper.o
|
|
squashfs-$(CONFIG_SQUASHFS_XZ) += xz_wrapper.o
|
|
squashfs-$(CONFIG_SQUASHFS_ZLIB) += zlib_wrapper.o
|
|
|
|
ifdef CONFIG_SQUASHFS_MULTI_DECOMPRESSOR
|
|
squashfs-y += decompressor_multi.o
|
|
else
|
|
squashfs-y += decompressor_single.o
|
|
endif
|