FS#38128 - [linux] it would be nice to set CONFIG_LZ4_COMPRESS=y

Attached to Project: Arch Linux
Opened by Askhat Bakarov (sirocco) - Friday, 13 December 2013, 17:07 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 12 January 2014, 12:08 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: When I try to use zswap.enabled=1 zswap.compressor=lz4, I get:
zswap: lz4 compressor not available
zswap: using lzo compressor

After rebuilding the kernel with CONFIG_LZ4_COMPRESS=y (and CONFIG_CRYPTO_LZ4=y)
zswap: using lz4 compressor

linux 3.12.4-1
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 12 January 2014, 12:08 GMT
Reason for closing:  Fixed
Comment by Dave Reisner (falconindy) - Friday, 13 December 2013, 18:18 GMT
Are you interested in this because it's the next new toy, or do you have evidence that this would be an improvement over say, gzip or lzo?
Comment by Askhat Bakarov (sirocco) - Saturday, 14 December 2013, 02:58 GMT
No, I did not test.
There is evidence that lz4 significantly faster decompression.
http://pokecraft.first-world.info/wiki/Quick_Benchmark:_Gzip_vs_Bzip2_vs_LZMA_vs_XZ_vs_LZ4_vs_LZO

Therefore one can expect that lz4 would be a better compressor for zswap than lzo.

Loading...