On 1/22/25 15:30, Jann Horn wrote:
Hello,
In my opinion 'lz4 -9' doesn't make much sense.
It's terribly slow and the compression ratio is also not exactly good.
Instead, zstd seems to be a much better choice. Not quite as ultra fast
as lz4 levels 1 to 3, but much better compression.
I think you're describing a slightly different usecase.
My goal here is something I can use for when I build a kernel, boot it
in QEMU, test something, and then immediately throw the kernel away -
I don't care that much how much disk space the kernel image uses, and
the goal I'm optimizing for is pretty much just the time needed for
one build followed by one boot.
Ah, yes, fair enough. In that case, 'lz4 -1' makes the most sense I
guess. Sorry for the noise.
Tor