Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2007 19:21:53 -0400
From:      Christopher Hilton <chris@vindaloo.com>
To:        Devin Heckman <terrio@rescomp.berkeley.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: NFS tuning on FreeBSD
Message-ID:  <465CB591.4050607@vindaloo.com>
In-Reply-To: <20070529205419.GO4099@rescomp.berkeley.edu>
References:  <20070529205419.GO4099@rescomp.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Devin Heckman wrote:
[snip]

> Does anyone have any experience tuning NFS mounts on FreeBSD machines? 
> 

Not sure if you have tried this but the first thing that I try when 
dealing with NFS is using tcp mounts rather than udp. Most of the black 
magic of NFS tuning seems to center around compensating for lost udp 
fragments on the network. I discovered TCP mounts when I was attempting 
to update a box laptop to the latest FreeBSD -STABLE. The laptop had no 
built in ethernet so I was stuck using an NE2000 clone. I didn't realize 
that under heavy use it would lose packets. This would lead the build 
process to stall in the middle. Changing from UDP to TCP makes it the 
kernel's responsibility to track down lost fragments and the kernel does 
a much better job of it.

-- Chris

-- 
       __o          "All I was doing was trying to get home from work."
     _`\<,_           -Rosa Parks
___(*)/_(*)___________________________________________________________
Christopher Sean Hilton                    <chris | at | vindaloo.com>
         pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?465CB591.4050607>