From: SJ Park <sj@kernel.org>
To: SJ Park <sj@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Jonathan Corbet <corbet@lwn.net>,
Randy Dunlap <rdunlap@infradead.org>,
Shuah Khan <skhan@linuxfoundation.org>,
damon@lists.linux.dev, linux-doc@vger.kernel.org,
linux-mm@kvack.org, arijit.desaii@crusoe.ai
Subject: Re: [RFC PATCH 0/4] mm/damon/reclaim: enable auto-tuning features by default
Date: Mon, 30 Nov 2026 18:19:06 -0800 [thread overview]
Message-ID: <20261201021907.121998-1-sj@kernel.org> (raw)
In-Reply-To: <20261121015324.83753-1-sj@kernel.org>
On Fri, 20 Nov 2026 17:53:23 -0800 SJ Park <sj@kernel.org> wrote:
> On Thu, 19 Nov 2026 22:07:34 -0800 SJ Park <sj@kernel.org> wrote:
>
> > The initial version of DAMON_RECLAIM was supposed to be used after
> > manual tuning of its parameters. Among the parameters, the monitoring
> > intervals (sample_interval and aggr_interval) and the coldness threshold
> > (min_age) are particularly important to be optimally tuned. The optimum
> > values for the parameters tend to be highly dependent on the workload
> > and the system. Hence no small amount of tuning efforts are required to
> > each DAMON_RECLAIM use case.
> >
> > To reduce the tuning efforts, we recently introduced two auto-tuning
> > features. Intervals auto-tuning (autotune_monitoring_intervals)
> > automatically tunes monitoring intervals to provide practical and
> > efficient monitoring results. PSI-driven quota auto-tuning
> > (quota_autotune_feedback) automatically tunes the coldness threshold.
> >
> > Because the auto-tuning features were introduced after the initial
> > version, the features are disabled by default. That is to keep the
> > default behaviors unchanged. However, enabling the auto-tuning features
> > is only expected to provide more benefit to the users. Disabling those
> > by default only makes the adoption of the features slow. Also, it is
> > difficult to imagine real users who use DAMON_RECLAIM with its default
> > parameter values.
> >
> > Enable the auto-tuning features by default.
>
> My colleague, Arijit, found this is not a good idea. He is now working on
> proving the theory and making a patch.
FWIW, Arijit confirmed [1] the theory and posted [2] the patch.
[1] https://lore.kernel.org/CAFb32_CXuUi=ntyNqKCS7ZPmqQbayLdHQuFNGgZs=VLxqSHskg@mail.gmail.com
[2] https://lore.kernel.org/20261130-damon-reclaim-age-ms-v1-1-595659163211@crusoe.ai
Thanks,
SJ
[...]
prev parent reply other threads:[~2026-12-01 2:19 UTC|newest]
Thread overview: 13+ 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 ` [RFC PATCH 1/4] mm/damon/reclaim: enable monitoring intervals auto-tune " SJ Park
2026-11-20 6:21 ` 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-21 12:39 ` Aveline Noir
2026-11-21 17:23 ` SJ Park
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
2026-11-21 1:53 ` [RFC PATCH 0/4] mm/damon/reclaim: enable auto-tuning features by default SJ Park
2026-12-01 2:19 ` SJ Park [this message]
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=20261201021907.121998-1-sj@kernel.org \
--to=sj@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=arijit.desaii@crusoe.ai \
--cc=corbet@lwn.net \
--cc=damon@lists.linux.dev \
--cc=linux-doc@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=rdunlap@infradead.org \
--cc=skhan@linuxfoundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.