From owner-freebsd-questions Mon Feb 10 7:49:11 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B842B37B401 for ; Mon, 10 Feb 2003 07:49:09 -0800 (PST) Received: from galilee.polands.org (new-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C71243F3F for ; Mon, 10 Feb 2003 07:49:08 -0800 (PST) (envelope-from doug@polands.org) Received: from mydomain.com (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.6/8.12.6) with SMTP id h1AFn6Il071845; Mon, 10 Feb 2003 09:49:07 -0600 (CST) (envelope-from doug@polands.org) Received: from 63.104.35.130 (proxying for 164.5.45.79) (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Mon, 10 Feb 2003 09:49:07 -0600 (CST) Message-ID: <57521.63.104.35.130.1044892147.squirrel@email.polands.org> Date: Mon, 10 Feb 2003 09:49:07 -0600 (CST) Subject: Re: speeding up NFS From: "Doug Poland" To: In-Reply-To: <1044890587.3e47c3db48ea3@webmail.lphp.org> References: <1044890587.3e47c3db48ea3@webmail.lphp.org> X-Priority: 3 Importance: Normal Cc: , X-Mailer: SquirrelMail (version 1.2.8) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >> You may be able to increase the -r and -w sizes to improve >> things. > > Yes, well I already tried that but it didn't work (it was even > worse !) > >> My understanding is: you should use UDP mounts if the servers >> are close together (i.e., one hub/switch between them, low >> latency) but use TCP mounts if they are far apart (i.e. many >> hops, high latency, lots of dropped packets).I don't know if >> specifying both -u and -t hurts anything. > > Well, the clients are configured to mount NFS with UDP. > This is what I have in my nfs client fstab. I came up with these numbers in an attempt to get client NFS access speeds up to par with SMB or CIFS connections: nfsserver:/data /data nfs fsv3,intr,rdirplus,-r=32768,-w=32768,rw On the NFS server I have in my /etc/sysctl.conf: vfs.nfs.async=1 Also make sure you have enough nfsiod running on the client to service requests, and enough nfsd on the server to service the clients. YMMV, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message