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 X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D436C33CB1 for ; Mon, 27 Jan 2020 16:54:15 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 01A96214AF for ; Mon, 27 Jan 2020 16:54:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="GmIZc3LA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 01A96214AF Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=amazon.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8854A6B0003; Mon, 27 Jan 2020 11:54:14 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 835E16B0006; Mon, 27 Jan 2020 11:54:14 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7255E6B0007; Mon, 27 Jan 2020 11:54:14 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0032.hostedemail.com [216.40.44.32]) by kanga.kvack.org (Postfix) with ESMTP id 599546B0003 for ; Mon, 27 Jan 2020 11:54:14 -0500 (EST) Received: from smtpin16.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with SMTP id 1EC2E249C for ; Mon, 27 Jan 2020 16:54:14 +0000 (UTC) X-FDA: 76424012028.16.spark49_7cb98dc2fc44 X-HE-Tag: spark49_7cb98dc2fc44 X-Filterd-Recvd-Size: 4378 Received: from smtp-fw-9102.amazon.com (smtp-fw-9102.amazon.com [207.171.184.29]) by imf12.hostedemail.com (Postfix) with ESMTP for ; Mon, 27 Jan 2020 16:54:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1580144054; x=1611680054; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=0SviMkKcxANZUVYkfDAkB59AQTxTuaXQe+9xsrFF+KY=; b=GmIZc3LAUR+A+2Z0jQf65iU9RrFqv61H+uISTDBj+/NEPKZCJ/CwrNR2 JF5gNAb2t4hTm+IROFAvHAi3VOyvy6+o6oGVeJe+SV8iNCSPYOn7liJjo nNyNvok/Q9k+3GgX44B02U0dMpyZXfSp8VQUZKZQRKqyLD7E29zU3HYPE Q=; IronPort-SDR: KQN/UHYdxS0e4lNPplrDxisvIUDa7mjblFbw4Kkbyi5rHwH8t6bvfdVvas6iUNGq4yglNWYZL8 BGXZ4gkuwxBw== X-IronPort-AV: E=Sophos;i="5.70,370,1574121600"; d="scan'208";a="21336953" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1e-a70de69e.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 27 Jan 2020 16:53:51 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1e-a70de69e.us-east-1.amazon.com (Postfix) with ESMTPS id 2D67CA1EED; Mon, 27 Jan 2020 16:53:49 +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.1236.3; Mon, 27 Jan 2020 16:53:48 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.161.117) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 27 Jan 2020 16:53:42 +0000 From: To: SeongJae Park CC: "Kirill A. Shutemov" , SeongJae Park , , SeongJae Park , , , , , , , , , , Subject: Re: Re: Re: [PATCH 0/8] Introduce Data Access MONitor (DAMON) Date: Mon, 27 Jan 2020 17:53:25 +0100 Message-ID: <20200127165325.21279-1-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200120181440.7826-1-sj38.park@gmail.com> (raw) MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.161.117] X-ClientProxiedBy: EX13D28UWC001.ant.amazon.com (10.43.162.166) To EX13D31EUA001.ant.amazon.com (10.43.165.15) 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: On Mon, 20 Jan 2020 19:14:40 +0100 SeongJae Park wrote: > On Mon, 20 Jan 2020 19:55:51 +0300 "Kirill A. Shutemov" wrote: > > > On Mon, Jan 20, 2020 at 05:27:49PM +0100, SeongJae Park wrote: > > > This patchset introduces a new kernel module for practical monitoring of > > > data accesses, namely DAMON. > > > > Looks like it's not integrated with perf at all right? Why? > > Correlating measurements from different domains would help to see the > > bigger picture. > > Right, it's not integrated with perf. DAMON provides only its debugfs > interface. Also I agree that correlating measurments will be helpful. I do > not integrate DAMON with perf with this patchset for following reasons. > > First of all, I think I have no deep understanding of perf, yet. Partly for > the reason, I couldn't figure out the best way to integrate DAMON with perf. > Especially, I couldn't straightforwardly classify DAMON providing information > into one of the categories of the perf events I know. > > Therefore, rather than integrating DAMON with perf in my arguable way and > increasing the complexity of the code, I decided to keep the interface as > simple and flexible as it can be for the first stage. That said, I believe it > would be not too hard to integrate DAMON with perf in a future. I think I was unnecessarily worry about the best way. I added a tracepoint to the monitoring result writing logic of DAMON. Other tracers including perf would easily integrate DAMON using it, though the tracepoint is not highly optimized yet. Will post next version soon. Thanks, SeongJae Park > > > Thanks, > SeongJae Park > > > > > -- > > Kirill A. Shutemov > > > >