All of lore.kernel.org
 help / color / mirror / Atom feed
* NFS Performance issues
@ 2005-05-11  5:31 Jeff Block
  2005-05-11  6:14 ` Neil Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jeff Block @ 2005-05-11  5:31 UTC (permalink / raw)
  To: nfs


We seem to be having some major performance problems on our redhat
enterprise linux 3 boxes.  Some of our machines have RAIDs attached, some
have internal SCSI drives, and some have internal IDE drives.   The one
thing all the boxes have in common is that there solaris counterparts are
putting them to shame in the nfs performance battle.

Here's some of the info and what we've already tried.
/etc/exports is simple:
/export/data    @all-hosts(rw,sync)

The automounter is used so the default mount options are used, looks like
this:
server:/export/data /data/mountpoint nfs
rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=server 0 0

We can't change the rsize and wsize on these mounts because the precompiled
redhat kernel for vers3 maxes out at 8K.  We could of course compile our own
kernel, but doing this for more than a handful of machines can be a big
headache.  

We've tried moving the journaling from RAID devices onto another internal
disk.  This helped a little, but not much.

We have tried async, and that certainly does speed things up, but we are
definitely not comfortable with using async.

The big problem that we are having seems to do with copying a bunch of data
from one machine to another.

We have 683MB of test data that we were playing with that represents the
file sizes that our users play with.  There are several small files in this
set so there is a lot of writes and commits.  Our users generally work with
data sets in the multiple gigabyte range.
      
Test data - 683 MB 
NFS Testing:
Client | Server | Storage | NFS cp Time | SCP Time
Solaris | Solaris | RAID | 1:32 | 1:59
Linux A | Solaris | RAID | 0:42 | 2:51
Linux A | Linux B | RAID5 /Journal to SCSI | 3:17 | 2:05
Linux A | Linux B | RAID5 /Journal to RAID | 5:07 | 1:45
Linux A | Linux B | SCSI | 3:17 | 1:52
Linux A | Linux B | IDE | 1:36 | 2:27
       
Other Tests      
       
Internal Tests:    
Host/Storage | Host/Storage | cp Time
Linux B Int. SCSI | Linux B Ext. RAID5 | 0:37
Sol Int. SCSI | Sol Ext. RAID5 | 0:35
       
Network:      
Host A | Host B | Throughput
linux A | linux B | 893 Mbit/sec

Probably hard to read, but the bottom line is this:
Copying the 683MB from a linux host to a solaris RAID took 42 seconds.
Copying the same data from a linux host to a linux RAID took 5:07 or 3:17
depending on where the journal is stored.  My SCP times from Linux to Linux
RAID are much quicker than my nfs copies which seems pretty backwards to me.

Thanks in advance for the help on this.

Jeff Block
Programmer / Analyst
Radiology Research Computing
University of California, San Francisco




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 8+ messages in thread
* NFS Performance issues...
@ 2002-03-15 23:44 Matt Heaton
  2002-03-16 15:34 ` Thomas Langås
  0 siblings, 1 reply; 8+ messages in thread
From: Matt Heaton @ 2002-03-15 23:44 UTC (permalink / raw)
  To: nfs

[-- Attachment #1: Type: text/plain, Size: 795 bytes --]

I run a fairly large free/paid hosting service.  We have about 8 webservers (NFS Clients) that hook up to a single NFS server box.  We
are having SEVERE performance issues.  The clients are READ ONLY clients.  We have set the rsize to 8192 bytes, but otherwise
are using the standard setup.  The NFS server seems to be able to only serve about 11 Mbits of data before it dies?  Is this typical
performace?  We are mostly serving web pages so most files are small although some are bigger (3-5 megabytes).  Both the clients
are the server are redhat 7.2  (NFS 3)

I AM LOOKING FOR SOME COMMERCIAL SUPPORT or some guru I can pay to help with these issues.  PLEASE give me a call
at (801) 361-1177 if you would be able to help.  We will pay for the support we need.

Thanks,
Matt Heaton

[-- Attachment #2: Type: text/html, Size: 1577 bytes --]

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

end of thread, other threads:[~2005-05-12  1:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-11  5:31 NFS Performance issues Jeff Block
2005-05-11  6:14 ` Neil Brown
2005-05-11 14:15 ` Chris Penney
2005-05-11 17:25 ` Dan Stromberg
  -- strict thread matches above, loose matches on Subject: below --
2002-03-15 23:44 Matt Heaton
2002-03-16 15:34 ` Thomas Langås
2002-03-16 16:54   ` Matt Heaton
2002-03-16 17:35     ` Thomas Langås

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.