mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robin Holt <holt@sgi.com>
To: Norbert van Nobelen <Norbert@edusupport.nl>
Cc: Robin Holt <holt@sgi.com>, linux-kernel@vger.kernel.org
Subject: Re: 21 million inodes is causing severe pauses.
Date: Mon, 15 Nov 2004 14:51:39 -0600	[thread overview]
Message-ID: <20041115205138.GA12106@lnx-holt.americas.sgi.com> (raw)
In-Reply-To: <200411152135.35121.Norbert@edusupport.nl>

On Mon, Nov 15, 2004 at 09:35:35PM +0100, Norbert van Nobelen wrote:
> It would help a lot if you provided logins to everybody on this list to this 
> desktop system of you (-:

That would not be possible.  The setup is not that uniq. It is basically
a SLES9 system with 4 300GB filesystem locally mounted and a large number
of autofs mounted home directories etc.  I can provide diagnostic counters
if they will be helpful.

> 
> Anyway: There is temporary solution, which will help a little in this case: 
> Increase the blocksize so that your total number of inodes decreases. Since 
> XFS is your own filesystem, you could calculate the results of this pretty 
> quick.

The problem is not isolated to XFS.  Even with smaller blocksizes, we
still have a large number of files being referenced which will result
in many inodes.  We saw the same behavior with ext2/3 and NFS.  I don't
think it has anything to do with XFS.

> 
> Using another filesystem could help too, but I don't have any comparison bases 
> for this since the largest system we have here at this moment only has 1 TB 
> of diskspace.

You should have enough disk space.  You will need a lot of memory as
well.  You will also need a workload which puts some memory pressure on
periodically, but not that much pressure and not that often.  This appears
to make the vm favor buffer cache to slab cache and allow the inode
cache to grow really large.

Thanks,
Robin Holt

  reply	other threads:[~2004-11-15 20:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-15 19:55 Robin Holt
2004-11-15 20:35 ` Norbert van Nobelen
2004-11-15 20:51   ` Robin Holt [this message]
2004-11-15 20:57   ` linux-os
2004-11-15 21:31     ` Robin Holt
2004-11-15 22:57 ` Andrew Morton
2004-11-16 16:28   ` Robin Holt
2004-11-16 19:13     ` Andrew Morton
2004-11-16 19:48       ` Robin Holt
2004-11-17  0:33         ` Andrew Morton
2004-11-17  0:54           ` Robin Holt
2004-11-17  1:05             ` Andrew Morton
2004-11-16 16:32   ` Robin Holt
2004-11-16 19:15     ` 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=20041115205138.GA12106@lnx-holt.americas.sgi.com \
    --to=holt@sgi.com \
    --cc=Norbert@edusupport.nl \
    --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®