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: 13453386 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 333FDC4167B for ; Sun, 12 Nov 2023 19:46:34 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E74348D0022; Sun, 12 Nov 2023 14:46:22 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id DD3BA8D0021; Sun, 12 Nov 2023 14:46:22 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BFFB68D0022; Sun, 12 Nov 2023 14:46:22 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id A4D408D001D for ; Sun, 12 Nov 2023 14:46:22 -0500 (EST) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 89F84160115 for ; Sun, 12 Nov 2023 19:46:22 +0000 (UTC) X-FDA: 81450333804.22.A86B2CE Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf27.hostedemail.com (Postfix) with ESMTP id 872144001A for ; Sun, 12 Nov 2023 19:46:20 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=nYH0rlFs; spf=pass (imf27.hostedemail.com: domain of sj@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1699818381; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=SbRxX6GgJlF/ky6HC8gP0ElvVJnEMn6CvNUwYygBucU=; b=lEwHYFRFZ0QVJF+ZB4l3PT523WEuMpTkUoayZ+Tvw/fAn+4dUi3YBKOhzmglZU4LgLwzsM HYAmv5de+R0Faog6pRw0HQMfWV6Y452Wq/71OTxr8sjt6G0E6ugX9nmadHJ/CZ3WW0U4iG zTIqA+LoIpvYyIfphxjz2bqSE055Cgs= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1699818381; a=rsa-sha256; cv=none; b=Sx7agubaFwiw7cc57fq3rblEMmjkI4iI6VLCXLM7uLnKl7AFBbronbbQG165tRKRNFT5pr xDdWbkstuFnxRK7BUNhKD230yS1hLJSb5zSQu1yYB+RfnVa3VyiUG1iGRZhanJydO9bDPl wfVyWi9h1LYMKe6PZn3jZgGo/l3zLYU= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=nYH0rlFs; spf=pass (imf27.hostedemail.com: domain of sj@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 0995ECE0F28; Sun, 12 Nov 2023 19:46:18 +0000 (UTC) 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 To: 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-Rspamd-Queue-Id: 872144001A X-Rspam-User: X-Stat-Signature: 5ojxjmu59wapxfn8fucohijnmtn87e59 X-Rspamd-Server: rspam03 X-HE-Tag: 1699818380-311913 X-HE-Meta: U2FsdGVkX1+M9g5m1PzKw8wAg51yuqviNPrgXMn7YU2sZxNtZvB2OUZnR7mFl59bXJ4bWZ58ndhH3BaUCXCxEfV8WphQZBteTBMv3R1pT2yNc/eZXQsyFhS71V0xRJknWf3efys58jl8m7+/tSogd9wYwXPhUBnaTSDfhpZuWcVrNZ4qk3GGhLoIslaDypMCkVi7cDbEFW2k3bk5stnIdjepKSAgr89C82JS4o73mgQfj3NpEreZjxJoZGtzVZN5AjXWM3qkp3KnEVYGJVrBOJ5al1OlfZpBos3rZ05sYEcxrH8IsvvSx/kZrQOcVanfFMYwhBK8qINWR98Tt/Po6l7D9XKQ8jL3YfLXh83UYWXnLIiwJnfzg7GMb21PO/D2iQxCi7P5Kdjeib7i5K5Iqk/z47hKgqVyA0tk69JFMK4BcZSs9w7nq4leQ412WP9siOJrRn+J6a0hmY5kmBxjJANOaBvAL2tDbXwhSKidaTalJj+0RNOS3y1Fb0O6cbzy/nnlV9SLur9xmC97aIPdGH+sBFLgBU17NTIpydq9+4GGABa1xjJJTsOdbIhmQK5nwlxBMygRAN2jHnKlewen7Kj17wOlUBVFowlkpcmwt+Z6YlGwQdqJX0qihFp9jpXjG/sffmoI067lqY60StiagNxOfrwFAvyxc6bCDV7Ajv/TmGfusQOe8A12dCbmARN8DvyqJm8IK2zymzA5p2uAVdPnt2uJ8GqQF6Q8fYnLU42IM/+b2cRxf7EmG9mSdqrEZsBZVuZgverm0tbV6LwTMuQEPaixVzGofYJjeI6dnlPiAcRBllR5TEJ1BKNyUdCwkd4mE2ZS3ExG0i6mxZMdRwQFZd209+7LR+xwP6dsX/vIarL8hKBuryxaJA7lul3idCN2NvWzITROB5L9r/USrMiNl7iOvXpgfBvSY++he8MQVWb2JhMs0cBvc1n7zTmamZn/Y7klFmmYuqWWc7T kc7lOXzl HWqa91iMf+3QY+FAlh08PP3u6GB+o3DPCTq7CdQ4hs/f6N2hK3j+Cg8v2OqBktEoXvpccDGQMWkZhGhxlUbSymcIbDQAEgSKz8JuctuxIkbU19GtUifS9WkZDuLo0nwz9afYxs9inVEzth8zBX4cW9V9M93Ld/z10XrskLYwV7EUmyj1Bj4vebEoN0zFf6HaVdJc/yUpsnu46IcTAEIGFhnYY0tiCPw+2nHUyB5AFsbnx08k= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000114, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: 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