[CentOS] ext4 or XFS

Ross Walker rswwalker at gmail.com
Wed Jan 12 01:17:59 UTC 2011


On Jan 11, 2011, at 7:51 PM, "compdoc" <compdoc at hotrodpc.com> wrote:

>>> Lots of protection for your data? Let's see, super aggressive caching and
> no data journaling only metadata journaling, what on earth are you
> blabbering about?
> 
>>> Use XFS with anything that has no BBU cache support or barrier support and
> recent files are toast when there is a crash or sudden power failure.
> 
>>> Nah, XFS has historically been the fastest at writing and also the most
> dangerous filesystem available on Linux.
> 
> 
> You're right, I was thinking of zfs. Which does cut write speeds in half...

ZFS doesn't cut write performance in half!

ZFS provides the performance of your storage, over NFS async IO should be normal, but sync IO will be the synchronous performance of your storage. If your storage is crap, your performance will be crap. You can fix this sync penalty by putting the journal/log (ZIL) on an SSD drive or for non-critical data, disabling the ZIL altogether (bad, but if your using XFS your use to this type of bad).

Linux tends to cache anything and everything, so it often masks how crappy one's storage really is.

-Ross




More information about the CentOS mailing list