Actually lzo compresses better but they are both fast. lz4 is faster on embedded devices.
zram-swap should use lz4 if available and the patch can be as it was.http://blog.jpountz.net/post/28092106032/wow-lz4-is-fast <mangix> lz4 has compression levels. in any case, speed > size on embedded devices. interestingly enough, higher lz4 compression yields faster decompression <hojuruku> http://www.ilsistemista.net/index.php/linux-a-unix/44-linux-compressors-comparison-on-centos-6-5-x86-64-lzo-vs-lz4-vs-gzip-vs-bzip2-vs-lzma.html?start=4 They are mostly the same. On average 2.8 compression ratio in lz4 vs 3.0 in lzo. Can't hurt to go with the fastest. On 3 July 2016 at 07:10, Luke McKee <hojur...@gmail.com> wrote: > v2 of the patch. uses lz4 compression by default. lz4 is always > installed by openwrt Makefile Config.in if zram. > > lz4 is best for compressed filesystems as we all know (if you had to > choose between that and lzo). > zram-swap can keep using lzo for speed! > > I'll work in a compatibility patch for zram-swap script next to see if > zram0 is already being used and hot-add a new device. _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel