[PATCH v0.5] mtd-utils: mkfs.ubifs: Add support for LZ4HC compression

Elie De Brauwer eliedebrauwer at gmail.com
Sat Oct 5 07:48:04 PDT 2013


All,

After some time to do some testing this is a second version of the
same patch. Now lz4hc gets actually used.  However at this moment in
time only improvement in terms of cpu time is seen, but lz4hc in this
context seems to behave worse than LZO, on my local system:

-rw-r--r-- 1 edb  edb  28M Oct  5 16:22 imag.lz4hc
-rw-r--r-- 1 root root 25M Oct  5 16:22 imag.lzo
-rw-r--r-- 1 root root 43M Oct  5 16:11 imag.none
-rw-r--r-- 1 root root 22M Oct  5 16:30 imag.zlib

The only thing which comes immediately to mind is that due to the size
of the chunks (in my case large block being compressed is 4k) lz4hc
isn't starting to pay off ..

my 2 cents
E.

-- 
Elie De Brauwer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mtd-utils-mkfs.ubifs-Add-support-for-LZ4HC-compressi.patch
Type: application/octet-stream
Size: 53887 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20131005/4812e08e/attachment-0001.obj>


More information about the linux-mtd mailing list