linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Vath <martin@mvath.de>
To: Marcin Szychowski <szycha@gmail.com>
Cc: Bruno Wolff III <bruno@wolff.to>,
	Phillip Lougher <phillip@squashfs.org.uk>,
	linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	texstar@gmail.com, Martin Vaeth <martin@mvath.de>,
	guanx.bac@gmail.com, dave@vasilevsky.ca,
	blyons@students.naropa.edu, tokiclover@gmail.com,
	afm404@gmail.com, hugochevrain@gmail.com
Subject: Re: [PATCH 0/2] Squashfs: add LZ4 compression
Date: Thu, 27 Nov 2014 17:55:40 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.10.1411271716300.17270@biff2> (raw)
In-Reply-To: <CAJZww4gzTnbyB4jbFQc0N4G6GJ31pVwv-PNZtDMbUxXMoH-orQ@mail.gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1351 bytes --]

Hi:

> squashfs+lz4 / aufs to speed up my laptop

Squashfs proves its usefulness especially in combination
with aufs or overlayfs; I suppose that this combination
will become more popular with the spreading of overlayfs
(e.g. to save disk space etc.)

For users with such a combination, it is especially important
to get a fast (re)compression of huge directories.

The speed of LZ4 for compression in such a setting is really incredible.
Just for orientation for myself, I made a list of times/sizes
on some machines I had access to:

https://github.com/vaeth/squashmount/blob/master/compress.txt

(I do not claim that this is a scientific benchmark - just a
straightforward average over several runs).
The results for the kernel source and libreoffice are really
unbelievable, but I repeated them several times (and,
as you can see, for the kernel sources on different machines).

>From the user perspective, it is mainly important that
the files compressed in this way can be read by the kernel -
the decompression speed is here secondary, so I made no comparison
for this case, although lz4 is known to be very fast also
for decompression.

I would really like to see lz4 support included in the
squashfs kernel driver. I cannot imagine any negative consequences,
especially since squashfs and lz4 are in the kernel, anyway.

Sincerely
Martin Väth

  parent reply	other threads:[~2014-11-27 16:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-27  8:00 [PATCH 0/2] Squashfs: add LZ4 compression Phillip Lougher
2014-11-27  8:00 ` [PATCH 1/2] Squashfs: add LZ4 compression support Phillip Lougher
2014-11-27  8:00 ` [PATCH 2/2] Squashfs: Add LZ4 compression configuration option Phillip Lougher
2014-11-27 13:37 ` [PATCH 0/2] Squashfs: add LZ4 compression Bruno Wolff III
     [not found]   ` <CAJZww4gzTnbyB4jbFQc0N4G6GJ31pVwv-PNZtDMbUxXMoH-orQ@mail.gmail.com>
2014-11-27 15:54     ` Fwd: " Marcin Szychowski
2014-11-27 16:55     ` Martin Vath [this message]
2014-12-12  7:44 ` Dave Vasilevsky
2014-12-12  8:31   ` Anthony F McInerney
2014-12-12 10:27 ` Guan Xin
     [not found] ` <CAGw_SrN6tZyXRx6pxkpnhWc2U5845HRbfzhOK5v9qkjWejFpmA@mail.gmail.com>
2014-12-12 15:56   ` Bruno Wolff III
2014-12-12 22:45     ` Phillip Lougher
  -- strict thread matches above, loose matches on Subject: below --
2013-07-22  2:21 Phillip Lougher
2013-07-22  3:05 ` Gu Zheng
2013-07-22  5:07   ` Phillip Lougher
2013-07-22  6:04     ` Gu Zheng
2013-07-22 13:38       ` Phillip Lougher
2013-07-26 22:00       ` Rob Landley
2014-09-05 10:01       ` Guan, Xin
2014-09-06 20:29       ` Guan, Xin
     [not found] ` <20130723151009.GA5971@wolff.to>
2013-07-23 16:17   ` Phillip Lougher
2013-07-23 16:29     ` Bruno Wolff III

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.10.1411271716300.17270@biff2 \
    --to=martin@mvath.de \
    --cc=afm404@gmail.com \
    --cc=blyons@students.naropa.edu \
    --cc=bruno@wolff.to \
    --cc=dave@vasilevsky.ca \
    --cc=guanx.bac@gmail.com \
    --cc=hugochevrain@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phillip@squashfs.org.uk \
    --cc=szycha@gmail.com \
    --cc=texstar@gmail.com \
    --cc=tokiclover@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).