RE: NFS Tuning

From: Brian D. McGrew (brian_at_visionpro.com)
Date: 03/16/05

  • Next message: Brian D. McGrew: "RE: NFS Tuning"
    Date: Wed, 16 Mar 2005 08:44:57 -0800
    To: "General Red Hat Linux discussion list" <redhat-list@redhat.com>
    
    

    I'll try that right now, thanks!

    Is there a way to change the rsize and wsize on the server end to force
    the clients?

    -brian
     
    Brian D. McGrew { brian@visionpro.com || brian@doubledimension.com }

    ---
    > YOU!  Off my planet!
    -----Original Message-----
    From: redhat-list-bounces@redhat.com
    [mailto:redhat-list-bounces@redhat.com] On Behalf Of James Cooley
    Sent: Wednesday, March 16, 2005 8:43 AM
    To: General Red Hat Linux discussion list
    Subject: Re: NFS Tuning
    Brian,
    I've got a couple of ideas.  The first one, is to try to improve your 
    send and receive packet sizes.  This usually defaults to 4K, but 8K 
    tends to have a dramatic improvement on performance, and users commonly 
    set it using the rsize and wsize options like so when mounting from the 
    client-side:
    mount -t nfs -o rsize=8192,wsize=8192    ...
    If you have a more modern version of Linux at both ends, you can try 
    increasing the sizes even further.
    Another possibility is to increase the size of the NFS memory buffers on
    the server to say 256KB.  On RHEL 4, the default is 128KB.
    You can do this by using the following commands:
       echo 262144 > /proc/sys/net/core/rmem_default
       echo 262144 > /proc/sys/net/core/rmem_max
    Thanks,
    James Cooley
    Brian D. McGrew wrote:
    >Good morning,
    >
    > 
    >
    >Can someone help me with tuning up NFS or point me to a good reference?
    >I'm running several servers, RH7.3, RH9, Solaris 8 and FC3.  We're
    >getting absolutely terrible network performance and it's not just with
    >NFS.  However, I ran up ethereal on a few of the servers and in less
    >then three minutes I captured over a million packets, of which 95.4%
    >were UDP NFS packets.  How do I go about turning up NFS?  I know this
    is
    >way too much traffic for the size of our network and I'm at a complete
    >loss as to what to do.
    >
    > 
    >
    >Thanks,
    >
    > 
    >
    >-brian
    >
    > 
    >
    >Brian D. McGrew { brian@visionpro.com || brian@doubledimension.com }
    >
    >---
    >
    >  
    >
    >>YOU!  Off my planet!
    >>    
    >>
    >
    > 
    >
    >  
    >
    -- 
    --
    James Cooley
    Sr. Systems Analyst
    Information Technology
    Florida Tech
    321-674-7999
    jcooley@it.fit.edu
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Brian D. McGrew: "RE: NFS Tuning"

    Relevant Pages

    • Re: Filesystem monitoring question
      ... server as a directory. ... A number of SMB and NFS clients, around 30, will need to write to this ... Writing to the directory is 24/7 since some clients VPN into the network ...
      (freebsd-hackers)
    • NFS UDP fast server slow client problems
      ... Fast NFS server causing SLOW NFS reads on Tru64 clients ...
      (Tru64-UNIX-Managers)
    • Re: nfsrvstats.srvrpc_errs rapidly increasing
      ... > The srvrcp_errs are very likely unrelated to the hangs. ... > friends) from the NFS server routines in nfs_serv.c. ... other clients may behave strangely. ...
      (freebsd-net)
    • Re: FC8 and NFS service
      ... The NFS server is doing some kind of evil security check which was ... Since the port works against the FC1 server, ... Changing clients isn't going to happen, ...
      (Fedora)
    • NFS client hangs under certain circumstances on SMP machine
      ... I have already sent this message on the NFS mailing-list, but I had no reaction there. ... I have a strange problem since a few months on some Linux clients. ... I have a file server accessed through: ... could not test yet with kernel compiled without SMP at all. ...
      (Linux-Kernel)