From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18307 invoked by alias); 27 Aug 2008 22:48:21 -0000 Received: (qmail 18298 invoked by uid 22791); 27 Aug 2008 22:48:20 -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; Wed, 27 Aug 2008 22:47:46 +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 m7RMl8ks028552 for ; Wed, 27 Aug 2008 18:47:29 -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 m7RMkv8l018448 for ; Wed, 27 Aug 2008 18:46:58 -0400 Received: from opsy.redhat.com (vpn-10-63.bos.redhat.com [10.16.10.63]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id m7RMkpr9027732; Wed, 27 Aug 2008 18:46:52 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id B67B3508204; Wed, 27 Aug 2008 16:47:02 -0600 (MDT) To: gdb-patches@sourceware.org Subject: Re: RFA: shrink minimal symbols References: <20080827205745.GA10837@caradoc.them.org> From: Tom Tromey Reply-To: Tom Tromey X-Attribution: Tom Date: Wed, 27 Aug 2008 22:48:00 -0000 In-Reply-To: <20080827205745.GA10837@caradoc.them.org> (Daniel Jacobowitz's message of "Wed\, 27 Aug 2008 16\:57\:45 -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-08/txt/msg00648.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz writes: Daniel> The OO.o/firefox numbers are with shared libraries loaded, I assume. Yeah. Daniel> Do you have any performance comparison? I'm not too worried about Daniel> lookup performance - number of lookups is relatively low though with Daniel> full debug info I'd expect it to be linear to the number of minimal Daniel> symbols. But I am concerned about startup time. Good point. It does slow things down a bit :( I did: 'time gdb -batch-silent' either with a file name or -p $PID: OO.o before and after 2.47user 0.29system 0:03.13elapsed 88%CPU 2.51user 0.30system 0:04.98elapsed 56%CPU firefox 0.75user 0.16system 0:00.92elapsed 99%CPU 0.77user 0.14system 0:00.92elapsed 99%CPU libgcj 1.28user 0.10system 0:01.43elapsed 96%CPU 1.51user 0.09system 0:01.76elapsed 91%CPU So, back to the drawing board, I think. Perhaps using two different types of hash table is in order -- that would keep the space savings but ameliorate the performance problems, I think. I'll look a bit later. I have another space-savings patch I'm toying with ... I'll time it before sending it. Tom