From owner-freebsd-questions@FreeBSD.ORG Fri Apr 16 11:39:58 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 587B716A4CE for ; Fri, 16 Apr 2004 11:39:58 -0700 (PDT) Received: from ns1.navitaire.com (ns1.navitaire.com [192.216.212.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFAE143D48 for ; Fri, 16 Apr 2004 11:39:57 -0700 (PDT) (envelope-from B.Henning@Navitaire.com) Received: from navmmtl112.corp.nt.navitaire.com (navmmtl112.navitaire.com [149.122.40.8]) by ns1.navitaire.com (8.12.9/8.12.9) with ESMTP id i3GIdkW2013524; Fri, 16 Apr 2004 13:39:46 -0500 (CDT) Received: from NAVMMEX112.corp.nt.navitaire.com ([149.122.40.50]) by navmmtl112.corp.nt.navitaire.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 16 Apr 2004 13:39:46 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 16 Apr 2004 13:39:45 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: nfs cache Thread-Index: AcQj0Kvli4JkgcjfSuGK52e+uLcqSAAD1YXg From: "Henning, Brian" To: "Dan Nelson" X-OriginalArrivalTime: 16 Apr 2004 18:39:46.0269 (UTC) FILETIME=[30DE90D0:01C423E2] cc: freebsd-questions@freebsd.org Subject: RE: nfs cache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 18:39:58 -0000 -----Original Message----- From: Dan Nelson [mailto:dnelson@allantgroup.com]=20 Sent: Friday, April 16, 2004 11:34 AM To: Brian Henning Cc: freebsd-questions@freebsd.org Subject: Re: nfs cache In the last episode (Apr 16), Brian Henning said: > I am trying to get some info on the cache for nfs on the nfs client. I > have looked at nfsstat >=20 > where are the settings located for the nfs cache? I think they're just part of the system's regular disk cache, except for the sysctl below. =20 > the setattr percentages are really high on this server. The is the=20 > main reason i want to know what is going on with the cache. Getattr, you mean? That just means that the client has stat()'ed a file twice within the timeout specified by the vfs.nfs.access_cache_timeout sysctl, and has pulled the value from its cache instead of querying the server. > Version 2: (185583924 calls) > null getattr setattr root lookup > 0 0% 175265837 94% 66975 0% 0 0% 6407008 3% So here, 94% of the getattr calls were pulled from cache. --=20 Dan Nelson dnelson@allantgroup.com _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Dan, Sorry, you were right I did mean getattr. Just curious, does this mean that 94% of the NFS calls made, where getattr() calls (175265837/185583924 =3D .944)? Thanks, Brian