From owner-freebsd-fs@FreeBSD.ORG Fri Apr 12 14:30:09 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D05F3193 for ; Fri, 12 Apr 2013 14:30:09 +0000 (UTC) (envelope-from paulz@vanderzwan.org) Received: from cpsmtpb-ews10.kpnxchange.com (cpsmtpb-ews10.kpnxchange.com [213.75.39.15]) by mx1.freebsd.org (Postfix) with ESMTP id 52646AB0 for ; Fri, 12 Apr 2013 14:30:09 +0000 (UTC) Received: from cpsps-ews15.kpnxchange.com ([10.94.84.182]) by cpsmtpb-ews10.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Fri, 12 Apr 2013 16:28:58 +0200 Received: from CPSMTPM-TLF101.kpnxchange.com ([195.121.3.4]) by cpsps-ews15.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Fri, 12 Apr 2013 16:28:58 +0200 Received: from mailvm.vanderzwan.org ([77.172.189.82]) by CPSMTPM-TLF101.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Fri, 12 Apr 2013 16:28:57 +0200 Received: from [IPv6:2001:1af8:fefb::12dd:b1ff:feb3:1119] ([IPv6:2001:1af8:fefb:0:12dd:b1ff:feb3:1119]) (authenticated bits=0) by mailvm.vanderzwan.org (8.14.6/8.14.6) with ESMTP id r3CESqUK004519 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 12 Apr 2013 16:28:57 +0200 (CEST) (envelope-from paulz@vanderzwan.org) From: Paul van der Zwan Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: FreeBSD 9.1 NFSv4 client attribute cache not caching ? Message-Id: <15B91473-99F4-4B48-BC18-D47B3037E8DF@vanderzwan.org> Date: Fri, 12 Apr 2013 16:28:52 +0200 To: freebsd-fs@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) X-Mailer: Apple Mail (2.1503) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.3.9 (mailvm.vanderzwan.org [IPv6:2001:1af8:fefb::25]); Fri, 12 Apr 2013 16:28:57 +0200 (CEST) X-OriginalArrivalTime: 12 Apr 2013 14:28:57.0974 (UTC) FILETIME=[118C3960:01CE378A] X-RcptDomain: freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Apr 2013 14:30:09 -0000 I am running a few VirtualBox VMs with 9.1 on my OpenIndiana server and = I noticed that make buildworld seem to take much longer=20 when the clients mount /usr/src and /usr/obj over NFS V4 than when they = use V3. Unfortunately I have to use V4 as a buildworld on V3 hangs the server = completely... I noticed the number of PUTFH/GETATTR/GETFH calls in in the order of a = few thousand per second and if I snoop the traffic I see the same filenames appear over and over = again. It looks like the client is not caching anything at all and using a = server request everytime. I use the default mount options: 192.168.178.24:/data/ports on /usr/ports (nfs, nfsv4acls) 192.168.178.24:/data/src on /usr/src (nfs, nfsv4acls) 192.168.178.24:/data/obj on /usr/obj (nfs, nfsv4acls) Any ideas, Paul