On 09/02/2013 04:40 AM, Denis wrote: > I have router 4mb disk space (instlled openwrt + ipv6 have 400kb freespace) > Squashfs default used very bad compression ratio > > Please add to project patch add LZ4 compress Squashfs > > Patch kernel = http://lwn.net/Articles/560015/ > Comparison https://code.google.com/p/lz4/
Have you measured the compression ratio of Squashfs + lzma, which is currently used? I assume not, because it is probably way better than what you would get with LZ4, your source says LZ4 has a compression ratio of ~2, even zlib is better. Here [0] someone compared LZMA and LZ4 and LZMA is way better. LZ4 goal is not a very good compression ratio, but very high compression and decompression speed. This mail should have gone to the devel list. Hauke [0]: http://pokecraft.first-world.info/wiki/Quick_Benchmark:_Gzip_vs_Bzip2_vs_LZMA_vs_XZ_vs_LZ4_vs_LZO _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
