From: Minchan Kim <minchan.kim@gmail.com>
To: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk>,
Rik van Riel <riel@redhat.com>,
Wu Fengguang <fengguang.wu@intel.com>,
Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org
Subject: Re: Isolated(anon) and Isolated(file)
Date: Wed, 16 Sep 2009 00:30:52 +0900 [thread overview]
Message-ID: <28c262360909150830x36de7a28s869c57042a537f24@mail.gmail.com> (raw)
In-Reply-To: <20090915114742.DB79.A69D9226@jp.fujitsu.com>
On Tue, Sep 15, 2009 at 11:56 AM, KOSAKI Motohiro
<kosaki.motohiro@jp.fujitsu.com> wrote:
> Hi
>
>> Hi KOSAKI-san,
>>
>> May I question the addition of Isolated(anon) and Isolated(file)
>> lines to /proc/meminfo? I get irritated by all such "0 kB" lines!
>>
>> I see their appropriateness and usefulness in the Alt-Sysrq-M-style
>> info which accompanies an OOM; and I see that those statistics help
>> you to identify and fix bugs of having too many pages isolated.
>>
>> But IMHO they're too transient to be appropriate in /proc/meminfo:
>> by the time the "cat /proc/meminfo" is done, the situation is very
>> different (or should be once the bugs are fixed).
>>
>> Almost all its numbers are transient, of course, but these seem
>> so much so that I think /proc/meminfo is better off without them
>> (compressing more info into fewer lines).
>>
>> Perhaps I'm in the minority: if others care, what do they think?
>
> I think Alt-Sysrq-M isn't useful in this case. because, if heavy memory
> pressure occur, the administrator can't input "echo > /proc/sysrq-trigger"
> to his terminal.
> In the otherhand, many system get /proc/meminfo per every second. then,
> the administrator can see last got statistics.
>
> However, I halfly agree with you. Isolated field is transient value.
> In almost case, it display 0kB. it is a bit annoy.
>
> Fortunately, now /proc/vmstat and /sys/device/system/node/meminfo also
> can display isolated value.
> (As far as I rememberd, it was implemented by Wu's request)
> We can use it. IOW, we can remove isolated field from /proc/meminfo.
>
>
> How about following patch?
>
>
> ========== CUT HERE ===============================
> From 7aa6fa2b76ff5d063b8bfa4a3af38c39b9396fd5 Mon Sep 17 00:00:00 2001
> From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
> Date: Tue, 15 Sep 2009 10:16:51 +0900
> Subject: [PATCH] Kill Isolated field in /proc/meminfo
>
> Hugh Dickins pointed out Isolated field dislpay 0kB at almost time.
> It is only increased at heavy memory pressure case.
>
> So, if the system haven't get memory pressure, this field isn't useful.
> And now, we have two alternative way, /sys/device/system/node/node{n}/meminfo
> and /prov/vmstat. Then, it can be removed.
>
> Reported-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
--
Kind regards,
Minchan Kim
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2009-09-15 15:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-13 19:42 Isolated(anon) and Isolated(file) Hugh Dickins
2009-09-13 23:24 ` Minchan Kim
2009-09-14 2:46 ` Wu Fengguang
2009-09-15 2:56 ` KOSAKI Motohiro
2009-09-15 15:30 ` Minchan Kim [this message]
2009-09-15 23:49 ` Wu Fengguang
2009-09-16 0:04 ` Hugh Dickins
2009-09-16 2:09 ` KOSAKI Motohiro
2009-09-16 2:19 ` Andrew Morton
2009-09-16 2:36 ` KOSAKI Motohiro
2009-09-16 3:20 ` Rik van Riel
2009-09-16 3:29 ` Wu Fengguang
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=28c262360909150830x36de7a28s869c57042a537f24@mail.gmail.com \
--to=minchan.kim@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=fengguang.wu@intel.com \
--cc=hugh.dickins@tiscali.co.uk \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=linux-mm@kvack.org \
--cc=riel@redhat.com \
/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 NNTP newsgroup(s).