From: Andrew Morton <akpm@osdl.org>
To: Christoph Lameter <clameter@sgi.com>
Cc: nickpiggin@yahoo.com.au, linux-mm@kvack.org
Subject: Re: Avoid excessive time spend on concurrent slab shrinking
Date: Fri, 31 Mar 2006 16:00:32 -0800 [thread overview]
Message-ID: <20060331160032.6e437226.akpm@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0603311541260.8948@schroedinger.engr.sgi.com>
Christoph Lameter <clameter@sgi.com> wrote:
>
> On Fri, 31 Mar 2006, Andrew Morton wrote:
>
> > > System sluggish in general. cscope takes 20 minutes to start etc. Dropping
> > > the caches restored performance.
> >
> > OK. What sort of system was it, and what was the workload? FIlesystem types?
>
> A build server. Lots of scripts running, compilers etc etc.
Interesting. Many CPUs?
> > It's been like that for an awful long time. Can you think why this has
> > only just now been noticed?
>
> Testing has reached new level of thoroughness because of the new releases
> that are due soon...
>
> > > We just noticed general sluggishness and took some stackdumps to see what
> > > the system was up to.
> >
> > OK. But was it D-state sleep (semaphore lock contention) or what?
>
> Yes, lots of processes waiting on semaphores in
> shrink_slab->shrink_icache_memory. Need to look at this in more detail it
> seems.
Please. Or at least suggest a means-of-reproducing.
A plain old sysrq-T would be great. That'll tell us who owns iprune_sem,
and what he's up to while holding it. Actually five-odd sysrq-T's would be
better.
If the lock holder is stuck on disk I/O or a congested queue or something
then that's very different from the lock holder being in a
pointlessly-burn-CPU-scanning-stuff condition.
> I looked at the old release that worked. Seems that it did the same thing
> in terms of slab shrinking. Concurrent slab shrinking was no problem. So
> you may be right. Its something unrelated to the code in vmscan.c. Maybe
> Nick knows something about this?
--
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-04-01 0:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-31 22:44 Christoph Lameter
[not found] ` <20060331150120.21fad488.akpm@osdl.org>
2006-03-31 23:17 ` Christoph Lameter
2006-03-31 23:46 ` Andrew Morton
[not found] ` <20060331153235.754deb0c.akpm@osdl.org>
2006-03-31 23:48 ` Christoph Lameter
2006-04-01 0:00 ` Andrew Morton [this message]
2006-04-01 0:14 ` Andrew Morton
2006-04-01 0:22 ` Christoph Lameter
2006-04-01 1:25 ` Andrew Morton
2006-04-01 2:34 ` Nick Piggin
2006-04-01 5:59 ` Nathan Scott
2006-04-01 18:30 ` David Chinner
2006-04-01 18:49 ` Christoph Lameter
2006-04-01 18:24 ` David Chinner
2006-03-31 23:45 ` Andrew Morton
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=20060331160032.6e437226.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=clameter@sgi.com \
--cc=linux-mm@kvack.org \
--cc=nickpiggin@yahoo.com.au \
/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