From: Allan McAleavy <allan.mcaleavy@gmail.com>
To: linux-mm@kvack.org
Subject: Page Cache Monitoring ( Hit/Miss )
Date: Thu, 10 Dec 2015 09:42:59 +0000 [thread overview]
Message-ID: <CAF6XsOeYWvuNm=uuMCM4YD4a2dCoBe6TvimygPKRe4PMiHwQmw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
Hi Folks,
I am working on a rewrite of Brendan Greggs original cachestat (ftrace)
script into bcc. What I was looking for was a steer in the right direction
for what functions to trace. At present I trace the following.
add_to_page_cache_lru
account_page_dirtied
mark_page_accessed
mark_buffer_dirty
Where total = (mark_page_accessed - mark_buffer_dirty) & misses =
(add_to_page_cache_lru - account_page_dirtied), from this I then work out
the hit ratio etc. Is there any other key functions I should be tracing?
Thanks
[-- Attachment #2: Type: text/html, Size: 1361 bytes --]
next reply other threads:[~2015-12-10 9:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-10 9:42 Allan McAleavy [this message]
2015-12-11 15:22 ` Page Cache Monitoring ( Hit/Miss ) Allan McAleavy
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='CAF6XsOeYWvuNm=uuMCM4YD4a2dCoBe6TvimygPKRe4PMiHwQmw@mail.gmail.com' \
--to=allan.mcaleavy@gmail.com \
--cc=linux-mm@kvack.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.