From owner-freebsd-net@FreeBSD.ORG Tue Jan 28 06:55:14 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E22C8DA3 for ; Tue, 28 Jan 2014 06:55:14 +0000 (UTC) Received: from hergotha.csail.mit.edu (wollman-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:ccb::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9A0641E40 for ; Tue, 28 Jan 2014 06:55:14 +0000 (UTC) Received: from hergotha.csail.mit.edu (localhost [127.0.0.1]) by hergotha.csail.mit.edu (8.14.7/8.14.7) with ESMTP id s0S6tCsE079255; Tue, 28 Jan 2014 01:55:12 -0500 (EST) (envelope-from wollman@hergotha.csail.mit.edu) Received: (from wollman@localhost) by hergotha.csail.mit.edu (8.14.7/8.14.4/Submit) id s0S6tBWj079252; Tue, 28 Jan 2014 01:55:11 -0500 (EST) (envelope-from wollman) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <21223.21583.878646.673835@hergotha.csail.mit.edu> Date: Tue, 28 Jan 2014 01:55:11 -0500 From: Garrett Wollman To: J David Subject: Re: Terrible NFS performance under 9.2-RELEASE? In-Reply-To: References: <20140128002826.GU13704@funkthat.com> <1415339672.17282775.1390872779067.JavaMail.root@uoguelph.ca> <201401280427.s0S4RTVn077761@hergotha.csail.mit.edu> X-Mailer: VM 7.17 under 21.4 (patch 22) "Instant Classic" XEmacs Lucid X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (hergotha.csail.mit.edu [127.0.0.1]); Tue, 28 Jan 2014 01:55:12 -0500 (EST) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=disabled version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hergotha.csail.mit.edu Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jan 2014 06:55:14 -0000 < said: > What's the difference between src/sys/nfsserver and > src/sys/fs/nfsserver? It looks like maybe the former is for NFSv3 and > the latter is for NFSv4? /sys/nfs* is the "old" (read: obsolete) NFS client and server. /sys/fs/nfs* is the "new" (default) NFS client and server. Both implementations do both NFSv2 and NFSv3; only the "new" implementation does NFSv4. Even if you are only using NFSv3, you want to be using the "new" implementation, and the "old" one should go away before the stable/11 branch happens. We're running a mix of 9.1 (with some earlier versions of Rick's DRC patches and FHA for NFSv3) and 9.2 (with the DRC patches) currently, and I'm looking through a bunch of changes to pull forward from stable/9. -GAWollman