From owner-freebsd-questions Thu Jul 15 11:47:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.10.60]) by hub.freebsd.org (Postfix) with ESMTP id B81C114E21 for ; Thu, 15 Jul 1999 11:47:11 -0700 (PDT) (envelope-from kheuer@gwdu60.gwdg.de) Received: from localhost (kheuer@localhost) by gwdu60.gwdg.de (8.9.2/8.9.2) with ESMTP id UAA06830; Thu, 15 Jul 1999 20:46:51 +0200 (CEST) (envelope-from kheuer@gwdu60.gwdg.de) Date: Thu, 15 Jul 1999 20:46:51 +0200 (CEST) From: Konrad Heuer To: Stefan Huerter Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NFS performance between Linux & FreeBSD In-Reply-To: <7Kui3zRzoRB@subloch.medicusnet.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 15 Jul 1999, Stefan Huerter wrote: > > 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) >=20 > > Where do I go from here to debug the issue? >=20 > So far as I know, Linux supports only NFS2, and against the SUN-NFS2-=20 > specifications, the writes are buffered. > FreeBSD supports NFS3, this solves this problem in another way. I think = =20 > it's possible to tell FreeBSD NFS2-Server to buffer the NFS-writes too...= =20 > but didn't know where you can find it (I didn't prefer this) As far as I know the Linux problem is not to use the nfsiod daemons while writing on the client side. Thus the client user process has to wait until the write system has finished which slows down transfer rate. FreeBSD uses the nfsiod for reading & writing. Within the user process the system call will return faster and leaving the actual write to the daemon. Regards // // Konrad Heuer ____ ___ _____= __=20 // Gesellschaft f=FCr wissenschaftliche / __/______ ___ / _ )/ __= / _ \ // Datenverarbeitung mbH G=D6ttingen / _// __/ -_) -_) _ |\ \/= // / // Am Fa=DFberg, D-37077 G=D6ttingen /_/ /_/ \__/\__/____/___= /____/=20 // Deutschland (Germany) ----- The Power to Serve ----= - // http://www.freebsd.org // kheuer@gwdu60.gwdg.de // To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message