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
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
|
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
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.