• Minchan Kim's avatar
    squashfs: Enhance parallel I/O · cd59c2ec
    Minchan Kim authored
    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: default avatarMinchan Kim <minchan@kernel.org>
    Signed-off-by: default avatarPhillip Lougher <phillip@squashfs.org.uk>
    cd59c2ec
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
block.c Loading commit data...
cache.c Loading commit data...
decompressor.c Loading commit data...
decompressor.h Loading commit data...
decompressor_multi.c Loading commit data...
decompressor_single.c Loading commit data...
dir.c Loading commit data...
export.c Loading commit data...
file.c Loading commit data...
fragment.c Loading commit data...
id.c Loading commit data...
inode.c Loading commit data...
lzo_wrapper.c Loading commit data...
namei.c Loading commit data...
squashfs.h Loading commit data...
squashfs_fs.h Loading commit data...
squashfs_fs_i.h Loading commit data...
squashfs_fs_sb.h Loading commit data...
super.c Loading commit data...
symlink.c Loading commit data...
xattr.c Loading commit data...
xattr.h Loading commit data...
xattr_id.c Loading commit data...
xz_wrapper.c Loading commit data...
zlib_wrapper.c Loading commit data...