mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Jonathan Corbet <corbet@lwn.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ext3 inode cache eats system, news at 11
Date: Mon, 26 Apr 2004 18:12:35 -0700	[thread overview]
Message-ID: <20040426181235.2b5b62c8.akpm@osdl.org> (raw)
In-Reply-To: <20040426171856.22514.qmail@lwn.net>

Jonathan Corbet <corbet@lwn.net> wrote:
>
>  One of the remaining bits of weirdness with my x86_64 system has been that
>  I often find it unresponsive in the morning; it's harder to get out of bed
>  than my middle-school son.  Some things happen (the pointer moves in
>  response to the mouse) but everything on the system seems asleep.  Very
>  little disk activity happens.  Eventually, usually, the system comes back
>  to life, but that can take 15-30 minutes.
> 
>  I've managed to correlate this behavior with processes which read through
>  the whole disk.  The nightly updatedb run is the worst offender, but a full
>  backup of the disk can do it as well.
> 
>  A look at /proc/meminfo (appended below) shows that the bulk of main memory
>  is taken up by the slab cache.  I'll append a full slabinfo listing as
>  well, but two things stand out:
> 
>  ext3_inode_cache  488356 488978   1128    7    2 

                                                 ^^^

It's that 1-order allocation which is causing the problem.  I thought we'd
beaten this behaviour out of the slab code but it seems not.



ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.6-rc2/2.6.6-rc2-mm2/broken-out/slab-order-0-for-vfs-caches.patch

is not a completely happy solution, but it should fix things up.

  parent reply	other threads:[~2004-04-27  1:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-26 17:18 Jonathan Corbet
2004-04-26 17:58 ` Chris Wedgwood
2004-04-27  1:12 ` Andrew Morton [this message]
2004-04-27  3:26   ` Nick Piggin
2004-04-27  4:02     ` Andrew Morton
2004-04-27  4:17       ` Nick Piggin
2004-04-28 10:41       ` Jose R. Santos

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=20040426181235.2b5b62c8.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=corbet@lwn.net \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®