From owner-freebsd-questions@FreeBSD.ORG Tue May 29 23:21:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63CFF16A421 for ; Tue, 29 May 2007 23:21:55 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from corellia.vindaloo.com (corellia.vindaloo.com [64.51.148.100]) by mx1.freebsd.org (Postfix) with ESMTP id 39DDE13C447 for ; Tue, 29 May 2007 23:21:55 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from [172.24.145.69] (endor.vindaloo.com [172.24.145.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by corellia.vindaloo.com (Postfix) with ESMTP id 7241E5D13; Tue, 29 May 2007 19:21:54 -0400 (EDT) Message-ID: <465CB591.4050607@vindaloo.com> Date: Tue, 29 May 2007 19:21:53 -0400 From: Christopher Hilton User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Devin Heckman References: <20070529205419.GO4099@rescomp.berkeley.edu> In-Reply-To: <20070529205419.GO4099@rescomp.berkeley.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: NFS tuning on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 23:21:55 -0000 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 pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14