On 04/07/2009, at 1:49 PM, Ross Walker wrote:

I ran some benchmarks back when verifying this, but didn't keep them
unfortunately.

You can google: XFS Barrier LVM OR EVMS and see the threads about this.

Interesting reading. Testing seems to show that either it's not relevant or there is something interesting going on with ext3 as a separate case.

When you do send me a copy, try both on a straight partition then on a
LVM volume and always use NFS sync, but when exporting use the
no_wdelay option if you don't already that eliminates slow downs with
NFS sync on Linux.


The numbers below seem to indicate that either there is no barrier issues here, or the BBWC in the raid controller makes them more-or- less invisible as the ext3fs volume below is directly onto the exposed LUN while the xfs partition is on top of LVM2.

It does, however, show that xfs is much faster for deletes.

cheers,
James

bash-3.2# cd /nfs/xfs_on_LVM
bash-3.2# ( date ; time tar xf zeroes-10k.tar ; date ; time rm -rf zeroes/ ; date ) 2>&1
Sat Jul  4 15:31:13 EST 2009

real    0m18.145s
user    0m0.055s
sys     0m0.500s
Sat Jul  4 15:31:31 EST 2009

real    0m4.585s
user    0m0.004s
sys     0m0.261s
Sat Jul  4 15:31:36 EST 2009

bash-3.2# cd /nfs/ext3
bash-3.2# ( date ; time tar xf zeroes-10k.tar ; date ; time rm -rf zeroes/ ; date )
Sat Jul  4 15:32:43 EST 2009

real    0m15.509s
user    0m0.048s
sys     0m0.508s
Sat Jul  4 15:32:59 EST 2009

real    0m37.793s
user    0m0.006s
sys     0m0.225s
Sat Jul  4 15:33:37 EST 2009

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to