From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82119 invoked by alias); 24 Feb 2016 20:25:25 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 82087 invoked by uid 89); 24 Feb 2016 20:25:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 24 Feb 2016 20:25:24 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 48E946315B; Wed, 24 Feb 2016 20:25:23 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-116-55.ams2.redhat.com [10.36.116.55]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u1OKPJpU026897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 24 Feb 2016 15:25:21 -0500 Date: Wed, 24 Feb 2016 20:25:00 -0000 From: Jan Kratochvil To: Simon Marchi Cc: Tom Tromey , Pedro Alves , gdb@sourceware.org Subject: Re: Multi-threaded dwarf parsing Message-ID: <20160224202519.GA10251@host1.jankratochvil.net> References: <2c38d5c574de28faa9fc94fe4ed17d45@simark.ca> <56CD8EC0.3010304@redhat.com> <87lh6a6s8s.fsf@tromey.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00025.txt.bz2 On Wed, 24 Feb 2016 17:43:03 +0100, Simon Marchi wrote: > instead of blocking on the psymtabs creation at startup [...] > then the main code will have to block until the corresponding task is > complete (dwarf2_require_psymtabs). If really your concern are psymtabs then use Tom's .gdb_index: gdb/contrib/gdb-add-index.sh With .gdb_index GDB still has startup performance problems during full CU expansions, that is struct symtab and struct symbol. That happens with C++ inferiors which have very interlinked CUs and thus expanding one CU means for GDB expanding 100+ CUs due to the inter-type dependencies which cannot be left opaque in such cases. And as each C++ CU is usually very large... Jan