Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1043691pxa; Thu, 20 Aug 2020 00:31:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9p+cBCctlrmlCJ1u31YMX4gp6s2wddCB1EIHP0BwZlHKcYMjHOGBc5bvz1kMZuLk8rECD X-Received: by 2002:a05:6402:1a23:: with SMTP id be3mr1727710edb.138.1597908702002; Thu, 20 Aug 2020 00:31:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597908701; cv=none; d=google.com; s=arc-20160816; b=QhmzatFZbiKjBQ/NpkCWYrvnPoW5lbSjKAictLqr5rZJqCjZ5DVf6/+ar2qiPBUMXI VeQ6dwZ7u2M/76p/A/3xyPm5pgsWVceIDMUX20vJ/Nskl8AQhevuuP7wRc7J/nc1ibc6 gSTZIA2DsIQu0J6m07xSYqOdtW2Yl/nbSs6C2uut+OViWzZGFsuuhHpX6IbI/iSaji41 MSiOOdHMSrU1ZNDuACX7GxxpKcQfRZ8GAhigwIUALHGnhHWMxhOmpd5MxZEa8xGS9h0+ dbGHgP1QTUdR+C/u4K+DhkzHAjOXYMNnCPIQaxSJfaJlebimE4kzb1XOjHJDmX/fbAIK 6OAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=+z5gRR9lDvZgFOK5wYX/pVE2K58JbzzBVI8/7gKt8aU=; b=rnfQOV4SeliiFAfGtgd7upl3ZhOciWqUnvQaz7R/Rw/1gosn8YRm5A78wfcAzhOQXR B43nbsdkDyMjp9LmG6crgcdtQqy66OlDYIh6ROLnqERlq3wLjArY9tBqGR5g7+Y2jt6X d4NJ+KEVaKkB+ffkeoXN3VCufvwhTZZK/aq/n5rYxwkMcNGkwXSP6ib+Kd6CZqBeB0zu zN8kDGY5M//f+ufgsDAWVXJUVAOIczsrd0qQX+4MF1tyFBkrvMMcIuRYD36OD6/BcxEH v3VrhniYkgf4Oi2LLSiBg3I9zFcbuhKkvIrpUPXVp1gutiYj0k3jqDALdHkIo4SBSQAZ LX7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=QRdScb1Q; 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 s11si719874ejm.74.2020.08.20.00.31.17; Thu, 20 Aug 2020 00:31:41 -0700 (PDT) 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=QRdScb1Q; 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 S1725977AbgHTH20 (ORCPT + 99 others); Thu, 20 Aug 2020 03:28:26 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:28129 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725797AbgHTH2Z (ORCPT ); Thu, 20 Aug 2020 03:28:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1597908505; x=1629444505; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=+z5gRR9lDvZgFOK5wYX/pVE2K58JbzzBVI8/7gKt8aU=; b=QRdScb1QLjI7RFNgy/FaHLCiWqApUr5vMxxlgIMuvp1uT0q+Rl1o1qIY 3B8f1pWOKq5hcssNp6PZTKJHGooBHsU0593o91z2j6VTgFXtQfUJnYR6o oYO/YjxDzY4B5y9lv3ctz/yazmmWOdRHVzf6By67E0Am6I2vRtBZsproj U=; X-IronPort-AV: E=Sophos;i="5.76,332,1592870400"; d="scan'208";a="48764235" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-1d-38ae4ad2.us-east-1.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 20 Aug 2020 07:28:24 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1d-38ae4ad2.us-east-1.amazon.com (Postfix) with ESMTPS id 4879FA261F; Thu, 20 Aug 2020 07:28:11 +0000 (UTC) Received: from EX13D31EUA001.ant.amazon.com (10.43.165.15) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 20 Aug 2020 07:28:11 +0000 Received: from u3f2cd687b01c55.ant.amazon.com (10.43.160.183) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 20 Aug 2020 07:27:54 +0000 From: SeongJae Park To: SeongJae Park CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v20 00/15] Introduce Data Access MONitor (DAMON) Date: Thu, 20 Aug 2020 09:27:38 +0200 Message-ID: <20200820072738.27602-1-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200817105137.19296-1-sjpark@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.160.183] X-ClientProxiedBy: EX13D05UWB004.ant.amazon.com (10.43.161.208) To EX13D31EUA001.ant.amazon.com (10.43.165.15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 17 Aug 2020 12:51:22 +0200 SeongJae Park wrote: > From: SeongJae Park > > Changes from Previous Version > ============================= > > - Place 'CREATE_TRACE_POINTS' after '#include' statements (Steven Rostedt) > - Support large record file (Alkaid) > - Place 'put_pid()' of virtual monitoring targets in 'cleanup' callback > - Avoid conflict between concurrent DAMON users > - Update evaluation result document > > Introduction > ============ > > DAMON is a data access monitoring framework subsystem 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, the kernel's core memory management mechanisms > such as reclamation and THP can be optimized for better memory management. The > experimental memory management optimization works that incurring high > instrumentation overhead will be able to have another try. In user space, > meanwhile, users who have some special workloads will be able to write > personalized tools or applications for deeper understanding and specialized > optimizations of their systems. DAMON will be presented in the next week LPC[1]. To be prepared for a screen sharing error (if I get no such error, I will do a live-demo), I recorded a simple demo video. I would like to share it here to help your easier understanding of DAMON. https://youtu.be/l63eqbVBZRY [1] https://linuxplumbersconf.org/event/7/contributions/659/ Thanks, SeongJae Park