[lkml]   [2021]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v34 00/13] Introduce Data Access MONitor (DAMON)
From: SeongJae Park <>

On Fri, 23 Jul 2021 08:30:41 +0000 SeongJae Park <> wrote:

> From: SeongJae Park <>
> Hello Dongjoo,
> On Fri, 23 Jul 2021 16:02:44 +0900 Dongjoo Seo <> wrote:
> > Hello, I am new user of this amazing tool.
> Thank you! It's always great to meet a new user!
> > I want to use this tool for Nvidia tx2 board with kernel version 4.9.140.
> >
> > Do you guys have any timeline or update schedule for different kernel version compatibility?
> I didn't have such a plan until now, but I think I can find a time slot to do
> one-time back porting of current DAMON on 4.9.140. I think continuous support
> would be not so easy, though. Nevertheless, if you need that, please feel free
> to let me know. Once it's done, I will notify you.

Thank you for waiting. I back-ported this patchset and another one for the
physical address space monitoring[1] on v4.9.140. The source code is available
at DAMON development tree[2].

BTW, I can also agree to Greg's opinion. For the reason, I also back-ported
the patches on latest v4.9.y[3]. I'd like to suggest you to try that first if
possible. I also hope this patchset to be merged in mainline in near future,
so that NVIDIA be attracted by DAMON and thus forward-port their drivers on the
latest mainline version.

Nevertheless, DAMOS[4] and DAMON_RECLAIM[5] patchsets are not back-ported
because those need more works, and you are apparently interested in only the
monitoring part.

Please note that this backport is for only one-time. In other words, I will
not backport the patches for every future 4.9.y release. Nevertheless, if you
need another backport, please remember I'm here for you.

Finally, a disclaimer. I did only minimal test for this, as below:

$ git clone; make -C masim/
$ git clone
$ # monitor a virtual address space of a process
$ sudo ./damo/damo record "./masim/masim ./masim/configs/zigzag.cfg"
$ ./damo/damo report heats --heatmap stdout
# x-axis: space (140021718388736-140021924798416: 196.848 MiB)
# y-axis: time (247055083700-317341924740: 1 m 10.287 s)
# resolution: 80x40 (2.461 MiB and 1.757 s for each character)
$ # monitor the physcial address space of the system
$ ./masim/masim ./masim/configs/zigzag.cfg &
$ sudo ./damo/damo record paddr
# x-axis: space (4294967296-136303345616: 122.942 GiB)
# y-axis: time (356358198969-430518964169: 1 m 14.161 s)
# resolution: 80x40 (1.537 GiB and 1.854 s for each character)

Hope you get some fun with these backports.


SeongJae Park


 \ /
  Last update: 2021-07-26 15:33    [W:0.061 / U:0.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site