Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262936AbVDHTRA (ORCPT ); Fri, 8 Apr 2005 15:17:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262937AbVDHTRA (ORCPT ); Fri, 8 Apr 2005 15:17:00 -0400 Received: from pimout2-ext.prodigy.net ([207.115.63.101]:45253 "EHLO pimout2-ext.prodigy.net") by vger.kernel.org with ESMTP id S262936AbVDHTQx (ORCPT ); Fri, 8 Apr 2005 15:16:53 -0400 Date: Fri, 8 Apr 2005 12:16:38 -0700 From: Chris Wedgwood To: Linus Torvalds Cc: Matthias-Christian Ott , Andrea Arcangeli , Kernel Mailing List Subject: Re: Kernel SCM saga.. Message-ID: <20050408191638.GA5792@taniwha.stupidest.org> References: <20050408041341.GA8720@taniwha.stupidest.org> <20050408071428.GB3957@opteron.random> <4256AE0D.201@tiscali.de> <20050408171518.GA4201@taniwha.stupidest.org> <20050408180540.GA4522@taniwha.stupidest.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 802 Lines: 19 On Fri, Apr 08, 2005 at 12:03:49PM -0700, Linus Torvalds wrote: > Yes, doing the stat just on the directory (on leaf directories only, of > course, but nlink==2 does say that on most filesystems) is indeed a huge > potential speedup. Here I measure about 6ms for cache --- essentially below the noise threshold for something that does real work. > It doesn't matter so much for the cached case, but it _does_ matter > for the uncached one. Doing the minimal stat cold-cache here is about 6s for local disk. I'm somewhat surprised it's that bad actually. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/