From owner-freebsd-fs@FreeBSD.ORG Thu Apr 21 03:00:33 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 660EA1065670 for ; Thu, 21 Apr 2011 03:00:33 +0000 (UTC) (envelope-from cforgeron@acsi.ca) Received: from mta02.eastlink.ca (mta02.eastlink.ca [24.224.136.13]) by mx1.freebsd.org (Postfix) with ESMTP id 3097A8FC13 for ; Thu, 21 Apr 2011 03:00:32 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ip06.eastlink.ca ([unknown] [24.222.39.84]) by mta02.eastlink.ca (Sun Java(tm) System Messaging Server 7.3-11.01 64bit (built Sep 1 2009)) with ESMTP id <0LJZ00EI3F0W0XS0@mta02.eastlink.ca> for freebsd-fs@freebsd.org; Thu, 21 Apr 2011 00:00:32 -0300 (ADT) X-CMAE-Score: 0 X-CMAE-Analysis: v=1.1 cv=KTm0Zd9FEOPabIM+9UH3RcOan8ug7Hn5ok0IYj/PkF8= c=1 sm=1 a=e8U4T-BRE4EA:10 a=IkcTkHD0fZMA:10 a=mSvvwuuuHahiWgxFuZgA:9 a=5A4lKyET5Ks05QUivicA:7 a=QEXdDO2ut3YA:10 a=12M4PSijgPY/TTHpO+5bpg==:117 Received: from blk-222-10-85.eastlink.ca (HELO server7.acsi.ca) ([24.222.10.85]) by ip06.eastlink.ca with ESMTP; Thu, 21 Apr 2011 00:00:31 -0300 Received: from server7.acsi.ca ([192.168.9.7]) by server7.acsi.ca ([192.168.9.7]) with mapi; Thu, 21 Apr 2011 00:00:31 -0300 From: Chris Forgeron To: Rick Macklem , "freebsd-fs@freebsd.org" Date: Thu, 21 Apr 2011 00:00:32 -0300 Thread-topic: make the experimental NFS subsystem the default one Thread-index: Acv7b5qlDB8JlbJGTmmOIVzpBBScwwEXt4cA Message-id: References: <1369404502.72409.1302871750151.JavaMail.root@erie.cs.uoguelph.ca> In-reply-to: <1369404502.72409.1302871750151.JavaMail.root@erie.cs.uoguelph.ca> Accept-Language: en-US Content-language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Cc: Subject: RE: make the experimental NFS subsystem the default one X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2011 03:00:33 -0000 I use the NFS server in FreeBSD 9.0 pretty heavily. I drive a VMware ESX cluster off three FreeBSD 9.0-Current boxes using ZFS v28 (Yeah, I know, a bit risky, but it's more stable than OpenSolaris under my environment). While I'm a bit hesitant about any changes to what is working fairly well for me, I agree that we'll never move forward unless this is the default so it will receive more testing. With no plans from VMware for NFS 4.x in the near future, I'd say that NFS v3 will continue to be very important to the VMware crowd in FreeBSD for some time. I've hacked up the old NFS server a bit to better serve my ESX/NFS needs (forcing it to always write async so it works faster with ZFS and a ZIL). I guess I could do the same to the new code as well... ..However, if you didn't mind adding switch to force the NFS server to quietly only do an async VOP_WRITE, that would be really handy. Very dangerous for some people, but then again, so are most switches if you don't understand what they do. ESX will only opens it's files with O_SYNC, and it's not an editable option, so people like me running ESX+NFS over a ZFS share that has a ZIL are making the system do a lot of unnecessary sync writes. Yes, I know about SSD/RAM for the ZIL, but it still slows it down quite a bit over an async write.