Re: Max NFSD processes

From: Eric Anderson (anderson_at_centtech.com)
Date: 05/20/04

  • Next message: Eugene Grosbein: "Re: [ANALISYS] Re: multicast arp entry"
    Date: Thu, 20 May 2004 10:44:14 -0500
    To: Steve Shorter <steve@nomad.tor.lets.net>
    
    

    Steve Shorter wrote:

    >On Wed, May 19, 2004 at 04:55:20PM -0500, Eric Anderson wrote:
    >
    >
    >>I have several heavily used NFS servers, currently running FreeBSD
    >>4.9-RELEASE. I'm getting jammed up with all my nfsd processes being
    >>busy, so clients see slow connections to the server. I have the nfsd
    >>starting with a count of 20, which is the max set in the nfsd.c file.
    >>
    >>Are there any risks I should be aware of before bumping up the max to
    >>say 40, or even 50?
    >>
    >>
    >
    > Depending on where the bottlnecks in the system are,
    >you can crank this up to whatever works for you.
    >
    > I have tested and am running nfs servers with 80
    >and 100 nfsd's with no problems at all
    >
    >

    That's good to hear. Did you do any other tweaks? sysctl settings?
    mbufs?

    >>What would it take to make this a sysctl adjustable value?
    >>
    >>
    >
    >
    > This isn't neccessary IM0, because the number of
    >nfd's can be set at runtime. But the default max in
    >nfsd.c should be increased.
    >
    >
    I meant a sysctl for the MAXNFSDCNT setting in nfsd.c.

    >>Should the max be bumped higher by default nowdays?
    >>
    >>
    >
    > Yep.
    >
    >
    >
    >>Thanks - any help/hints is appreciated.
    >>
    >>
    >>
    >
    > You probably also want good nics (fxp0) and to
    >increase UDP buffer space. I have found that nfs over udp
    >offers supperior performance than tcp on a good LAN
    >
    >
    I'm currently using 3com's (xl0,xl1) and Intel Gigabit cards (em0,em1).
    Most of my clients are using udp.

    What did you set your buffer space to? Which sysctl did you change?

    Thanks!
    Eric

    -- 
    ------------------------------------------------------------------
    Eric Anderson     Sr. Systems Administrator    Centaur Technology
    Today is the tomorrow you worried about yesterday.
    ------------------------------------------------------------------
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Eugene Grosbein: "Re: [ANALISYS] Re: multicast arp entry"

    Relevant Pages

    • Re: Max NFSD processes
      ... >>I have several heavily used NFS servers, ... I meant a sysctl for the MAXNFSDCNT setting in nfsd.c. ... I have found that nfs over udp ... Most of my clients are using udp. ...
      (freebsd-questions)
    • Re: Events between machines
      ... The problem with UDP is that it is generally not reliable. ... would also work if no single event would ever reach the clients. ... Windows Server 2003) which allows you to send a message to multiple ... > regarding how the clients (which are listening for these udp packets) ...
      (microsoft.public.dotnet.framework.remoting)
    • Re: network game example
      ... > i have a basic question about network games. ... > The clients send their controls/move commands to the server. ... > I got the hint to use UDP for a network game. ... * Send frame data UDP, ignore dropped frames & move on. ...
      (comp.games.development.programming.misc)
    • Re: Delayed Emails
      ... Whioch are UDP and TCP ports Exchange use? ... clients are not receiving email or have a huge delay in ... >If so, it's your Windows firewall, which is probably enabled. ...
      (microsoft.public.backoffice.smallbiz2000)
    • Re: nfsd and CPU/performance problem
      ... Here is the config ... The clients or the nfs servers. ... In the handbook section about NFS there ...
      (freebsd-net)