DAMON development mailing list
 help / color / mirror / Atom feed
From: SJ Park <sj@kernel.org>
Cc: SJ Park <sj@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	damon@lists.linux.dev, linux-mm@kvack.org
Subject: [RFC PATCH 1/4] mm/damon/reclaim: enable monitoring intervals auto-tune by default
Date: Thu, 19 Nov 2026 22:07:35 -0800	[thread overview]
Message-ID: <20261120060741.92121-2-sj@kernel.org> (raw)
In-Reply-To: <20261120060741.92121-1-sj@kernel.org>

DAMON_RECLAIM provides monitoring intervals auto-tuning feature.  It is
turned off by default, though.  It is expected to be only better than
the default values of static intervals in real use cases.  Enable the
auto-tuning.

Signed-off-by: SJ Park <sj@kernel.org>
---
 mm/damon/reclaim.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/damon/reclaim.c b/mm/damon/reclaim.c
index a84cea070ec76..2241b3e9145ef 100644
--- a/mm/damon/reclaim.c
+++ b/mm/damon/reclaim.c
@@ -98,9 +98,9 @@ module_param(quota_autotune_feedback, ulong, 0600);
  * sampling intervals 5 milliseconds in minimum, and 10 seconds in maximum.
  * Setting this to ``N`` disables the auto-tuning.
  *
- * Disabled by default.
+ * Enabled by default.
  */
-static bool autotune_monitoring_intervals __read_mostly;
+static bool autotune_monitoring_intervals __read_mostly = true;
 module_param(autotune_monitoring_intervals, bool, 0600);
 
 static struct damos_watermarks damon_reclaim_wmarks = {
-- 
2.47.3

  reply	other threads:[~2026-11-20  6:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20  6:07 [RFC PATCH 0/4] mm/damon/reclaim: enable auto-tuning features by default SJ Park
2026-11-20  6:07 ` SJ Park [this message]
2026-11-20  6:21   ` [RFC PATCH 1/4] mm/damon/reclaim: enable monitoring intervals auto-tune " sashiko-bot
2026-11-20  6:07 ` [RFC PATCH 2/4] mm/damon/reclaim: set memory PSI 0.05% as default quota goal SJ Park
2026-11-20  6:13   ` sashiko-bot
2026-11-20  6:07 ` [RFC PATCH 3/4] mm/damon/reclaim: disable watermarks by default SJ Park
2026-11-20  6:11   ` sashiko-bot
2026-11-20  6:07 ` [RFC PATCH 4/4] Docs/admin-guide/mm/damon/reclaim: update for changed default parameters SJ Park
2026-11-20  6:10   ` sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261120060741.92121-2-sj@kernel.org \
    --to=sj@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=damon@lists.linux.dev \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox