Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2005 21:08:49 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Vaclav Haisman <V.Haisman@sh.cvut.cz>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: journaling fs and large mailbox format
Message-ID:  <20050930200849.GA84809@walton.maths.tcd.ie>
In-Reply-To: <20050930213905.M74024@logout.sh.cvut.cz>
References:  <433B3F41.8060004@spintech.ro> <433B60EE.4090207@centtech.com> <433C9A64.3030602@spintech.ro> <433C9E44.8000800@FreeBSD.org> <20050930213905.M74024@logout.sh.cvut.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050930200849.GA84809>