[Bug middle-end/28071] [4.1 regression] A file that can not be compiled in reasonable time/space
hubicka at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Feb 6 22:05:00 GMT 2007
------- Comment #60 from hubicka at gcc dot gnu dot org 2007-02-06 22:05 -------
Hi,
small update on status. At -O3 -fno-tree-fre -fno-tree-pre we are now doing
1.1GB footprint, 800MB of this out of gimple. We still explode in FRE/PRE but
majority of other problems was fixed:
Execution times (seconds)
garbage collection : 18.23 (12%) usr 0.04 ( 1%) sys 18.46 (10%) wall
0 kB ( 0%) ggc
callgraph construction: 10.31 ( 7%) usr 0.04 ( 1%) sys 10.36 ( 5%) wall
2296 kB ( 0%) ggc
life analysis : 4.08 ( 3%) usr 0.16 ( 3%) sys 4.26 ( 2%) wall
7350 kB ( 2%) ggc
inline heuristics : 10.46 ( 7%) usr 0.12 ( 2%) sys 10.57 ( 6%) wall
2438 kB ( 1%) ggc
integration : 16.48 (11%) usr 0.46 ( 9%) sys 17.00 ( 9%) wall
143049 kB (29%) ggc
tree CFG cleanup : 4.69 ( 3%) usr 0.00 ( 0%) sys 4.69 ( 2%) wall
0 kB ( 0%) ggc
tree SSA incremental : 2.32 ( 2%) usr 0.40 ( 8%) sys 2.76 ( 1%) wall
3276 kB ( 1%) ggc
tree operand scan : 1.42 ( 1%) usr 0.22 ( 4%) sys 1.54 ( 1%) wall
27071 kB ( 6%) ggc
dominator optimization: 2.25 ( 2%) usr 0.00 ( 0%) sys 2.24 ( 1%) wall
14657 kB ( 3%) ggc
tree split crit edges : 0.39 ( 0%) usr 0.00 ( 0%) sys 0.39 ( 0%) wall
17558 kB ( 4%) ggc
tree SSA to normal : 8.06 ( 5%) usr 0.40 ( 8%) sys 8.51 ( 4%) wall
22874 kB ( 5%) ggc
expand : 3.83 ( 3%) usr 0.69 (14%) sys 38.08 (20%) wall
54312 kB (11%) ggc
forward prop : 3.20 ( 2%) usr 0.82 (16%) sys 4.22 ( 2%) wall
2470 kB ( 1%) ggc
if-conversion : 6.37 ( 4%) usr 0.00 ( 0%) sys 6.41 ( 3%) wall
9157 kB ( 2%) ggc
global alloc : 12.12 ( 8%) usr 0.94 (19%) sys 15.48 ( 8%) wall
18801 kB ( 4%) ggc
TOTAL : 147.90 5.02 191.03
486834 kB
We get considerable usage in bitmaps (just those over 100MB of peak memory
usage are listed):
df-problems.c:2957 (df_chain_create_bb) 208MB
df-problems.c:986 (df_rd_alloc) 207MB
df-problems.c:987 (df_rd_alloc) 110MB
tree-ssa-live.c:534 (new_tree_live_info) 110MB
tree-ssa-live.c:538 (new_tree_live_info) 110MB
At least 100MB, but probably more is consumed by the new linked lists used by
scheduler. Hopefully this can be tracked by moving everyting to allocpools.
I will send -O2 in separate post.
Honza
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28071
More information about the Gcc-bugs
mailing list