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

From: Nick Terrell
Date: Fri Jun 07 2019 - 15:26:26 EST


> On Jun 5, 2019, at 7:43 AM, Renà Rebe <rene@xxxxxxxxxxxxx> wrote:
>
> Hey there,
>
> just wanted to check about the status of zstd-compressed kernel.
> It works great for us, and the initrd part I tested on PPC, PPC64, SPARC64,
> HPPA, MIPS64 and probably other random things that I may forgot about in the
> meantime.
>
> Would be great if something like this could be mainlined.

We'd love to get this mainlined as well!

We're using these patches internally as well. We're seeing an improvement on an
Intel Atom N3710, where boot time is reduced by one second over using an xz
compressed kernel. It looks like Ubuntu just switched to a lz4 compressed kernel,
but zstd is likely a better trade off, because it compresses much better and still has
excellent decompression speed.

Since its been nearly a year since I sent these out, I will take some time to rebase
and retest the patches in case anything changed, and then then resend the patches
in the next weeks.

Nick

> [...]