From owner-freebsd-hackers Mon Aug 9 0: 8:56 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id EF6111530F for ; Mon, 9 Aug 1999 00:08:45 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id AAA59059; Mon, 9 Aug 1999 00:06:57 -0700 (PDT) (envelope-from dillon) Date: Mon, 9 Aug 1999 00:06:57 -0700 (PDT) From: Matthew Dillon Message-Id: <199908090706.AAA59059@apollo.backplane.com> To: Doug Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Fix/tuning to improve slow NFS writes? References: <37AE266D.D71D89EF@gorean.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : So, the big question is whether there is anything we can tune to speed up :the writes. The freebsd machines are NFS clients to the sun servers doing :most of the web processing. Overall performance on the reads seems to be :best with nfs v3 over udp, which is what I'm using now. All of the web :server directories are soft mounted directly, with no amd currently in use. : :thanks, : :Doug Well, NFS buffers are usually sent over the network the moment they are full. If you are not running any nfsiod's, the RPC will be done synchronously and this will severely impact your performance. Try running: nfsiod -n 4 This will start up a couple of special background processes to handle NFS I/O asynchronously. Without any nfsiod's running my file tests weigh in at 2 MBytes/sec. With a couple running I get 8 MBytes/sec over my network with NFSv3. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message