Conversation
Edited 10 days ago
With kernel on the latest damon/next tree[1] and DAMON user-space tool on the latest next tree[2], users can try write-only monitoring via following command.

```
$ sudo ./damo start --exp_ops_use_reports y --exp_ops_write_only y
```

Please note that it is totally experimental, not in an upstreamable shape, and I did nearly no test. It may have many bugs, will be changed a lot, and might not be upstreamed at all. But, you can at least run the experiment.

#linux #kernel #damon #damo #write-only

[1] https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git/log/?h=damon/next
[2] https://github.com/damonitor/damo/tree/next
0
0
0
I continued this to allow monitoring accesses that made by only specific group of CPUs. You can do that using damo, like below.

```
$ sudo ./damo start --exp_ops_use_reports y --exp_ops_cpus 0-3,7-8,10
```

Again, note that this depend on gross, buggy, un-upstreamable-as-is hacks.

The initial proposals of these works go back to 2022. So I'm happy to share my first prototype that can at least be tried. So wrote a blog post after a while about this: https://damonitor.github.io/posts/write_only_cpus_only_monitoring/

#linux #kernel #damon #damo

RE: https://social.kernel.org/objects/6090d05e-4257-4b43-99fe-d104cba95054
0
0
0