From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 28 Sep 2002 01:30:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 28 Sep 2002 01:30:10 -0400 Received: from e34.co.us.ibm.com ([32.97.110.132]:10624 "EHLO e34.co.us.ibm.com") by vger.kernel.org with ESMTP id ; Sat, 28 Sep 2002 01:30:10 -0400 Date: Sat, 28 Sep 2002 11:11:03 +0530 From: Dipankar Sarma To: William Lee Irwin III , "Martin J. Bligh" , Zwane Mwaikambo , Andrew Morton , lkml , "linux-mm@kvack.org" Subject: Re: 2.5.38-mm3 Message-ID: <20020928111103.C32125@in.ibm.com> Reply-To: dipankar@in.ibm.com References: <20020927152833.D25021@in.ibm.com> <502559422.1033113869@[10.10.2.3]> <20020927224424.A28529@in.ibm.com> <20020927225455.GW22942@holomorphy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020927225455.GW22942@holomorphy.com>; from wli@holomorphy.com on Fri, Sep 27, 2002 at 03:54:55PM -0700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 27, 2002 at 03:54:55PM -0700, William Lee Irwin III wrote: > On Fri, Sep 27, 2002 at 10:44:24PM +0530, Dipankar Sarma wrote: > > Not sure why it shows up more in -mm, but likely because -mm has > > lot less contention on other locks like dcache_lock. > > Well, the profile I posted was an interactive UP workload, and it's > fairly high there. Trimming cycles off this is good for everyone. Oh, I was commenting on possible files_lock contention on mbligh's NUMA-Q. > > Small SMP boxen (dual?) used similarly will probably see additional > gains as the number of locked operations in fget() will be reduced. > There's clearly no contention or cacheline bouncing in my workloads as > none of them have tasks sharing file tables, nor is anything else > messing with the cachelines. I remember seeing fget() high up in specweb profiles. I suspect that fget profile count is high because it just happens to get called very often for most workloads (all file syscalls) and the atomic operations (SMP) and the function call overhead just adds to the cost. If possible, we should try inlining it too. Thanks -- Dipankar Sarma http://lse.sourceforge.net Linux Technology Center, IBM Software Lab, Bangalore, India.