From: Trond Myklebust Subject: Re: nfs client performance while server is down Date: Wed, 27 Jan 2010 13:40:03 -0500 Message-ID: <1264617603.3788.77.camel@localhost> References: <1f808b4a1001230757i2027d32dxb48482ea7bf8e4ee@mail.gmail.com> <7A24DF798E223B4C9864E8F92E8C93EC0527810C@SACMVEXC1-PRD.hq.netapp.com> <0BA6F612-CE3A-47E9-B436-57E48506D769@oracle.com> <641EC97D-2252-41FB-AEE8-0F1B77B5EA65@oracle.com> <20100126232148.GA806@fieldses.org> <4B608492.2020702@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: Whoop Whouzer , "J. Bruce Fields" , "Muntz, Daniel" , Peter Chacko , linux-nfs@vger.kernel.org To: Chuck Lever Return-path: Received: from mail-out1.uio.no ([129.240.10.57]:43379 "EHLO mail-out1.uio.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932163Ab0A0SkQ (ORCPT ); Wed, 27 Jan 2010 13:40:16 -0500 In-Reply-To: <4B608492.2020702@oracle.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Wed, 2010-01-27 at 13:23 -0500, Chuck Lever wrote: > On 01/26/2010 06:21 PM, J. Bruce Fields wrote: > > I wonder if nautilus (or some library it uses) likes to regularly > > "statfs" all the filesystems it knows about? > > The NFS client seems to like to send these periodically, but I've never > looked into why. It's probably triggered by some cache timeout, and > gathers recent server file system information. No. It is entirely application driven. Furthermore, most of the statfs data is uncached, since it should not be performance critical in any sane application environment. IOW: I agree with Bruce that this is most likely GNOME or nautilus triggering statfs calls. Indeed, when I do actually open a window on some directory it also appears to display the free space. Trond