From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10837 invoked by alias); 28 Apr 2009 20:00:35 -0000 Received: (qmail 10811 invoked by uid 22791); 28 Apr 2009 20:00:32 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Apr 2009 20:00:27 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id D920B2BABAF; Tue, 28 Apr 2009 16:00:25 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1su83j+YlZRM; Tue, 28 Apr 2009 16:00:25 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id A6A3F2BAB39; Tue, 28 Apr 2009 16:00:25 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id BD495F5924; Tue, 28 Apr 2009 13:00:21 -0700 (PDT) Date: Tue, 28 Apr 2009 20:00:00 -0000 From: Joel Brobecker To: Jerome Guitton Cc: gdb-patches@sources.redhat.com Subject: Re: [Bug symtab/8367] [RFA] performance improvement of lookup_partial_symtab Message-ID: <20090428200021.GB31821@adacore.com> References: <20090114174542.GM84382@adacore.com> <20090115094511.GB80710@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090115094511.GB80710@adacore.com> User-Agent: Mutt/1.5.18 (2008-05-17) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00766.txt.bz2 > + psymtab_to_fullname has a significant cost as it calls > + find_and_open_source, which itself does some I/O operation > + (e.g. open). In cumulative, it can take several seconds with > + large systems (around 4000 files), if the file is accessed > + through a slow file system (e.g. NFS). Here is a shell script > + that you can use to generate such a large system: I forgot to mention: Double-space after a period :). There's a couple of places where you used a single space. Cheers, -- Joel