From mboxrd@z Thu Jan 1 00:00:00 1970 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 6CFA4C36005 for ; Tue, 25 Mar 2025 21:01:25 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 293C928001C; Tue, 25 Mar 2025 17:01:23 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2421C280005; Tue, 25 Mar 2025 17:01:23 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 10AE128001C; Tue, 25 Mar 2025 17:01:23 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id E72CD280005 for ; Tue, 25 Mar 2025 17:01:22 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 21DA1140E8D for ; Tue, 25 Mar 2025 21:01:24 +0000 (UTC) X-FDA: 83261294088.08.B3D28E2 Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by imf20.hostedemail.com (Postfix) with ESMTP id 224EB1C0002 for ; Tue, 25 Mar 2025 21:01:21 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=QHy01Rzk; spf=pass (imf20.hostedemail.com: domain of sj@kernel.org designates 172.105.4.254 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1742936482; 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=ovrHtoadfTNoySiaHoGh0TmCkkGalfRR4sd2sqQkHmo=; b=EqUfX0vmS98w4ZaxX9i4bElJ6MUEbSGexuUApsvKFW7PgxyYy5wsFPWqwklTpROH3Fxltd fWpEG+fv5ceQpriEDwyKm+D+z7FihaUFvqV5gI6kqfxpJMBV5z/AuopPmr7Y9DcLSZc8EC q2VvXr8n7zeWy/PBYYWQsKlwWiMK0DU= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=QHy01Rzk; spf=pass (imf20.hostedemail.com: domain of sj@kernel.org designates 172.105.4.254 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1742936482; a=rsa-sha256; cv=none; b=6crj8W3ZFQvL+YT83fOwVFrFrliaAY1RqKotgpOm3dVpaQ259r5VBPbkBIv6LwFYzrzQzF BshtJ+JUo+XVGbn/B2f4I0a8ywhDQ8LTMAgZXC5Y476GsPf2bYQZp+0OgJLW2l+xo2B9RX Y78h3pnUa49s/PVC28K5QjRREmwrz1U= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 1E13F61165; Tue, 25 Mar 2025 21:01:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7696BC4CEE4; Tue, 25 Mar 2025 21:01:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742936477; bh=PPWU3l4LCJdB98jPPjw2NNmWLBKLIu9LtckOISw4RA8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QHy01RzkeJFnCXZeMmZeCz9KlY7xH2E9N8czzp1uWSqEH4lozSh9g+S2msBefoPep Wwte+jVcwS/N/xbEfJ+Uuy0huSJGCx4MDKS1daaqKkRt25ZoLubavA7d0BQkmy/DgG znc+4jkl8+BBESO/OpPTJG+Px+MJVapzDkh3lXZ3u4q61vpJZF9oc8eTGTkMmRlL2l RG3IwkhX9CJo6dRjcMkHa4cpDnDeDPjeP2BDNEJ8VXR+3AqApzXiFMItzwlb8VMBl0 QkbaDFF3VZh19Nxbvk7+kvDBOa2tARLORV4A6QiYKi1bv0T3vGvWozvNYiIr9FNQ74 7jJzkonGr6eqA== From: SeongJae Park To: SeongJae Park Cc: lsf-pc@lists.linux-foundation.org, damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@meta.com, Raghavendra K T , Yuanchu Xie , Jonathan Cameron , Gregory Price , Kaiyang Zhao , Jiaming Yan , Honggyu Kim Subject: Re: [LSF/MM/BPF TOPIC] DAMON Requirements for Access-aware MM of Future Date: Tue, 25 Mar 2025 14:01:13 -0700 Message-ID: <20250325210114.844509-1-sj@kernel.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250101222039.74565-1-sj@kernel.org> References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 224EB1C0002 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: 1tdeckub3hqbeqabd7w618u1gy1smck8 X-HE-Tag: 1742936481-842737 X-HE-Meta: U2FsdGVkX19fYHupBnBqpqeSj6Np6/0gqZ94QhUCkK+Cf/f5SCv33OCfhX4TWjrxKl0+qfsgpBTZzUkX1mHPPRh3CiJw60xHcivWmNq2cc4R7S0DO9M9NP9jTpexlGpS9SaKpE2TIPWhn9ZnYV3H9ggz9Bya3/lodkQUJwLNU8mgrowCGVCn4vPKK8zr2oDhHQUBYGU0d7L91u66ABPk0mFeXln+u07lirW3mQysuEHKuXC9wWR18d743iq3FWTn9d1tZk+JB92q4uK5NMZlTvBtD8sH0DkgswOu4eiSa7CNIqgMt7lOGtpIpZnGEYP+hvQg5ozHXgl11JXXdcHlnhUtAuYyM3O0fClOtViF61o90/c4JH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KrvrpFnQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Hello, On Wed, 1 Jan 2025 14:20:39 -0800 SeongJae Park wrote: > Hi all, > > > I find a few interesting and promising projects that aim to do efficient access > pattern-aware memory management of near future, including below (alphabetically > sorted). > > - CXL hotness monitoring unit > (https://lore.kernel.org/20241121101845.1815660-1-Jonathan.Cameron@huawei.com) > - Memory tiering fainess by per-cgroup control of promotion and demotion > (https://lore.kernel.org/20241108190152.3587484-1-kaiyang2@cs.cmu.edu) > - Promotion of unmapped page cache folios > (https://lore.kernel.org/20241210213744.2968-1-gourry@gourry.net) > - Slow-tier page promotion based on PTE A bit > (https://lore.kernel.org/20241201153818.2633616-1-raghavendra.kt@amd.com) > - Workingset reporting > (https://lore.kernel.org/20241127025728.3689245-1-yuanchu@google.com) > > The goal of DAMON is to help accelerating such developments by being a > framework that can reduce fundamental efforts for monitoring memory access > patterns and managing memory using the information. AWS Aurora Serverless v2 > and SK hynix are successfully using DAMON in the way for proactive memory > reclamation[1] and CXL memory tiering[2]. > > To further deliver such benefits for the ongoing and future projects, we need > to better understand what the projects really need, how DAMON can provide those > now or in future, and if there are alternatives better than DAMON. Regardless > of the conclusion about DAMON, the works apparently have common parts, so the > discussion will benefit all. > > I propose to have the discussion at LSF/MM/BPF. In the session, I will briefly > introduce the works and possible DAMON usages, and continue the open discussion > for better understanding each other. The discussion will not be limited to > DAMON and abovely mentioned projects but possible alternatives and general > access-aware memory management projects. After the discussion, we will > hopefully find ways to efficiently collaborate, or at least do not disturb each > other. > > [1] https://assets.amazon.science/ee/a4/41ff11374f2f865e5e24de11bd17/resource-management-in-aurora-serverless.pdf > [2] https://github.com/skhynix/hmsdk/wiki/Capacity-Expansion A draft of the slides for this session is now available at https://github.com/damonitor/talks/blob/master/2025/lsfmmbpf/damon_requirements_lsfmmbpf_2025.pdf I may make more last time changes to the slides, but the final version should also be available on the same URL. Thanks, SJ [...]