Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1309806pxb; Thu, 4 Mar 2021 08:13:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJyOf5cuVOY/2HHPo3AyQulrJlsTo1HOKY0qFwEmaLLEgWOvu7fa3ok94oClLfOxxPVSEhw8 X-Received: by 2002:a17:906:444d:: with SMTP id i13mr4902329ejp.170.1614874436144; Thu, 04 Mar 2021 08:13:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614874436; cv=none; d=google.com; s=arc-20160816; b=MUM4SHeac9ZNHY7ZZySDUkt19twcYxDLvXFxyR7kQJo3qcO3e1AUyemrzpWcv95eZl 10MNqQPDCBXL/5FeK3dAFmdJbsUW2tz04t/0h5JVvV2uLTrwTYUpfzPtKV7QI0rmV73Y a/8Hp7NRNH/19acFucelR6fqhGASnqXBlz9Cl/HAuRpWjzdqR5a4eQm9PBND9lHu+naj gHK1EW7wy2c1WmxmYAvBUzb+/i5+gpoetFzBFe/UPWGYvK+oAL5tSZ6qYVuuzujJbVLb OE6uX7DJil25/p+4pPvAxfMpTUQwnkmMugjtiS/GvdbbZUo9JZbMvw2ePeGrStW/u1s/ tUdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=zjvvgWC6kbPk4Ox8xKpCrUziEcj1fMQtGf+j9LYto/E=; b=xaCdz9smzep0v9hyXYtC1YNWYj02w99A/0IRZHz0UgFaw45GJwgznsn58yul9qGfu1 9z+c4SVjJUXvhIGXn7rWo+H9Zj+D35r9MYDXJjm4vnhgHRJhAw5ZAlVE3zL3WHabYHpQ yYPEb8WNuS4+jaXCbAJRin2lgw/O1vVyYQr0zRMUm5ESY2u2mmasVN0Z5bOgFqDYxv2g QEcFhPJNo1wD5+bMZ4C1JsZ25M7Q9POb05gF3QzVz0V4EWQoBZu/LWo9m8ifejQuBdrP aHVM8Byaej33XL7MduH4l9s6An9yTBcBMbIwoHDG7gAOhfs68gMjKBtMwL9mMkPizr+P OMAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=E7zI3vDm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t17si4497983ejx.576.2021.03.04.08.13.32; Thu, 04 Mar 2021 08:13:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=E7zI3vDm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238326AbhCDKJf (ORCPT + 99 others); Thu, 4 Mar 2021 05:09:35 -0500 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:52678 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233310AbhCDKJH (ORCPT ); Thu, 4 Mar 2021 05:09:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1614852548; x=1646388548; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=zjvvgWC6kbPk4Ox8xKpCrUziEcj1fMQtGf+j9LYto/E=; b=E7zI3vDmLDsaTZF8VxAfh1LFh+yZ0fddahfxj6KOOF5I7mrmC7yFGa0p xfTkXWD6IzPw9Wxq/0dSkPt59SQIQNC+K8F01CqLUzpvEBdgAv3TcfhVh X2qFGxwKjQUFSJsKl2v139VZCvDUgsQB3VP3d5pb+vZ/YGJfcWA3BqcJK M=; X-IronPort-AV: E=Sophos;i="5.81,222,1610409600"; d="scan'208";a="91330729" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1e-42f764a0.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 04 Mar 2021 10:08:21 +0000 Received: from EX13D31EUA001.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan2.iad.amazon.com [10.40.163.34]) by email-inbound-relay-1e-42f764a0.us-east-1.amazon.com (Postfix) with ESMTPS id 1A29CC0680; Thu, 4 Mar 2021 10:08:07 +0000 (UTC) Received: from u3f2cd687b01c55.ant.amazon.com (10.43.161.39) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 4 Mar 2021 10:07:51 +0000 From: SeongJae Park To: SeongJae Park CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v24 00/14] Subject: Introduce Data Access MONitor (DAMON) Date: Thu, 4 Mar 2021 11:07:32 +0100 Message-ID: <20210304100732.7844-1-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210204153150.15948-1-sjpark@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.161.39] X-ClientProxiedBy: EX13D29UWC001.ant.amazon.com (10.43.162.143) To EX13D31EUA001.ant.amazon.com (10.43.165.15) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 4 Feb 2021 16:31:36 +0100 SeongJae Park wrote: > From: SeongJae Park [...] > > Introduction > ============ > > DAMON is a data access monitoring framework for the Linux kernel. The core > mechanisms of DAMON called 'region based sampling' and 'adaptive regions > adjustment' (refer to 'mechanisms.rst' in the 11th patch of this patchset for > the detail) make it > > - accurate (The monitored information is useful for DRAM level memory > management. It might not appropriate for Cache-level accuracy, though.), > - light-weight (The monitoring overhead is low enough to be applied online > while making no impact on the performance of the target workloads.), and > - scalable (the upper-bound of the instrumentation overhead is controllable > regardless of the size of target workloads.). > > Using this framework, therefore, several memory management mechanisms such as > reclamation and THP can be optimized to aware real data access patterns. > Experimental access pattern aware memory management optimization works that > incurring high instrumentation overhead will be able to have another try. > > Though DAMON is for kernel subsystems, it can be easily exposed to the user > space by writing a DAMON-wrapper kernel subsystem. Then, user space users who > have some special workloads will be able to write personalized tools or > applications for deeper understanding and specialized optimizations of their > systems. > [...] > > Baseline and Complete Git Trees > =============================== > > The patches are based on the v5.10. You can also clone the complete git > tree: > > $ git clone git://github.com/sjp38/linux -b damon/patches/v24 > > The web is also available: > https://github.com/sjp38/linux/releases/tag/damon/patches/v24 > > There are a couple of trees for entire DAMON patchset series. It includes > future features. The first one[1] contains the changes for latest release, > while the other one[2] contains the changes for next release. > > [1] https://github.com/sjp38/linux/tree/damon/master > [2] https://github.com/sjp38/linux/tree/damon/next For people who prefer LTS kernels, I decided to maintain two more trees that repectively based on latest two LTS kernels and contains backports of the latest 'damon/master' tree, as below. Please use those if you want to test DAMON but using LTS. - For v5.4.y: https://github.com/sjp38/linux/tree/damon/for-v5.4.y - For v5.10.y: https://github.com/sjp38/linux/tree/damon/for-v5.10.y Thanks, SeongJae Park