From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19451 invoked by alias); 13 Dec 2010 01:17:35 -0000 Received: (qmail 19441 invoked by uid 22791); 13 Dec 2010 01:17:34 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Dec 2010 01:17:30 +0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/44563] GCC uses a lot of RAM when compiling a large numbers of functions X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: compile-time-hog, memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 13 Dec 2010 01:17:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-12/txt/msg01348.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44563 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vmakarov at redhat dot com --- Comment #9 from Jan Hubicka 2010-12-13 01:17:19 UTC --- And since Richard did not include 4.6 in his -ftime-reports, here is -O0 garbage collection : 1.74 ( 4%) usr 0.00 ( 0%) sys 1.76 ( 3%) wall 0 kB ( 0%) ggc callgraph construction: 1.07 ( 2%) usr 0.26 ( 5%) sys 1.33 ( 3%) wall 41984 kB ( 3%) ggc callgraph optimization: 0.62 ( 1%) usr 0.24 ( 5%) sys 0.98 ( 2%) wall 91137 kB ( 6%) ggc df scan insns : 3.47 ( 8%) usr 0.32 ( 6%) sys 3.72 ( 7%) wall 7168 kB ( 0%) ggc parser : 1.37 ( 3%) usr 0.41 ( 8%) sys 1.59 ( 3%) wall 202094 kB (13%) ggc inline heuristics : 1.33 ( 3%) usr 0.01 ( 0%) sys 1.29 ( 3%) wall 0 kB ( 0%) ggc tree gimplify : 0.70 ( 2%) usr 0.06 ( 1%) sys 0.70 ( 1%) wall 73728 kB ( 5%) ggc tree CFG construction : 0.21 ( 0%) usr 0.09 ( 2%) sys 0.25 ( 0%) wall 82433 kB ( 5%) ggc tree operand scan : 0.10 ( 0%) usr 0.10 ( 2%) sys 0.15 ( 0%) wall 69141 kB ( 5%) ggc expand : 2.32 ( 5%) usr 0.24 ( 5%) sys 2.45 ( 5%) wall 242940 kB (16%) ggc post expand cleanups : 0.50 ( 1%) usr 0.02 ( 0%) sys 0.49 ( 1%) wall 76289 kB ( 5%) ggc integrated RA : 10.03 (22%) usr 0.15 ( 3%) sys 10.44 (20%) wall 135680 kB ( 9%) ggc reload : 4.42 (10%) usr 0.07 ( 1%) sys 4.60 ( 9%) wall 55295 kB ( 4%) ggc rest of compilation : 3.03 ( 7%) usr 0.82 (16%) sys 3.65 ( 7%) wall 170498 kB (11%) ggc final : 3.67 ( 8%) usr 0.09 ( 2%) sys 3.65 ( 7%) wall 30144 kB ( 2%) ggc unaccounted todo : 1.63 ( 4%) usr 0.91 (18%) sys 2.58 ( 5%) wall 0 kB ( 0%) ggc Wonder what is accounted into rest of compilation. Otherwise RA remains the compile time bottleneck. Will do memory stats later. Adding Vladimir to CC for RA.