From: Andrew Morton <akpm@osdl.org>
To: Jes Sorensen <jes@sgi.com>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
linux-ia64@vger.kernel.org
Subject: Re: [RFC - Patch] Condense output of show_free_areas()
Date: Thu, 14 Sep 2006 23:08:37 -0700 [thread overview]
Message-ID: <20060914230837.e8c53801.akpm@osdl.org> (raw)
In-Reply-To: <yq0mz92efsd.fsf@jaguar.mkp.net>
On 14 Sep 2006 09:30:58 -0400
Jes Sorensen <jes@sgi.com> wrote:
> On larger systems, the amount of output dumped on the console when you
> do SysRq-M is beyond insane. This patch is trying to reduce it
> somewhat as even with the smaller NUMA systems that have hit the
> desktop this seems to be a fair thing to do.
>
> The philosophy I have taken is as follows:
> 1) If a zone is empty, don't tell, we don't need yet another line
> telling us so. The information is available since one can look up
> the fact how many zones were initialized in the first place.
> 2) Put as much information on a line is possible, if it can be done
> in one line, rahter than two, then do it in one. I tried to format
> the temperature stuff for easy reading.
>
> Comments?
>
> Cheers,
> Jes
>
> Change show_free_areas() to not print lines for empty zones. If no zone
> output is printed, the zone is empty. This reduces the number of lines
> dumped to the console in sysrq on a large system by several thousand
> lines.
>
> Change the zone temperature printouts to use one line per CPU instead
> of two lines (one hot, one cold). On a 1024 CPU, 1024 node system, this
> reduces the console output by over a million lines of output.
>
> While this is a bigger problem on large NUMA systems, it is also
> applicable to smaller desktop sized and mid range NUMA systems.
Could you please send us an example of the new output for review,
and for me to include in the changelog? Thanks.
--
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:[~2006-09-15 6:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-14 13:30 Jes Sorensen
2006-09-15 6:08 ` Andrew Morton [this message]
2006-09-15 9:45 ` Jes Sorensen
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=20060914230837.e8c53801.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=jes@sgi.com \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--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