Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967037Ab3E2VBR (ORCPT ); Wed, 29 May 2013 17:01:17 -0400 Received: from one.firstfloor.org ([193.170.194.197]:37443 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966862Ab3E2VBD (ORCPT ); Wed, 29 May 2013 17:01:03 -0400 Date: Wed, 29 May 2013 23:01:01 +0200 From: Andi Kleen To: "J. Bruce Fields" Cc: Andi Kleen , Waiman Long , Dave Chinner , Alexander Viro , Jeff Layton , Miklos Szeredi , Ian Kent , Sage Weil , Steve French , Trond Myklebust , Eric Paris , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, autofs@vger.kernel.org, ceph-devel@vger.kernel.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, "Chandramouleeswaran, Aswin" , "Norton, Scott J" Subject: Re: [PATCH 0/3 v3] dcache: make it more scalable on large system Message-ID: <20130529210101.GN6123@two.firstfloor.org> References: <1369273048-60256-1-git-send-email-Waiman.Long@hp.com> <20130523094201.GA24543@dastard> <519E8B5F.3080905@hp.com> <20130527020903.GR29466@dastard> <51A624E2.3000301@hp.com> <20130529184640.GA3243@fieldses.org> <20130529203700.GM6123@two.firstfloor.org> <20130529204323.GC3243@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130529204323.GC3243@fieldses.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 820 Lines: 23 On Wed, May 29, 2013 at 04:43:23PM -0400, J. Bruce Fields wrote: > On Wed, May 29, 2013 at 10:37:00PM +0200, Andi Kleen wrote: > > > As Dave said before, is the last path component sufficient? Or how > > > about an inode number? > > > > Neither works, the profiler needs to find the file and read it. > > > > inode searching would be incredible expensive, > > How fast does it need to be? Actually analyzing the profile is > something you only do once after everything's over, right? "perf top" does it live. -Andi -- ak@linux.intel.com -- Speaking for myself only. -- 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/