| To: | Iustin Pop <lists-xfs@xxxxxxxxx> |
|---|---|
| Subject: | Re: xfs filesystems greater than 1 TB with inode size = 256? |
| From: | Steve Lord <lord@xxxxxxx> |
| Date: | Tue, 23 Dec 2003 16:06:47 -0600 |
| Cc: | Eric Sandeen <sandeen@xxxxxxx>, Stephan L Jansen <jansen@xxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <20031223213941.GA4998@saytrin.hq.k1024.org> |
| References: | <Pine.LNX.4.44.0312231233390.23629-100000@stout.americas.sgi.com> <3FE89359.60406@xfs.org> <20031223213941.GA4998@saytrin.hq.k1024.org> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 |
Iustin Pop wrote:
On Tue, Dec 23, 2003 at 01:11:21PM -0600, Steve Lord wrote: Because it (larger inode size) allows inodes to be distributed over the whole filesystem, and hence there is more chance they will be closer to the file data. This all comes from the fact that xfs dynamically allocates inodes when needed instead of creating them at mkfs time, the location of an inode is encoded in the inode number. Making the inode size larged means that you need less bits to index into the block containing the inodes, therefore have more bits to use for the disk address. Larger inodes mean you can put more exents or directory contents into the inode, so a larger percentage of inodes in the system will not have out of line metadata. So larger inodes can make things faster in some cases. They can also make things slower since you have to read/write more blocks to cope with the same number of inodes. So basically it is a balancing act, and it depends on your application. Steve |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: xfs filesystems greater than 1 TB with inode size = 256?, Iustin Pop |
|---|---|
| Next by Date: | Re: xfs filesystems greater than 1 TB with inode size = 256?, Stephan L Jansen |
| Previous by Thread: | Re: xfs filesystems greater than 1 TB with inode size = 256?, Iustin Pop |
| Next by Thread: | Re: xfs filesystems greater than 1 TB with inode size = 256?, Stephan L Jansen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |