public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Theodore Tso <tytso@mit.edu>
To: Christoph Lameter <clameter@sgi.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] [PATCH 0/8] Inode slimming
Date: Mon, 19 Jun 2006 15:09:55 -0400	[thread overview]
Message-ID: <20060619190955.GI15216@thunk.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0606190953180.21382@schroedinger.engr.sgi.com>

On Mon, Jun 19, 2006 at 09:54:22AM -0700, Christoph Lameter wrote:
> On Mon, 19 Jun 2006, Theodore Tso wrote:
> 
> > What else remains to be done?  There are a large number of fields in
> > struct inode which are never populated unless the inode is open, and
> > those should get moved into another structure which is populated only
> > when needed.  There are a large number of inodes which are read into
> > memory only because stat(2) was called on them (thanks to things like
> > color ls, et. al).  
> 
> One could remove the reclaim list and use the slab lists of the slab 
> allocator to scan through the inodes and reclaim them in such a way
> that would maximize the number of pages freed. I will post an RFC on that 
> one later. This may reduce the complexity of inode reclaim.

That may very well be a good thing to do (although if it is too
aggressive we may end up reducing the utility of the dentry cache ---
your patch is going to try to free the dentries pinning inodes, right?
Otherwise it will probably not have much effect), but I think that's a
largely orthogonal issue.  It will still be good to be able to cache
inodes (and dentries), but it would be desireable if we can do this in
less memory than it currently takes, and separating out those fields
which are only needed when the inode is opened, or when its pages are
cached in the page cache, would be a good way of minimizing the
footprint of inodes who only needs to have their stat(2) information
cached.

Regards,

						- Ted


      reply	other threads:[~2006-06-19 19:09 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-19 15:20 [RFC] [PATCH 0/8] Inode slimming Theodore Tso
2006-06-19 15:20 ` [RFC] [PATCH 1/8] inode_diet: Replace inode.u.generic_ip with inode.i_private Theodore Tso
2006-06-19 17:17   ` Jan Engelhardt
2006-06-19 19:09   ` Christoph Hellwig
2006-06-19 19:37     ` Theodore Tso
2006-06-20  9:43   ` Steven Whitehouse
2006-06-20 11:45     ` Arnd Bergmann
2006-06-20 12:34       ` Steven Whitehouse
2006-06-20 13:53         ` Arnd Bergmann
2006-06-20 15:01           ` Brian F. G. Bidulock
2006-06-20 15:04             ` Brian F. G. Bidulock
2006-06-20 12:29     ` Theodore Tso
2006-06-19 15:20 ` [RFC] [PATCH 2/8] inode-diet: Move i_pipe into a union Theodore Tso
2006-06-19 17:19   ` Jan Engelhardt
2006-06-19 19:06     ` Theodore Tso
2006-06-20 15:23       ` Brian F. G. Bidulock
2006-06-21  1:45         ` Theodore Tso
2006-06-22  9:03           ` Brian F. G. Bidulock
2006-06-19 15:20 ` [RFC] [PATCH 3/8] inode-diet: Move i_bdev " Theodore Tso
2006-06-19 15:20 ` [RFC] [PATCH 4/8] inode-diet: Move i_cdev " Theodore Tso
2006-06-19 17:20   ` Jan Engelhardt
2006-06-19 15:20 ` [RFC] [PATCH 5/8] inode-diet: Eliminate i_blksize and use a per-superblock default Theodore Tso
2006-06-19 15:49   ` Avi Kivity
2006-06-19 16:55     ` Theodore Tso
2006-06-19 15:58   ` Christoph Hellwig
2006-06-19 16:16     ` Joel Becker
2006-06-19 17:20       ` Theodore Tso
2006-06-19 18:55         ` Christoph Hellwig
2006-06-19 22:13           ` Mark Fasheh
2006-06-21 19:41         ` Nate Diller
2006-06-19 17:03     ` Theodore Tso
2006-06-19 18:56       ` Christoph Hellwig
2006-06-19 16:01   ` Joel Becker
2006-06-19 17:06     ` Theodore Tso
2006-06-19 21:45       ` Joel Becker
2006-06-19 22:14       ` Mark Fasheh
2006-06-19 15:20 ` [RFC] [PATCH 6/8] inode-diet: Move i_cindex from struct inode to struct file Theodore Tso
2006-06-19 19:33   ` Al Viro
2006-06-19 19:37     ` Al Viro
2006-06-19 20:58       ` Theodore Tso
2006-06-19 21:51         ` Stefan Richter
2006-06-19 15:20 ` [RFC] [PATCH 7/8] inode-diet: Use a union for i_blocks and i_size, i_rdev and i_devices Theodore Tso
2006-06-19 15:20 ` [RFC] [PATCH 8/8] inode-diet: Fix size of i_blkbits, i_version, and i_dnotify_mask Theodore Tso
2006-06-19 16:54 ` [RFC] [PATCH 0/8] Inode slimming Christoph Lameter
2006-06-19 19:09   ` Theodore Tso [this message]

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=20060619190955.GI15216@thunk.org \
    --to=tytso@mit.edu \
    --cc=clameter@sgi.com \
    --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