From owner-freebsd-net Fri Aug 31 10:51:28 2001 Delivered-To: freebsd-net@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id B985437B403 for ; Fri, 31 Aug 2001 10:51:25 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id AA34481D01; Fri, 31 Aug 2001 12:51:20 -0500 (CDT) Date: Fri, 31 Aug 2001 12:51:20 -0500 From: Alfred Perlstein To: Steve Shorter Cc: freebsd-net@freebsd.org Subject: Re: Tuning UDP for NFS Message-ID: <20010831125120.O81307@elvis.mu.org> References: <20010831130902.A15501@nomad.lets.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010831130902.A15501@nomad.lets.net>; from steve@nomad.lets.net on Fri, Aug 31, 2001 at 01:09:02PM -0400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Steve Shorter [010831 12:14] wrote: > Howdy! > > I am interested in tuning UDP for NFS over a 100Mbs LAN. > > Specifically, to tune UDP, what are guidelines/restrictions for > setting the sysclt variables > > net.inet.udp.maxdgram > > net.inet.udp.recvspace > > > I assume that increasing both of these will improve performance. > Is this correct? What factors should be considered, and what other > barriers/effects (if any) will I come up against. > > Any experience/knowledge that you can share will be greatly > appreciated. Using UDP is usually a bad idea, I would use tcp, I find that these flags make for a decent mount point that's quite fast: rw,tcp,intr,nfsv3,-w=32768,-r=32768 -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message