From: Robin Holt <holt@sgi.com>
To: Paul Jackson <pj@sgi.com>
Cc: Jay Lan <jlan@engr.sgi.com>,
linux-kernel@vger.kernel.org, lse-tech@lists.sourceforge.net,
csa@oss.sgi.com, akpm@osdl.org, guillaume.thouvenin@bull.net,
tim@physik3.uni-rostock.de, corliss@digitalmages.com
Subject: Re: [PATCH 2.6.9-rc2 2/2] enhanced MM accounting data collection
Date: Tue, 28 Sep 2004 06:38:58 -0500 [thread overview]
Message-ID: <20040928113858.GA1090@lnx-holt.americas.sgi.com> (raw)
In-Reply-To: <20040928023350.611c84d8.pj@sgi.com>
On Tue, Sep 28, 2004 at 02:33:50AM -0700, Paul Jackson wrote:
> nits:
>
> 3) Is it always the case that csa_update_integrals() and
> update_mem_hiwater() are used together? If so, perhaps
> they could be collapsed into one? Even the current->mm
> test inside them could be made one test, perhaps?
This sounds like a really good idea. Maybe update_mem_hiwater should have
the #ifdef CONFIG_CSA inside it. This really sounds like a good idea.
Is update_mem_hiwater everywhere that csa_update_integrals needs to be?
I seem to remember one or two places where that was not the case.
Of course that was a few years ago and my memory is really fuzzy
>
> 4) What kind of kernel text size expansion does this cause?
> There seem to be about a dozen of these calls. What are
> the pros and cons of inlining csa_update_integrals() and
> update_mem_hiwater()? Are these on hot enough kernel code
> paths that we should benchmark with and without these hooks
> enabled, both inline and out-of-line?
The size was never very noticable. It usually did not even cause overflow
to the next 4k page. The csa_job module added the biggest bloat, but
I have nearly always compiled that as a module.
I have benchmarked these hooks a very long time ago. The number and
location has not changed appreciably.
I ran three seperate tests. The first was without any csa config'd on.
The second was with csa config'd on, but no job containers and the
writing of the accounting file turned off. Last was with everything.
We ran 7 runs of each config on a 32 cpu system.
There was no delta between the two kernels that were not writing
accounting files. Actually, the average for the with integrals was 0.3%
above the without integrals, but this is well within the noise range.
Originally, there was a 5% decrease in performance with the writing of
the accounting data. There was another unfortunate side effect that some
of the CSA metrics became much worse. This problem was later identified
and fixed. At that point, CSA logging caused a 2.7% drop in AIM7 peak
with shifting the transition point (I think that was the name I remember)
towards a higher number of processes. Jack said that was due to a
slight serializing of process exits.
Robin
next prev parent reply other threads:[~2004-09-28 11:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-27 22:34 [PATCH 2.6.9-rc2 0/2] enhanced " Jay Lan
2004-09-27 22:44 ` [PATCH 2.6.9-rc2 1/2] enhanced I/O " Jay Lan
2004-09-27 22:50 ` [PATCH 2.6.9-rc2 2/2] enhanced MM " Jay Lan
2004-09-28 9:33 ` Paul Jackson
2004-09-28 11:38 ` Robin Holt [this message]
2004-09-28 13:29 ` Paul Jackson
2004-09-28 14:34 ` Robin Holt
2004-10-02 0:38 ` [Lse-tech] " Jay Lan
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=20040928113858.GA1090@lnx-holt.americas.sgi.com \
--to=holt@sgi.com \
--cc=akpm@osdl.org \
--cc=corliss@digitalmages.com \
--cc=csa@oss.sgi.com \
--cc=guillaume.thouvenin@bull.net \
--cc=jlan@engr.sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lse-tech@lists.sourceforge.net \
--cc=pj@sgi.com \
--cc=tim@physik3.uni-rostock.de \
/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
all inboxes | Powered by JetHome®