Results 1 to 6 of 6

Thread: LZ4 Compression Proposed For SquashFS

  1. #1
    Join Date
    Jan 2007
    Posts
    15,119

    Default LZ4 Compression Proposed For SquashFS

    Phoronix: LZ4 Compression Proposed For SquashFS

    Patches to support compressing SquashFS file-systems with the LZ4 compression algorithm have been proposed for the mainline Linux kernel, but it's not clear at the moment whether the work will be accepted...

    http://www.phoronix.com/vr.php?view=MTQxODE

  2. #2

    Default

    I'd like to see any compression in ext4 but I guess I'm dreaming.

    Full image compression is only interesting for embedded systems/Live CDs.

  3. #3
    Join Date
    Dec 2011
    Posts
    2,104

    Default Code duplication?

    I read about LZ4 compression being added to btrfs, then now to SquashFS.

    Why doesn't LZ4 just gets added to one common place (subsystem) in the kernel, then all file systems that support compression gets support for it?

  4. #4
    Join Date
    Nov 2008
    Location
    Madison, WI, USA
    Posts
    877

    Default

    Quote Originally Posted by uid313 View Post
    I read about LZ4 compression being added to btrfs, then now to SquashFS.

    Why doesn't LZ4 just gets added to one common place (subsystem) in the kernel, then all file systems that support compression gets support for it?
    If LZ4 compression only took 200 lines of new code to implement in SquashFS, I'm guessing that most of it was glue code to call into a shared LZ4 decompression algorithm anyway.

  5. #5
    Join Date
    Jun 2012
    Posts
    34

    Default

    It's not something I would personally use, but I would have said the same for an LZ4 initramfs, and squashfs is used in the same circumstances. Apparently LZ4 is good for embedded hardware. That was just a kneejerk "benchmarks please" comment coming from someone who didn't know how to contribute useful criticism.

    Edit: it also adds LZ4-HC, which is a very good option for squashfs.
    Last edited by Tobu; 07-24-2013 at 04:58 AM.

  6. #6
    Join Date
    Sep 2013
    Posts
    1

    Default

    Someone seems to have scared off Phillip Lougher for bringing this improvement to SquashFS.
    It's a pity. LZ4 HC would have been a nice fit for this read-only file system.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •