public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* nfs performance delta between filesystems
@ 2010-01-22 17:54 Emmanuel Florac
  2010-01-22 18:38 ` bpm
  0 siblings, 1 reply; 7+ messages in thread
From: Emmanuel Florac @ 2010-01-22 17:54 UTC (permalink / raw)
  To: xfs


Here is an interesting mystery to solve : XFS is always much faster
locally than all other FSs, but quite slower through NFS.

I'm benchmarking a RAID-10 setup with various filesystems, ext3, reiser
(3.6), jfs and xfs. I'm strictly and only interested in continuous
sequential write (data recording) through NFS (basic 1G Eth), so I'm
benchmarking with 

dd if=/dev/zero of=/mnt/whatever/file bs=1M

following the throughput with iostat.

Setup : linux 2.6.27.21, software RAID 10 (64K stripe), 1GB RAM, 64
bits kernel, 4 Savvio 500GB disks, Phenom II, Intel Pro1000 network.

All the following tests have been run several times each, to even
results.

Locally, xfs mounted this way 

/dev/md2 on /mnt/raid type xfs (rw,noatime,nobarrier)

is wayyyyy better than all other filesystems :

~# dd if=/dev/zero of=/mnt/raid/testdd bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB) copied, 23.0655 s, 186 MB/s

ext3, jfs and reiser score the same around 150 MB/s.

I'm exporting the mountpoint through NFS :

/mnt/raid    *(fsid=0,rw,async,no_root_squash,no_subtree_check)

And mount with no options (or just "tcp") on the client. Then the
results are quite different. XFS gives a bit less than 90 MB/s (not
bad):

 ~$ sudo dd if=/dev/zero of=/mnt/temp/testnfsdd1 bs=1M count=2048
2048+0 enregistrements lus
2048+0 enregistrements écrits
2147483648 octets (2,1 GB) copiés, 24,1755 s, 88,8 MB/s

But... reiserfs gives ~ 92 MB/s, and ext3 95 MB/s. Results are
consistently better with both through NFS, while they're constantly
much worse locally... How come???

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2010-01-25 20:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22 17:54 nfs performance delta between filesystems Emmanuel Florac
2010-01-22 18:38 ` bpm
2010-01-22 20:46   ` Emmanuel Florac
2010-01-23 12:30   ` Dave Chinner
2010-01-25 15:04   ` Christoph Hellwig
2010-01-25 20:28     ` bpm
2010-01-25 20:40       ` Christoph Hellwig

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