From owner-freebsd-hackers Sun Aug 20 01:23:04 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id BAA17234 for hackers-outgoing; Sun, 20 Aug 1995 01:23:04 -0700 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id BAA17228 for ; Sun, 20 Aug 1995 01:23:00 -0700 Received: from corbin.Root.COM (corbin [198.145.90.34]) by Root.COM (8.6.11/8.6.5) with ESMTP id BAA00651; Sun, 20 Aug 1995 01:21:41 -0700 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.11/8.6.5) with SMTP id BAA00409; Sun, 20 Aug 1995 01:23:53 -0700 Message-Id: <199508200823.BAA00409@corbin.Root.COM> To: Dmitry Khrustalev cc: hackers@freefall.freebsd.org Subject: Re: Making a FreeBSD NFS server In-reply-to: Your message of "Sun, 20 Aug 95 11:22:59 +0400." From: David Greenman Reply-To: davidg@Root.COM Date: Sun, 20 Aug 1995 01:23:52 -0700 Sender: hackers-owner@FreeBSD.org Precedence: bulk > >On Sat, 19 Aug 1995, David Greenman wrote: > >> >> >> >> > What can I do to improve NFS writes to a FreeBSD server? The >> >> > machine was idle at the time, with four nfsd's running. Should I be >> >> > using UDP or TCP (I turned both on)? >> >> >> > >> >Assuming you are running 2.1 branch: current (2.2) code includes support >> >for write gathering, which can improve large write performance. >> >Be warned: 2.2 kernel is incompatible with 2.1 user space utilities. >> >> If there is interest, I'll implement an NFS_ASYNC kernel option for both >> FreeBSD 2.1 and 2.2. > >Kernel option or per filesystem option? Switching it on for all >filesystems at once is evil. And if nfs3 data corruption problems are >resolved, this option will not have any real value. Initially I was planning on just a kernel option that would enable it for all NFS exports. I could make it per-export by adding an option to /etc/exports, modifying mountd to grok it, passing it to the kernel, etc, but this is starting to become a real project. Regarding NFSv3: v3 is only an option if you have clients that support it. This is actually quite rare and would limit it's use to modern FreeBSD boxes. ...and of course, FreeBSD 2.1 doesn't have v3 and I don't intend to add it before the release. -DG