public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ext3 metadata performace
@ 2006-05-11 14:11 Dieter Stüken
  2006-05-11 15:43 ` Avi Kivity
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Dieter Stüken @ 2006-05-11 14:11 UTC (permalink / raw)
  To: linux-kernel

after I switched from from ext2 to ext3 i observed some severe 
performance degradation. Most discussion about this topic deals
with tuning of data-io performance. My problem however is related to 
metadata updates. When cloning (cp -al) or deleting directory trees I 
find, that about 7200 files are created/deleted per minute. Seems
this is related to some ex3 strategy, to wait for each metadata to be
written to disk. Interestingly this occurs with my new hw-raid
controller (3ware 9500S), which even has an battery buffered disk cache.
Thus there is no need for synchronous IO anyway. If I disable the
disk cache on my plain SATA disk using ext3, I also get this behavior.

Would it be make sense for ext3, to disable synchronous writes even
for metadata (similar to the "data=writeback" option)? This means, that
ext3 won't protect the (meta) data currently written. This is needed
if running a database or an email server, where the process performing
the IO must be sure, the data is definitely on disk, if it returns form
the system call. In most cases, however, you choose ex3 to ensure the
consistency of your file system after a crash, to avoid an fsck.
If some files, created just before the crash, vanish, does not hurt
me too much.

Dieter.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-05-12 10:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <6bkbC-4V9-27@gated-at.bofh.it>
2006-05-12  0:12 ` ext3 metadata performace Robert Hancock
2006-05-11 14:11 Dieter Stüken
2006-05-11 15:43 ` Avi Kivity
2006-05-11 18:46   ` Miquel van Smoorenburg
2006-05-12  0:36 ` Hua Zhong
2006-05-12  6:35 ` Helge Hafting
2006-05-12 10:11   ` Dieter Stüken

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox