Re: [PATCH v3 3/8] lib: add zstd support to decompress

From: Petr Malat
Date: Thu Mar 26 2020 - 17:44:32 EST


On Thu, Mar 26, 2020 at 09:13:54PM +0000, Nick Terrell wrote:
> >> What do you mean by that? Can you share with me the test you ran?
> >> Is this for kernel decompression or initramfs decompression?
> > Initramfs - you can apply my v2 patch on v5.5 and try with your test data.
> >
> > I have tested your patch also on ARMv7 platform and there the degradation
> > was 8%.
>
> Are you comparing the performance of an 8 MB window size vs a 128 MB
> window size?
No, I use the same initramfs file with 2 different kernels for the test. I have
removed
if (params.windowSize > ZSTD_WINDOWSIZE_MAX) goto out;
from your code.
Petr