Closed binarybana closed 9 years ago
I don't think the latest default Fedora Kernel is compiled with the lz4 option. At least it doesn't work for me. lzo the default seems to be good enough.
On Mon, Jul 14, 2014 at 12:28 AM, Jason Knight notifications@github.com wrote:
By writing to /sys/block/zram$i/comp_algorithm, ZRAM can be made to use the faster lz4 compression algorithm (if available).
Right now I've just put a line: echo lz4 > /sys/block/zram$i/comp_algorithm
in the first line of the last for loop in zramstart, but since this is compilation dependent, then I'm not sure how this change could/should best be made. But I figured I would document my changes here for anyone interested.
— Reply to this email directly or view it on GitHub https://github.com/mystilleef/FedoraZram/issues/10.
My kernels compiled for Fedora with lz4 support. So it will be cool see it used. Thanks.
By writing to /sys/block/zram$i/comp_algorithm, ZRAM can be made to use the faster lz4 compression algorithm (if available).
Right now I've just put a line:
echo lz4 > /sys/block/zram$i/comp_algorithm
in the first line of the last for loop in zramstart, but since this is compilation dependent, then I'm not sure how this change could/should best be made. But I figured I would document my changes here for anyone interested.