From owner-freebsd-questions Thu Jul 15 2:23:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id 00EC415515 for ; Thu, 15 Jul 1999 02:23:51 -0700 (PDT) (envelope-from bright@rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.9.3/8.9.3) with SMTP id FAA25619; Thu, 15 Jul 1999 05:32:31 -0400 (EDT) Date: Thu, 15 Jul 1999 04:32:29 -0500 (EST) From: Alfred Perlstein To: Rob Snow Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NFS performance between Linux & FreeBSD In-Reply-To: <000b01bece85$f452ec80$03e48486@dympna.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 15 Jul 1999, Rob Snow wrote: > Issue: > > FreeBSD client (3.2 Release) to Linux (2.2.10) server and vice-versa I get > great reads. > > FreeBSD client to Linux server, I get really good writes. > > Linux client to FreeBSD server I get about 4x slower writes. > 2.37 sec for a 16MB cp qtrial99.exe test.exe vs. 10.21 sec for the same > (~16MB file) > done via 100Mbit FDX switch with 595 on the Linux box, fxp on the FreeBSD > box. > wsize&rsize set to 8K, vers=3, proto=udp,nolock (seems to be the fastest) > ftp's look pretty close to the same. > > Where do I go from here to debug the issue? > Unfortunately, I don't have any other UNIX boxen on the network to verify > where the problem is. (it's at home) Try to tune your NFS mounts in Linux, make sure they are trying TCP and up the read/write size, check Linux's NFS tuning paramters (it's probably in some non-obvious place in /proc) Also you can play with the FreeBSD NFS options mainly by tweaking them via 'sysctl' man sysctl sysctl -a | grep nfs good luck, -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message