Fwd: [PATCH 0/2] Squashfs: add LZ4 compression

From: Marcin Szychowski
Date: Thu Nov 27 2014 - 10:54:29 EST


---------- Forwarded message ----------
From: Marcin Szychowski <szycha@xxxxxxxxx>
Date: 2014-11-27 15:50 GMT+00:00
Subject: Re: [PATCH 0/2] Squashfs: add LZ4 compression
To: Bruno Wolff III <bruno@xxxxxxxx>
Cc: Phillip Lougher <phillip@xxxxxxxxxxxxxxx>,
linux-kernel@xxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx,
texstar@xxxxxxxxx, martin@xxxxxxxx, guanx.bac@xxxxxxxxx,
dave@xxxxxxxxxxxxx, blyons@xxxxxxxxxxxxxxxxxxx, tokiclover@xxxxxxxxx,
afm404@xxxxxxxxx, hugochevrain@xxxxxxxxx


2014-11-27 13:37 GMT+00:00 Bruno Wolff III <bruno@xxxxxxxx>:
>
> On Thu, Nov 27, 2014 at 08:00:47 +0000,
> Phillip Lougher <phillip@xxxxxxxxxxxxxxx> wrote:
>>
>>
>> My intention is to submit them in the next kernel merge window.
>> If you want LZ4 support in Squashfs now is a good time to publically
>> support the inclusion of these patches.
>
>
> Fedora has been supporting LZ4 functionallity in mksquashfs and unsquashfs for about 6 months (in F19+), but the Fedora kernel team won't add support in the kernel until LZ4 support is accepted for the upstream kernel.

Hello everyone,

Squashfs is awesome piece of code. Itâs potential usage pattern
analysis could turn into pretty decent PhD thesis â from simple
archival purposes through embedded systems, to dynamic nearly-instant
multi-server software deployment systems, and many others.

On the other hand, LZ4 is fantastic compression algorithm with
well-known list of advantages.

As I wrote to Phillip earlier, I have been using squashfs+lz4 / aufs
to speed up my laptop (and reclaim some space, too). That would not
be possible without LZ4: I could have gain some speed with LZO or disk
space with gzip or xz, but not both. LZ4 is comparable with LZO in
terms of decompression speed and with gzip in terms of compression
ratios. LZ4 is much faster in both compression and in particular
decompression speed than gzip (1-9) and xz (1-9). It is just the best
choice for many storage-related purposes (see ZFS on Linux
[https://github.com/zfsonlinux/zfs/commit/9759c60f1a1503e48dc5c45a209c3edd5758319f]
and [http://wiki.illumos.org/display/illumos/LZ4+Compression])

I donât quite get why does anyone need to be convinced to merge
advantages of two fine pieces of code, since both have been already in
the mainline kernel for some time now. Itâs like being forced to
choose between big car and safe car, or delicious food and
good-looking food.

It is not about forcing anyone to use something, it is about ease of choice.

Having squashfs with lz4 in mainline kernel sounds like next natural
step. Please do not hesitate to take it.


--
Regards,
Marcin Szychowski

+48.791460067
http://adastor.pl
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/