journaling fs and large mailbox format

David Malone dwmalone at maths.tcd.ie
Fri Sep 30 13:08:52 PDT 2005


On Fri, Sep 30, 2005 at 09:43:13PM +0200, Vaclav Haisman wrote:
> I don't think that frag, inode and block size is the main factor that makes 
> XFS work well in many small files situations. From what I have read about 
> XFS I gather that it allocates inodes on demand, that it doesn't have fixed 
> amount of them.

Nope - not by default on a Linux 2.6.12 kernel anyway:

	David.

11% df -i .      
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda2              96384      31   96353    1% /boot
12% mount | fgrep /boot
/dev/sda2 on /boot type xfs (rw)
13% @ i=0
14% while ( $i < 96358 )
while? touch $i
while? @ i++
while? end
touch: cannot touch `96353': No space left on device
touch: cannot touch `96354': No space left on device
touch: cannot touch `96355': No space left on device
touch: cannot touch `96356': No space left on device
touch: cannot touch `96357': No space left on device
16% df -i /boot
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda2              96384   96384       0  100% /boot



More information about the freebsd-hackers mailing list