From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796091559; b=e5tNgrsdDPdABRUh+ZlcS5hCeOgnM2hThV1vF2EQRO3f4OrPhuoOVEpQaVD+vfMWEHzT vFjvpgCSYKgQzjigWwIk/zl2XkX6D+ru0rpxLjALdmzRAYFxm5VZ1hF99HOiustxrNSNI Bik95MxV2h6TS89fuv7K0UfUCHfhyTeeNQQReGjrTFtG/dq3C1o3LXtpI6SBTnY8oUMfu bfr08auYHHjXRrQOn08i5mnvRvA/RCWwson2C56OClTo2JpT3jV4z1xD/U2q2b6Ga1ZMo gc7q7WLgzFNMb7Bm5ArFtBbR3tB0dO2x4JJBLf5bgL/MWRtgUBfUxxkhpbIPjXyjo4Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796091559; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=VOcmYb5roBu+uB1TTrsdgUGDKaNTBnZtnEryvC7QG4A=; b=ZWw0+K0TqmLqtMvgmKvappotTgXYo+26Ps5qA9cTzH4klklU74WvmfBQ4Uxh5+AuI0+N h2ZF2DfOdtgPMSX745YWcgdHuV+rKD03/Ibf+zXApf90nAL+sSS0NebBxdF5lYdm8i0Sp FrqnxtDMXvZwBuRVaxnZxIzkLj3cOCO8jpuNrHo5LorWRipHDUTQNIdNXUKOCj1FkaUVn TfHJUTV9+U3EWl012tnogePd+BZp5S51Ue+WVT/u63CRhYtK8v6X3AlA8754imEU3s4cX AFLqqVmSAj0VrHYUAiRCbTKWjId3nxWqQfZLZpgkVsJS/dTQZAb+mna40yS+swlyMhQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=f6RAyg4X; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE28A606A320; Tue, 1 Dec 2026 02:19:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=f6RAyg4X Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36AF51F00897; Tue, 1 Dec 2026 02:19:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796091559; bh=VOcmYb5roBu+uB1TTrsdgUGDKaNTBnZtnEryvC7QG4A=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=f6RAyg4X5HftQ9WXgL8Kj3GtVluZVYz0Jx33aGi+KlRn39Eg8nKSn5y1M22weGPeS +MaRB+7v7n6XOmfJwvmMTU09ZKXxiGyhEU18xRjKf3Foi4RibArRHXmIPXIDfaNeCn qWyORj6QtiEyIxrb3VMsfyIUKp6VQR5N132CUPSQ2uMmxw8nHs+23aX/azl53El2XX 4vuJBL3jcpwLSMvHlCeRL1GKPnmZh1bemLOIPWGVlBmLZdqjqdmDoBm6sXw/xNhQyN emJMWTpcfY9nFfDfhAQawe5rK4QHpNG2FsM8VnR2SSGKoJIBXXgB7f6ryhDn/34Pee Lxd3BxJYzonNA== From: SJ Park To: SJ Park Cc: Andrew Morton , Jonathan Corbet , Randy Dunlap , Shuah Khan , 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 Message-ID: <20261201021907.121998-1-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261121015324.83753-1-sj@kernel.org> References: X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Fri, 20 Nov 2026 17:53:23 -0800 SJ Park wrote: > On Thu, 19 Nov 2026 22:07:34 -0800 SJ Park 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 [...]