From: Phillip Susi <psusi@cfl.rr.com>
To: Theodore Tso <tytso@mit.edu>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: Default ext inode size
Date: Thu, 13 Nov 2008 15:50:08 -0500 [thread overview]
Message-ID: <491C9300.3000905@cfl.rr.com> (raw)
In-Reply-To: <20081113202124.GC21652@mit.edu>
Theodore Tso wrote:
> That's the main one. The other benefit is that ext4 uses a bigger
> inode to store some extra fields such as the file creation time,
> nanosecond timestamps, and the 64-bit version number neede which is
> used for NFSv4's client-side caching.
What about ext3? Does it do the same thing with the larger inode? Does
it get more block pointers or room for block extent lists ( in ext4 )?
Are the higher resolution timestamps used by default if the inode is
large, or is there a compatibility bit and/or mount option that needs set?
> The big user of extended attribute is SELinux, Samba, and Beagle.
> Since a number of distributions are now starting to enable SELinux by
> default (for better or for worse), it makes a big difference from a
> performance perspective for those distributions.
Does it actually help performance to store the ae in the inode? I would
think it would not make much difference if many files have the same
attributes, then the shared ea block would be cached. Storing the ea in
the inode seems like it duplicates a lot of data and means a given
amount of ram could only cache half as many inodes as with the normal
size, which would lead to less cache hits and more disk IO.
> I can't imagine that it would be that hard to fix the Windows driver
> to be able to support 258 byte inodes. It should be a one- or
> two-line fix, for those people who care.
Probably, but it is an example ( and there probably are others ) of
problems caused by changing the default, so I'm trying to understand why
ext3 was disturbed in this way rather than just make 256 byte inodes the
default for only ext4.
next prev parent reply other threads:[~2008-11-13 20:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-13 19:56 Default ext inode size Phillip Susi
2008-11-13 20:14 ` Kalpak Shah
2008-11-13 20:21 ` Theodore Tso
2008-11-13 20:50 ` Phillip Susi [this message]
2008-11-13 21:35 ` Theodore Tso
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=491C9300.3000905@cfl.rr.com \
--to=psusi@cfl.rr.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=tytso@mit.edu \
/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;
as well as URLs for NNTP newsgroup(s).