Originally posted by caligula
View Post
Announcement
Collapse
No announcement yet.
Patches Revived For A Zstd-Compressed Linux Kernel While Dropping LZMA & BZIP2
Collapse
X
-
-
Originally posted by log0 View PostCompression by its nature is a serial process.
Originally posted by log0 View PostGoing multi-threaded will hurt compression ratio.
if you have a lot of slow cores, a parallel implementation of bzip2 is similar in speed to lz4, but with significantly better compression ratio.
Comment
-
Originally posted by hotaru View Postnot with bzip2. check the lbzip2 implementation.
not as much as using lz4 will.
if you have a lot of slow cores, a parallel implementation of bzip2 is similar in speed to lz4, but with significantly better compression ratio.
Comment
-
Originally posted by jntesteves View Post
You could equaly parallelize the workload with any of these codecs, though they all work sequentially. This isn't a property specific to bzip2.
Comment
-
Originally posted by bofh80
Does the lz4 implementation include the -hc option or is that a different port. i was never sure. i'd like to see it tested. unless i'm terribly confused, it should provide the smaller file size while still being faster decompression wise. i'll look it into it more when i have time i guess.
Michael these different options for the kernel compression be hard to test through / benchmark ?Code:./scripts/Makefile.lib
Code:lz4c -l -c1
In terms of improving the kernel boot speed, the couple of papers I've seen both suggest that the combined time for loading and then decompressing a LZ4HC compiled kernel is the fastest method by some margin.
The way I see it, why not cut down the options to either xz, zstd or lz4hc? Drop bzip2, gzip and lzo since they serve little purpose given that xz > bzip2, zstd > gzip and lz4hc > lzo. But that's just my off-the-cuff judgement -- there could very well be people who for some reason need one of the legacy formats.
Comment
-
Originally posted by ermo View PostThe way I see it, why not cut down the options to either xz, zstd or lz4hc? Drop bzip2, gzip and lzo since they serve little purpose given that xz > bzip2, zstd > gzip and lz4hc > lzo. But that's just my off-the-cuff judgement -- there could very well be people who for some reason need one of the legacy formats.
Comment
Comment