From: Luigi Semenzato <semenzato@google.com>
To: Linux Memory Management List <linux-mm@kvack.org>
Subject: measuring reclaim overhead without NR_PAGES_SCANNED
Date: Wed, 22 Aug 2018 18:50:36 -0700 [thread overview]
Message-ID: <CAA25o9QLMuDSL6L3+7KQO=NrtohB=dgvLgsusLTy5-qsAK6Org@mail.gmail.com> (raw)
My apologies for not noticing this earlier, but we're often working
with older kernels.
On May 3, 2017 this patch was merged:
commit c822f6223d03c2c5b026a21da09c6b6d523258cd
Author: Johannes Weiner <hannes@cmpxchg.org>
AuthorDate: Wed May 3 14:52:10 2017 -0700
Commit: Linus Torvalds <torvalds@linux-foundation.org>
CommitDate: Wed May 3 15:52:08 2017 -0700
mm: delete NR_PAGES_SCANNED and pgdat_reclaimable()
I was planning to use this number as a measure of how much work the
kernel was doing trying to reclaim pages (by comparing it, for
instance, to the number of pages actually swapped in). I am not even
sure how good a metric this would be. Does anybody have suggestions
for a good (or better) replacement?
Thanks!
next reply other threads:[~2018-08-23 1:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-23 1:50 Luigi Semenzato [this message]
2018-08-23 12:16 ` Michal Hocko
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='CAA25o9QLMuDSL6L3+7KQO=NrtohB=dgvLgsusLTy5-qsAK6Org@mail.gmail.com' \
--to=semenzato@google.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox