Re: [PATCH 0/4] crypto: Add new compression modes for zlib and IAA

Herbert Xu
2024-04-05T07:07:23Z

On Thu, Mar 28, 2024 at 10:44:41AM -0700, Andre Glover wrote:
>
> Below is a table showing the latency improvements with zlib, between
> zlib dynamic and zlib canned modes, and the compression ratio for
> each mode while using a set of 4300 4KB pages sampled from SPEC
> CPU17 workloads:
> _________________________________________________________
> | Zlib Level | Canned Latency Gain | Comp Ratio |
> |------------|-----------------------|------------------|
> | | compress | decompress | dynamic | canned |
> |____________|__________|____________|_________|________|
> | 1 | 49% | 29% | 3.16 | 2.92 |
> |------------|----------|------------|---------|--------|
> | 6 | 27% | 28% | 3.35 | 3.09 |
> |------------|----------|------------|---------|--------|
> | 9 | 12% | 29% | 3.36 | 3.11 |
> |____________|__________|____________|_________|________|

So which kernel user (zswap I presume) is clamouring for this
feature? We don't add new algorithms that have no in-kernel
users. So we need to be sure that the kernel user actually
want this.

Thanks,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt