Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2569735rdb; Fri, 8 Dec 2023 11:57:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IEPLOxwFRupetPazNl/d6V4A88jc+lvoDYI4ub2WECcS84+6fp4vzIzCDJLGKFMkl1BBKnr X-Received: by 2002:a05:6e02:1bc6:b0:35d:690d:9996 with SMTP id x6-20020a056e021bc600b0035d690d9996mr772723ilv.3.1702065463384; Fri, 08 Dec 2023 11:57:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702065463; cv=none; d=google.com; s=arc-20160816; b=oiwEu9e6c+XxOkrvEY/fdNmjSjdgTXtfsilb/Gq3nBw/edNxuzhc2HUrUJh+v+y/Z1 GWJRhJ3V0RXzBk/2Ua7wQgsQqIYoJ98/bQZMTOjYnncpcjRmONOyC1XRTq2yoK+HqtVM asEhbrz8dx/RNnynRW6WkET1DBI9S2gONZGog8Ok1u3jtWEPtRpXLhO0HNn6OrR+KbGO Jcdppa3dLG4x1QYfEcI8mrw3j4SdyIY3yBge+WGcBqr668a9570v5J0CDzxkvvAiDpgx QY3RwfrACwzNdZFq95yxCzdKbcc1KHwbRbdl6OBngwPoBDmv4uYg3J1kUXn6qztbN4cM yEmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=9TrhBLFc8rYGXtvqqt51RQ8wPge8P7JtxsMFKvMoKMs=; fh=vMDBSbtyljwyQvQA3BaA46E8RH++M/D7OzCuTFMCT8w=; b=KlLYyn+IQxZmnh32Ioi94PqA38tlh8F1P/546ED1OEJw8Ug8lvN4vpgUvhdy1tC0Ph 9OOv+5hgFucSnrARira/uU6MQt1QlD0IPpt2gi6MC63TmEtRcvCC4JjR8fe96dRTdnsQ QKeJOJ6GlagqO0/4p0jx2SCNSw30jE3l36CgQjkUA6kwazl6BJ8pTicie+0PD6weDG29 t61DBJMWapspl6heasImw5R/9ARQdMekYcOmCGfPym3wJpb3AwEYk2hQvp/N68zdj9Mu 9S60kPsgl+FvTUpDBnur5leSY7k91H5cWDjohMhP/TcTTNPzXTie7bBHlbxFB2tJK2ET pGZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=srFtzH7b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id l7-20020a632507000000b005c623a19e63si1914254pgl.721.2023.12.08.11.57.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 11:57:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=srFtzH7b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id D6C2683B2E4F; Fri, 8 Dec 2023 11:57:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230039AbjLHT50 (ORCPT + 99 others); Fri, 8 Dec 2023 14:57:26 -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 X-Spam-Status: No, score=-3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 08 Dec 2023 11:57:41 -0800 (PST) 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.