From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 30 20:08:52 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47F8316A41F for ; Fri, 30 Sep 2005 20:08:52 +0000 (GMT) (envelope-from dwmalone@maths.tcd.ie) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 7DCD643D4C for ; Fri, 30 Sep 2005 20:08:51 +0000 (GMT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie ([134.226.81.10] helo=walton.maths.tcd.ie) by salmon.maths.tcd.ie with SMTP id ; 30 Sep 2005 21:08:49 +0100 (BST) Date: Fri, 30 Sep 2005 21:08:49 +0100 From: David Malone To: Vaclav Haisman Message-ID: <20050930200849.GA84809@walton.maths.tcd.ie> References: <433B3F41.8060004@spintech.ro> <433B60EE.4090207@centtech.com> <433C9A64.3030602@spintech.ro> <433C9E44.8000800@FreeBSD.org> <20050930213905.M74024@logout.sh.cvut.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050930213905.M74024@logout.sh.cvut.cz> User-Agent: Mutt/1.5.6i Sender: dwmalone@maths.tcd.ie Cc: freebsd-hackers@freebsd.org Subject: Re: journaling fs and large mailbox format X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2005 20:08:52 -0000 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