From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12652 invoked by alias); 24 Apr 2012 20:00:08 -0000 Received: (qmail 12600 invoked by uid 22791); 24 Apr 2012 20:00:07 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED,TW_GM X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 Apr 2012 19:59:52 +0000 From: "pluto at agmk dot net" To: gdb-prs@sourceware.org Subject: [Bug symtab/14002] big cpu/mem hog on large c++ applications. Date: Tue, 24 Apr 2012 20:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: pluto at agmk dot net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q2/txt/msg00048.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14002 --- Comment #1 from Pawel Sikora 2012-04-24 19:59:47 UTC --- current git/master (2e523a5f18498a902d55ae293cb3870d060f6a6b) is also affected. here's quick info about project: /* buildenv: boost + other libs */ $ find buildenv -type f -name '*.h' -o -name '*.c' -o -name '*.?pp' |wc -l 9728 /* core project sources */ $ find sources -type f -name '*.h' -o -name '*.c' -o -name '*.?pp' |wc -l 7488 so, there's ~17k sources which may be recorded in dwarf-4 (-g2) debuginfo. for the tested slow-step-place, callgrind shows ~921k start_subfile() calls and ~520M filename_cmp() calls (from start_subfile). so, i think that linear scanning of subfile list and multiple deduce_language_from_filename have non-trivial performance impact. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.