wcooley at nakedape.cc
Wed Jul 5 16:09:16 EDT 2006
On Wed, 2006-07-05 at 17:47 +0200, Marten Lehmann wrote:
> > Really? Nice. But you would have to re-create the ext3 filesystem with
> > this newer 2.6 kernel, right? Or would tune2fs do the job given the
> > right options?
> I once enabled the index-option with tune2fs on an old ext3 filesystem
> at 2.4 kernel which didn't give much performance boost. But partitions I
> created on new 2.6 kernel systems worked well.
You have to actually use 'e2fsck -D -f /dev/XXX' to re-hash the
directories when you change this.
For anyone curious, RHEL3's 2.4 kernel also supports indexed
directories, which you can enable with:
tune2fs -O dir_index /dev/XXX
For a write-intensive filesystem, one might also want to increase the
journal size; I believe the perceived hangs are caused by the journal
needing to be flushed too often. Here's a message where Ted Ts'o
Adding 'noatime' probably helps too.
Of course, if you can move the Journal Block Device elsewhere, like a
faster region of the disk(s) or another spindle that will likely help
Wil Cooley <wcooley at nakedape.cc>
Naked Ape Consulting, Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20060705/b6078bd9/attachment-0001.bin
More information about the Info-cyrus