From patchwork Sun Nov 12 19:46:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 164282 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp840732vqg; Sun, 12 Nov 2023 11:47:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGSs32W9r9IS0Ikk8OqGw9g6yctRQnJLIrkylyWrKbNvATeMG0HMaQ7rez1JfhsXy0aata+ X-Received: by 2002:a17:90a:191a:b0:27d:222c:f5eb with SMTP id 26-20020a17090a191a00b0027d222cf5ebmr4954696pjg.11.1699818440241; Sun, 12 Nov 2023 11:47:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699818440; cv=none; d=google.com; s=arc-20160816; b=GN9K5XO/49Yf0r9qrg9i4oYfuIDKGBP2ieyRjhgdAcyMx84LW4U2jv9q1Vq5QGQY9e IZUGmwVBPuWE6C2KZI8FItTAVJQfgMWfThyZFTavfjzEZebDIhxNzXeb90UrKazeKYCz 1nPvv6ko4Yw2y+YyEZURo0VQWuOFHFLNwHUaZF+SO7tPTIBquFh2ILvWxwxLrT3mr2cs nwR9zn3xK3YFk5tp4z55nXnA2dF7cu0Q3v61UYGKbDjIK4E9Y+ux8c3f4jYPqMl7KZnM Tnea4z7syNWxB7bhXKoOQblVc5DLgVHa/CpZseFzqoNa1vgH91tMivga1kea1uIAarld I92g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=SbRxX6GgJlF/ky6HC8gP0ElvVJnEMn6CvNUwYygBucU=; fh=cjv8+TZ63Co1l5yw6pZdw5NyP6++sWCb693WxBRE0rY=; b=HrfYXqoBmCduElHiRgNqCeEAPIpvniuEElQGXFqy683xdzug8rXaCEE+FPcm1NX5cb 5jnId0Wga3eDY9xyEEiVZ6i/ouJpWLnTjyDONHCOsRud8Bq3lrWRWtuqZGRgqnepztF0 Jy3SLZT09CA0rxye+MBwtw3bQeNtbgZcrx8OKY8ywHmTwwc+9uV98nBPSHY14fgFeTCs YeSghwCavOdm3lqBcNVswN6HoDDHkyycfpmQGBYfGlyZVglroLoIt1PiqOrBdyVz/i6V DqwTR06aRk1nhwzQqFaXxIEjOryR2mgk9g4DKdsIVQX4dEeeEoseSM3TkkKs611PVfe4 V08Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=nYH0rlFs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id r2-20020a17090aad0200b002681fea6d14si8871816pjq.79.2023.11.12.11.47.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Nov 2023 11:47:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=nYH0rlFs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 031CA804E727; Sun, 12 Nov 2023 11:46:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232596AbjKLTqk (ORCPT + 30 others); Sun, 12 Nov 2023 14:46:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232201AbjKLTqU (ORCPT ); Sun, 12 Nov 2023 14:46:20 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C81BF1BFF for ; Sun, 12 Nov 2023 11:46:17 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FC19C433C7; Sun, 12 Nov 2023 19:46:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699818377; bh=eYWOuBaRm7gUBwsw8MKJnCTGV0ZszqASzlgqM1IUQmE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nYH0rlFsJBrDrANNHDdlzS61wIc8bZdp2hUgWOgsXWFKJCZ3KnMObjtCni4f0diDU g2Z4RT4NsvLxJILjF6kRSpebeBN+wmwGsk58Lo7CXP1WrEiSR2/Dq7VqVB6IBgpJGb F3Bj+xKTXSGqZK3VdTW/ILQW9PbdUvedatn13RqucpgrvVjXD6L+LPlOl1yyR9bBpW N3JNbYtPri7PhmBeUfaRkXqN1HPMpZVTSY4rrXAW/LFEJjVpkDBvYOXg1dTYa48TfP D5vOtEL2SFxCEtfCEhA1zNN/2mlo4BWYjCz8S2hcrEyCty/qC9MOg8mCmaFsRwY3qG TPdccTEqa+wWA== From: SeongJae Park Cc: SeongJae Park , Andrew Morton , Jonathan Corbet , damon@lists.linux.dev, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH 7/8] Docs/mm/damon/design: Document DAMOS quota auto tuning Date: Sun, 12 Nov 2023 19:46:06 +0000 Message-Id: <20231112194607.61399-8-sj@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231112194607.61399-1-sj@kernel.org> References: <20231112194607.61399-1-sj@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) 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 (snail.vger.email [0.0.0.0]); Sun, 12 Nov 2023 11:46:49 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782388821196090586 X-GMAIL-MSGID: 1782388821196090586 Document the DAMOS quota auto tuning feature on the design document. Signed-off-by: SeongJae Park --- Documentation/mm/damon/design.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/mm/damon/design.rst b/Documentation/mm/damon/design.rst index 1f7e0586b5fa..3e1b34f55bb8 100644 --- a/Documentation/mm/damon/design.rst +++ b/Documentation/mm/damon/design.rst @@ -346,6 +346,17 @@ the weight will be respected are up to the underlying prioritization mechanism implementation. +.. _damon_design_damos_quotas_auto_tuning: + +Aim-oriented Feedback-driven Quotas Auto-tuning +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Automatic feedback-driven quota tuning. Instead of setting the absolute quota +value, users can provide feedback about how well DAMOS is achieving their goal. +If the feedback says DAMOS is still not achieving the goal, DAMOS increases the +quota. If DAMOS is over-achieving the goal, DAMOS decreases the quota. + + .. _damon_design_damos_watermarks: Watermarks