Announcement
Collapse
No announcement yet.
Support For Compressing The Linux Kernel With LZ4
Collapse
X
-
Originally posted by mercutio View Posthttp://www.phoronix.com/scan.php?pag...tem&px=MTA1OTQ
looks like lz4 is about 25 to 30% faster than snappy.
This is the first post of a series. Part 2, single core performance. There are a several file systems that compress your data on the fly. The most notable ones are Windows’ NTFS, Linux’…
The LZ4 website has benchmarks that are probably more accurate:
Extremely Fast Compression algorithm. Contribute to lz4/lz4 development by creating an account on GitHub.
According to them, LZ4 is faster than Snappy. The compression rate is 45% higher while the decompression rate is 26% higher. The compression ratio of LZ4 is also slightly higher than that of snappy.
With that said, it appears that btrfs support for both Snappy and LZ4 has not been merged:
Gentoo Linux's ZFS kernel modules gained support for LZ4 two days ago. Gentoo's GRUB package was updated with support for booting off LZ4 compressed ZFS /boot datasets yesterday. People interested in filesystems that support LZ4 compression could always try ZFS.
Comment
-
Originally posted by ryao View PostI had recalled reading the following when saying that the two were roughly equivalent:
This is the first post of a series. Part 2, single core performance. There are a several file systems that compress your data on the fly. The most notable ones are Windows’ NTFS, Linux’…
The LZ4 website has benchmarks that are probably more accurate:
Extremely Fast Compression algorithm. Contribute to lz4/lz4 development by creating an account on GitHub.
According to them, LZ4 is faster than Snappy. The compression rate is 45% higher while the decompression rate is 26% higher. The compression ratio of LZ4 is also slightly higher than that of snappy.
With that said, it appears that btrfs support for both Snappy and LZ4 has not been merged:
Gentoo Linux's ZFS kernel modules gained support for LZ4 two days ago. Gentoo's GRUB package was updated with support for booting off LZ4 compressed ZFS /boot datasets yesterday. People interested in filesystems that support LZ4 compression could always try ZFS.Last edited by mercutio; 04 February 2013, 08:56 PM.
Comment
-
Anyon know of a bench against latest LZO 2.06 or better ? And if Pcompress http://moinakg.wordpress.com/tag/pcompress/ performance tweaks are applied to this vesion of LZ4?
Comment
-
Some recent tests in the LKML list: https://lkml.org/lkml/2013/2/26/361
armv7 (Cortex-A9), Linaro gcc-4.6 -O3, Silesia test corpus, 256 kB block-size:
compression speed decompression speed
LZO-2012 : 44 MB/sec 117 MB/sec no unaligned access
LZO-2013-UA : 47 MB/sec 167 MB/sec Unaligned Access
LZ4 r88 UA : 46 MB/sec 154 MB/sec Unaligned Access
~Markus
Comment
Comment