From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24877 invoked by alias); 18 Aug 2003 19:02:18 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24866 invoked from network); 18 Aug 2003 19:02:11 -0000 Received: from unknown (HELO sj-iport-3.cisco.com) (171.71.176.72) by sources.redhat.com with SMTP; 18 Aug 2003 19:02:11 -0000 Received: from cisco.com (171.71.177.254) by sj-iport-3.cisco.com with ESMTP; 18 Aug 2003 12:02:11 -0700 Received: from mira-sjc5-e.cisco.com (IDENT:mirapoint@mira-sjc5-e.cisco.com [171.71.163.15]) by sj-core-2.cisco.com (8.12.9/8.12.6) with ESMTP id h7IJ257J003667; Mon, 18 Aug 2003 12:02:08 -0700 (PDT) Received: from asmundaknt3 (dhcp-171-69-59-95.cisco.com [171.69.59.95]) by mira-sjc5-e.cisco.com (Mirapoint Messaging Server MOS 3.3.6-GR) with ESMTP id AHF01840; Mon, 18 Aug 2003 12:02:03 -0700 (PDT) Message-ID: <02ff01c365bb$3612d740$5f3b45ab@amer.cisco.com> From: "Alexander Smundak" To: "Andrew Cagney" Cc: "Cynbe ru Taren" , References: <200307150234.h6F2YsNW028337@tully.CS.Berkeley.EDU> <87d6f63jes.fsf@muq.org> <3F3E43A5.1000906@redhat.com> <025c01c36521$30e2ec50$5f3b45ab@amer.cisco.com> <3F40EB8C.3040908@redhat.com> Subject: Re: parallelized 'ld'? Date: Mon, 18 Aug 2003 19:02:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-SW-Source: 2003-08/txt/msg00206.txt.bz2 Andrew, > >> I believe one identified problem is how the symbol table uses hash > >> tables. The symbol tables are being given a careful upgrade. Was this > >> what you noticed? > > > > No, it is handling BINCL records in STABS. I have replaced the linear search > > in dbxread.c, function find_corresponding_bincl_psymtab() with hash table, > > and this shaved 3 minutes off the GDB initialization time in our case > > (on 333MHz Sparc Ultra). > > Please note that our compiler is gcc 2.95, and that this is for STABS > > debugging > > format. I can send the diffs to the interested parties; they are for 5.0 > > GDB, though. > > Ah. Unless you/cisco have an assignment, a bug report pointing at the > offending code would be better. It turns out there is already an open PR#975: Reporter's email:klee@apple.com Number:975 Category:symtab Synopsis:[RFA] Use hash to speed up BINCL/INCL processing. Severity:serious Priority:medium State:open Arrival-Date:Thu Jan 30 04:48:00 UTC 2003 Last-Modified:Sun Feb 16 04:18:00 UTC 2003 Alexander Smundak