Re: [RESEND PATCH v2 0/2] Add support for ZSTD-compressed kernel

From: René Rebe
Date: Fri Aug 17 2018 - 13:15:37 EST


Hi,

On 17 Aug 2018, at 18:54, Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote:

> On Fri, Aug 17, 2018 at 06:15:45PM +0200, René Rebe wrote:
>> Hey,
>>
>> is there any mainline future for this zstd support? Currently my most favourite compressor for this, and for what it’s worth zstd/initrd now even tested on #t2sde / hp/pa-risc, … https://www.youtube.com/watch?v=MHplOJxnIHk
>
> Can you remove some other compressor for the kernel image if you merge this?
>
> The "favourite compressor" seems to roughly change every year, so if
> we keep adding new ones things will get more and more convoluted.

Well, we (t2 formerly known as rocklinux) only changed our pkg archive compression from bzip2 to zstd once in 20 years ,-)

> Surely zstd is universally better than some existing compressor
> the kernel already uses for itself for a particular sweet spot?
> If it isn't it's likely not needed.

Well, IMHO this is not that much code, but if you want to remove something I guess bzip2 or LZMA may be candidates.

http://zstd.net

--
ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin
http://exactcode.com | http://exactscan.com | http://ocrkit.com | http://t2-project.org | http://rene.rebe.de