From: lokesh jaliminche <lokesh.jaliminche@gmail.com>
To: damon@lists.linux.dev
Subject: Regarding DAMON sysfs usage to get memory access stats
Date: Mon, 22 Apr 2024 17:51:21 -0700 [thread overview]
Message-ID: <CAKJOkCr86bMoOgxnJQu8Ry-W-2XHYn_xgyZWL4pTPCgcGK3_rg@mail.gmail.com> (raw)
Hi Everyone,
I am currently experimenting with DAMON to gather memory access
statistics for virtual address ranges associated with specific
processes. I have followed the detailed instructions provided in the
usage documentation, but it's unclear where to find the resulting
memory access statistics.
Any pointers on where to get these statistics?
Steps
# cd /sys/kernel/mm/damon/admin/
# echo 1 > kdamonds/nr_kdamonds && echo 1 > kdamonds/0/contexts/nr_contexts
# echo vaddr > kdamonds/0/contexts/0/operations
# echo 1 > kdamonds/0/contexts/0/targets/nr_targets
# echo $(pidof masim) > kdamonds/0/contexts/0/targets/0/pid_target
# echo on > kdamonds/0/state
Thanks & Regards,
Lokesh
next reply other threads:[~2024-04-23 0:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-23 0:51 lokesh jaliminche [this message]
2024-04-26 20:04 ` Regarding DAMON sysfs usage to get memory access stats SeongJae Park
2024-04-27 21:18 ` lokesh jaliminche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKJOkCr86bMoOgxnJQu8Ry-W-2XHYn_xgyZWL4pTPCgcGK3_rg@mail.gmail.com \
--to=lokesh.jaliminche@gmail.com \
--cc=damon@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).