[Bug tree-optimization/44563] GCC uses a lot of RAM when compiling a large numbers of functions
hubicka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 13 01:17:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44563
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vmakarov at redhat dot com
--- Comment #9 from Jan Hubicka <hubicka at gcc dot gnu.org> 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.
More information about the Gcc-bugs
mailing list