Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp524061lqp; Fri, 5 Apr 2024 00:18:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWu/wSY4H5vFEzp9lPhfOZLFQzTRbkSl3zWrO295D/4Eb7sFYgpnascVo8GQ1BBuco/IipvSLDRdR1+pkHdJSsDh4HCBw6kkd82ORHpSA== X-Google-Smtp-Source: AGHT+IGdlXY9w4DlBGTbaAOYozaxtEmTdhIJQW6RJ4dz2lHAnv2tQpqTvg+daeJ9QMBDV5zR9yzp X-Received: by 2002:a17:907:7287:b0:a4e:5137:9969 with SMTP id dt7-20020a170907728700b00a4e51379969mr480121ejc.32.1712301484316; Fri, 05 Apr 2024 00:18:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712301484; cv=pass; d=google.com; s=arc-20160816; b=vVh1cI2l4iOdqyeKePZ2ibJJ+y2kxLm36E6nI8lmJv5JukPYGYJuGnZUcKfmq3RNMX JNzrMzzWhuttPOekYwQxvH8t+yr7tFpHfykihEE89kc9nz+68cab3ZSYNHfNjHbc2hdP rTcfqoCiUwvAEPf/CM9IPM9VrMxQsSwXzymt306ODl9Rw+inUFylPocEGUcucDDLXmHy RW8wYXpPNFCna/N6W8pvBVVGquVX1O3k6dw0Y7hSb/4kEShYshxxsdKqY5LMHV/UzCLJ JXHJWt0en4E4uRgxQGH21Am8qQOyuCIsSmOicefoePh1xbJaTJglBeqUwBL1Jz++5RX4 6z4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=LxV3MRQEgVKsWbz3BbprLekFgKR3EEiw/Z15mQWdRbY=; fh=8fB8jMObP94i9x2j/m0suPwVfNiQ01yfanaXsr/rXvc=; b=Uu3mH4e3MPjADsldKophB4QXEVp8mcdM7vvtoju+o6JRn9LYyHfKlpuR7a9brYU6IU 1dyaSGgEW7hGuSkXMqPWLWRRWomYsHuj1GdRszjQ8VyaLHX0yv6yPU8EOuw5XHyXc/ZY Pqhh+h6tTTx25Uh/PzMWbisGhw1kZeQ2hOhqK2m2x4fl+jcKcFAQTupfRJIqXOQbrGaU ff/Rysowe2qec5/sIbMqjhkdHbP3L2f3OQCTHnZwaTqBEzpNlr7BSSSwBuNXrb0cweFS 103EbZELUPVP8a5DD5i18cBuQspUd+TEzwakgGuExqdgTS/aTaGXoq/bpECk2SHAjfZ/ O1Ew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gondor.apana.org.au dmarc=pass fromdomain=gondor.apana.org.au); spf=pass (google.com: domain of linux-crypto+bounces-3353-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3353-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=REJECT sp=QUARANTINE dis=NONE) header.from=apana.org.au Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id re9-20020a170906d8c900b00a4a389d106asi407646ejb.813.2024.04.05.00.18.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 00:18:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-3353-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gondor.apana.org.au dmarc=pass fromdomain=gondor.apana.org.au); spf=pass (google.com: domain of linux-crypto+bounces-3353-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3353-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=REJECT sp=QUARANTINE dis=NONE) header.from=apana.org.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 05AB61F26B29 for ; Fri, 5 Apr 2024 07:08:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 134BB364A1; Fri, 5 Apr 2024 07:07:28 +0000 (UTC) X-Original-To: linux-crypto@vger.kernel.org Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE3942C69E; Fri, 5 Apr 2024 07:07:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=144.6.53.87 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712300847; cv=none; b=XHm2fqUfDQ9WGEvJ225lNnnC9KwLprKWU2bk8bfMx2wwYBogA5A21YXsvuks+YugGaX1vRitS8fdzncnIOg45rvcEXmRtBAetKd0EXfRW0QuR2HyJn4lLafv9PTlQ+lvYwD50hj24gwZf8rugNPAQBlvi6zyOlmgFlfADyOZliE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712300847; c=relaxed/simple; bh=EnBfKJNKx8Lb92ksB092SRIblL3m9D2Eg+W82HiE+Yc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jn9UolZpPeKzlH/lD9JaJ3YGbS7NX10Z/NBEV1CISoSYVmzAPaz0ft+sQnVy7N5VGr4klSMjLF8nxipJ3pjxyrkUZaLi2IV3ZCJWpnj2kTM0PfM6GKnl8Jx+PE7//JF2xhtpT3uSBVJdtX1YRj188/WdfFeaWn4zl5uPEEAYExo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gondor.apana.org.au; spf=pass smtp.mailfrom=gondor.apana.org.au; arc=none smtp.client-ip=144.6.53.87 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gondor.apana.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gondor.apana.org.au Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1rsdfM-00FT5L-3A; Fri, 05 Apr 2024 15:07:13 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 05 Apr 2024 15:07:29 +0800 Date: Fri, 5 Apr 2024 15:07:29 +0800 From: Herbert Xu To: Andre Glover Cc: tom.zanussi@linux.intel.com, davem@davemloft.net, dave.jiang@intel.com, fenghua.yu@intel.com, wajdi.k.feghali@intel.com, james.guilford@intel.com, vinodh.gopal@intel.com, tony.luck@intel.com, linux-crypto@vger.kernel.org, dmaengine@vger.kernel.org Subject: Re: [PATCH 0/4] crypto: Add new compression modes for zlib and IAA Message-ID: References: Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt