Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2000 13:57:54 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Matt Dillon <dillon@earth.backplane.com>
Cc:        Marius Bendiksen <mbendiks@eunet.no>, Randell Jesup <rjesup@wgate.com>, arch@FreeBSD.ORG
Subject:   Re: Like to commit my diskprep
Message-ID:  <20001102135754.Y20567@fw.wintelcom.net>
In-Reply-To: <200011022135.eA2LZA740940@earth.backplane.com>; from dillon@earth.backplane.com on Thu, Nov 02, 2000 at 01:35:10PM -0800
References:  <200011021725.eA2HPeM38718@earth.backplane.com> <Pine.BSF.4.05.10011022216250.13255-100000@login-1.eunet.no> <20001102132140.W20567@fw.wintelcom.net> <200011022135.eA2LZA740940@earth.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Matt Dillon <dillon@earth.backplane.com> [001102 13:36] wrote:
> 
> :
> :* Marius Bendiksen <mbendiks@eunet.no> [001102 13:19] wrote:
> :> >     Not to mention the bytes/inode (-i)  If you want fsck to go fast on a
> :> >     big filesystem, reducing the number of inodes helps a lot.  I find myself
> :> >     using -i 32768 or -i 65536 or even higher numbers on partitions which
> :> >     hold big database files.
> :> 
> :> FFS is woefully inadequate at handling databases, due to the block
> :> indirection, but e.g. Oracle will allow you to run directly on top
> :> of a device.
> :
> :Block indirection could be optimized by attempting to allocate
> :indirect blocks in the same area as either the inode or datablocks
> :that the indirect blocks address.
> 
>     Indirect blocks aren't relevant if you are using a large block size, 
>     because there are few enough of them the OS has no problem caching
>     them.

the problem isn't caching them, it's fsyncing them during appends
that cause additinal disk seeks.  But that's not exactly a deadly
problem, just a little suboptimal.

it's also fsyncs on newly created files that can cause problems.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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