Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262942AbVDHUOe (ORCPT ); Fri, 8 Apr 2005 16:14:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262943AbVDHUOe (ORCPT ); Fri, 8 Apr 2005 16:14:34 -0400 Received: from ylpvm43-ext.prodigy.net ([207.115.57.74]:56553 "EHLO ylpvm43.prodigy.net") by vger.kernel.org with ESMTP id S262942AbVDHUOb (ORCPT ); Fri, 8 Apr 2005 16:14:31 -0400 X-ORBL: [68.120.153.162] Date: Fri, 8 Apr 2005 13:14:25 -0700 From: Chris Wedgwood To: Ragnar Kj?rstad Cc: Linus Torvalds , Matthias-Christian Ott , Andrea Arcangeli , Kernel Mailing List Subject: Re: Uncached stat performace [ Was: Re: Kernel SCM saga.. ] Message-ID: <20050408201425.GB6509@taniwha.stupidest.org> References: <4256AE0D.201@tiscali.de> <20050408171518.GA4201@taniwha.stupidest.org> <20050408180540.GA4522@taniwha.stupidest.org> <20050408191638.GA5792@taniwha.stupidest.org> <20050408201150.GL20644@vestdata.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050408201150.GL20644@vestdata.no> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 916 Lines: 22 On Fri, Apr 08, 2005 at 10:11:51PM +0200, Ragnar Kj?rstad wrote: > It does, so why isn't there a way to do this without the disgusting > hack? (Your words, not mine :) ) inode sorting probably a good guess for a number of filesystems, you can map the blocks used to do better still (somewhat fs specific) you can do better still if you multiple stats in parallel (up to a point) and let the elevator sort things out > I bet it would make a significant difference from things like "ls -l" in > large uncached directories and imap-servers with maildir? sort + concurrent stats would help here i think i'm not sure i like the idea of ls using lots of threads though :) - 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/