From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8278EC4167B for ; Fri, 8 Dec 2023 19:57:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233885AbjLHT51 (ORCPT ); Fri, 8 Dec 2023 14:57:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229772AbjLHT5Z (ORCPT ); Fri, 8 Dec 2023 14:57:25 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A93FA1729 for ; Fri, 8 Dec 2023 11:57:31 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8848FC433C7; Fri, 8 Dec 2023 19:57:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1702065451; bh=t99NEmpj1FuaIiuCbAEn4oZ3Z7HmMn2zlDkQmUMlo68=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=srFtzH7bBResBMSJzOLKtKeNVfecDDDsflVsoADT8dc4QsaV+hDy6JYa0fDT3rdw/ /+qA5icI2kfJuHuRz5ObGU1BkO3SSZ/8uf04gOr1HhrVSNw56ay0NTKyE4P4LhYrmL r7yl0odutcZCfTxsazBgPYAlK91jHn3altwqgw78= Date: Fri, 8 Dec 2023 11:57:29 -0800 From: Andrew Morton To: Nhat Pham Cc: tj@kernel.org, lizefan.x@bytedance.com, hannes@cmpxchg.org, cerasuolodomenico@gmail.com, yosryahmed@google.com, sjenning@redhat.com, ddstreet@ieee.org, vitaly.wool@konsulko.com, mhocko@kernel.org, roman.gushchin@linux.dev, shakeelb@google.com, muchun.song@linux.dev, hughd@google.com, corbet@lwn.net, konrad.wilk@oracle.com, senozhatsky@chromium.org, rppt@kernel.org, linux-mm@kvack.org, kernel-team@meta.com, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, david@ixit.cz, chrisl@kernel.org Subject: Re: [PATCH v6] zswap: memcontrol: implement zswap writeback disabling Message-Id: <20231208115729.acb78677883c13c2c62a29d3@linux-foundation.org> In-Reply-To: References: <20231207192406.3809579-1-nphamcs@gmail.com> <20231207141142.307745be167d044b0eec1b42@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 Dec 2023 16:42:59 -0800 Nhat Pham wrote: > > > > Also, it would be quite helpful of the changelog were to give us some > > idea of how important this tunable is. What sort of throughput > > differences might it cause and under what circumstances? > > For the most part, this feature is motivated by internal parties who > have already established their opinions regarding swapping - the > workloads that are highly sensitive to IO, and especially those who > are using servers with really slow disk performance (for instance, > massive but slow HDDs). For these folks, it's impossible to convince > them to even entertain zswap if swapping also comes as a packaged > deal. Writeback disabling is quite a useful feature in these > situations - on a mixed workloads deployment, they can disable > writeback for the more IO-sensitive workloads, and enable writeback > for other background workloads. > > (Maybe we should include the paragraph above as part of the changelog?) I pasted it in, thanks.