From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28849 invoked by alias); 11 Sep 2008 22:44:47 -0000 Received: (qmail 28840 invoked by uid 22791); 11 Sep 2008 22:44:47 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 11 Sep 2008 22:43:58 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id m8BMgsKD025714; Thu, 11 Sep 2008 18:43:15 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m8BMghYN014493; Thu, 11 Sep 2008 18:42:43 -0400 Received: from opsy.redhat.com (vpn-10-25.bos.redhat.com [10.16.10.25]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id m8BMggRj008175; Thu, 11 Sep 2008 18:42:42 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 40AAD88803A; Thu, 11 Sep 2008 16:42:58 -0600 (MDT) To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [RFA/commit/dwarf] Create partial symbols for nested subprograms References: <20080910201959.GC10133@adacore.com> <20080910203437.GA26162@caradoc.them.org> <20080911175422.GS12222@adacore.com> <20080911183730.GA17809@caradoc.them.org> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom Date: Thu, 11 Sep 2008 22:44:00 -0000 In-Reply-To: <20080911183730.GA17809@caradoc.them.org> (Daniel Jacobowitz's message of "Thu\, 11 Sep 2008 14\:37\:30 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2008-09/txt/msg00248.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz writes: Joel> . To measure the startup time, I used the --statistics command-line Joel> switch. Daniel> I usually use 'gdb -batch foo.exe' to time reading partial Daniel> symbols FWIW -- me too. Joel> It looks like roughly a 4% increase in startup time. Not sure whether Joel> that's considered a large increase or not - I just think that it's not Joel> noticeable. None of our users have reported issues with startup time. How much memory do you have on your machine? Are you using a 32- or 64-bit machine? And how many objfiles are made with this test program? I am just curious to know what differs between my tests and yours. In my case, I start the system OpenOffice writer and then attach to it. I have all the debuginfo packages installed. I'm using x86, and on this machine with that test, gdb takes 256569344 bytes (measured by maint space 1) and it takes about 1:00 elapsed time to start up. I think there are 262 objfiles created, half of them for separate debuginfo (this is from memory, I could be off by a little). Daniel> Your users must be more patient than mine or Tom's :-) I consider Daniel> startup time to be pretty important, and I've been working on bringing Daniel> it down... Tom's been working on an even more drastic version. FWIW I don't think Joel's patch will negatively affect my current approach. Tom