From: Andrew Morton <akpm@digeo.com>
To: William Lee Irwin III <wli@holomorphy.com>
Cc: Dave Hansen <haveblue@us.ibm.com>,
colpatch@us.ibm.com, "Martin J. Bligh" <mbligh@aracnet.com>,
Michael Hohnbaum <hohnbaum@us.ibm.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] per-zone^Wnode kswapd process
Date: Fri, 13 Sep 2002 18:19:36 -0700 [thread overview]
Message-ID: <3D828EA8.EF24BAD0@digeo.com> (raw)
In-Reply-To: 20020914001235.GG3530@holomorphy.com
William Lee Irwin III wrote:
>
> ...
> On Fri, Sep 13, 2002 at 05:02:56PM -0700, Andrew Morton wrote:
> > Why do I see only one kswapd here?
> > Are you claiming an overall 4x improvement, or what?
> > I'll add some instrumentation whch tells us how many pages
> > kswapd is reclaiming versus direct reclaim.
>
> I can catch the others running if I refresh more often:
>
> 38 root 15 0 0 0 0 DW 4.8 0.0 1:57 kswapd0
> 36 root 15 0 0 0 0 SW 2.7 0.0 0:16 kswapd2
>
> 4779 wli 22 0 4476 3604 1648 R 9.2 0.0 0:58 top
> 37 root 15 0 0 0 0 SW 2.6 0.0 0:16 kswapd1
>
> 38 root 15 0 0 0 0 DW 2.9 0.0 2:12 kswapd0
> 36 root 15 0 0 0 0 SW 1.8 0.0 0:22 kswapd2
>
> 4779 wli 25 0 4476 3600 1648 R 7.4 0.0 1:18 top
> 37 root 15 0 0 0 0 SW 2.7 0.0 0:21 kswapd1
>
> 4779 wli 24 0 4476 3600 1648 R 37.5 0.0 1:49 top
> 37 root 16 0 0 0 0 RW 11.1 0.0 0:23 kswapd1
>
> 4779 wli 25 0 4476 3600 1648 R 14.1 0.0 1:51 top
> 35 root 15 0 0 0 0 SW 6.9 0.0 0:24 kswapd3
>
> 38 root 15 0 0 0 0 RW 2.9 0.0 2:29 kswapd0
> 37 root 16 0 0 0 0 SW 1.4 0.0 0:28 kswapd1
>
> etc.
>
> Not sure about baselines. I'm happier because there's more cpu
> utilization. kswapd0 is relatively busy so the other ones take some
> load off of it. The benchmark isn't quite done yet. I think four
> dbench 512's in parallel might be easier to extract results from.
> tiobench also looks like it's getting some cpu:
>
OK, thanks.
Could you please go into /proc/<pif_of_kswapd>/cpu and double
check that each kswapd is only racking up points on the CPUs
which it is supposed to be running on? As a little sanity check...
(hm. Why isn't cpus_allowed displayed from in there?)
Also, we need to double check that I'm not completely full of
unmentionables, and that kswapd really is doing useful work there.
I can check that.
I'll do an mm4 in a mo (as soon as I work out who did the dud patch
which stops it booting) and we can see what the kwapd-versus-direct-reclaim
ratio looks like.
next prev parent reply other threads:[~2002-09-14 0:59 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-13 3:33 [PATCH] per-zone kswapd process Dave Hansen
2002-09-13 4:06 ` Andrew Morton
2002-09-13 4:06 ` Andrew Morton
2002-09-13 4:59 ` William Lee Irwin III
2002-09-13 4:59 ` William Lee Irwin III
2002-09-13 5:10 ` Martin J. Bligh
2002-09-13 5:10 ` Martin J. Bligh
[not found] ` <3D8232DE.9090000@us.ibm.com>
[not found] ` <3D823702.8E29AB4F@digeo.com>
[not found] ` <3D8251D6.3060704@us.ibm.com>
[not found] ` <3D82566B.EB2939D5@digeo.com>
2002-09-13 22:52 ` [PATCH] per-zone^Wnode " Dave Hansen
2002-09-13 23:24 ` Matthew Dobson
2002-09-13 23:29 ` Matthew Dobson
2002-09-13 23:46 ` William Lee Irwin III
2002-09-14 0:02 ` Andrew Morton
2002-09-14 0:12 ` William Lee Irwin III
2002-09-14 1:19 ` Andrew Morton [this message]
2002-09-13 5:46 ` [PATCH] per-zone " Andrew Morton
2002-09-13 5:46 ` Andrew Morton
2002-09-13 5:38 ` Martin J. Bligh
2002-09-13 5:38 ` Martin J. Bligh
2002-09-13 6:03 ` Andrew Morton
2002-09-13 6:03 ` Andrew Morton
2002-09-13 13:05 ` Alan Cox
2002-09-13 13:05 ` Alan Cox
2002-09-13 21:30 ` William Lee Irwin III
2002-09-13 21:30 ` William Lee Irwin III
2002-09-18 16:07 ` [PATCH] recognize MAP_LOCKED in mmap() call Hubertus Franke
2002-09-18 16:29 ` Andrew Morton
2002-09-18 16:29 ` Andrew Morton
2002-09-16 5:44 ` [PATCH] per-zone kswapd process Daniel Phillips
2002-09-16 5:44 ` Daniel Phillips
2002-09-16 7:46 ` William Lee Irwin III
2002-09-16 7:46 ` William Lee Irwin III
2002-09-16 15:12 ` Rik van Riel
2002-09-16 15:12 ` Rik van Riel
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=3D828EA8.EF24BAD0@digeo.com \
--to=akpm@digeo.com \
--cc=colpatch@us.ibm.com \
--cc=haveblue@us.ibm.com \
--cc=hohnbaum@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@aracnet.com \
--cc=wli@holomorphy.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 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.