This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tree-ssa memory and compile-time regressions


On Thu, 8 Jan 2004, Daniel Berlin wrote:

>
> On Jan 8, 2004, at 10:19 AM, Richard Guenther wrote:
>
> > On Thu, 8 Jan 2004, Diego Novillo wrote:
> >
> >> On Thu, 2004-01-08 at 09:53, Richard Guenther wrote:
> >>
> >>> -O0 220MB, 0m17s
> >>> -O1 260MB, 0m24s
> >>> -O2 800MB, 7m35s  (-ftime-report on a faster machine attached below)
> >>> -O2 -fno-unit-at-a-time 260MB, 0m28s
> >>>
> >> Hmm, based on what the time report says, could you try with
> >> -fno-tree-pre?
> >
> > loop times go up the roof then, but the tree stuff looks ok.
> >
>
> Also, how much memory with -fno-tree-pre at -O2?

This time without "fix" on the fast machine (has 1gig ram, too):

560MB

Execution times (seconds)
 garbage collection    :   1.88 ( 2%) usr   0.00 ( 0%) sys   1.88 ( 2%) wall
 callgraph construction:   0.12 ( 0%) usr   0.00 ( 0%) sys   0.12 ( 0%) wall
 callgraph optimization:   0.68 ( 1%) usr   0.07 ( 1%) sys   0.76 ( 1%) wall
 cfg construction      :   0.28 ( 0%) usr   0.01 ( 0%) sys   0.30 ( 0%) wall
 cfg cleanup           :   1.05 ( 1%) usr   0.00 ( 0%) sys   1.05 ( 1%) wall
 trivially dead code   :   0.83 ( 1%) usr   0.00 ( 0%) sys   0.83 ( 1%) wall
 life analysis         :   3.31 ( 3%) usr   0.13 ( 2%) sys   3.44 ( 3%) wall
 life info update      :   2.21 ( 2%) usr   0.07 ( 1%) sys   2.28 ( 2%) wall
 alias analysis        :   1.02 ( 1%) usr   0.01 ( 0%) sys   1.03 ( 1%) wall
 register scan         :   0.56 ( 1%) usr   0.00 ( 0%) sys   0.56 ( 0%) wall
 rebuild jump labels   :   0.19 ( 0%) usr   0.00 ( 0%) sys   0.19 ( 0%) wall
 preprocessing         :   0.35 ( 0%) usr   0.21 ( 3%) sys   0.55 ( 0%) wall
 parser                :   3.77 ( 3%) usr   0.66 (10%) sys   4.44 ( 4%) wall
 name lookup           :   2.23 ( 2%) usr   0.93 (14%) sys   3.19 ( 3%) wall
 integration           :  22.73 (21%) usr   0.14 ( 2%) sys  22.87 (19%) wall
 tree gimplify         :   0.29 ( 0%) usr   0.01 ( 0%) sys   0.30 ( 0%) wall
 tree eh               :   0.33 ( 0%) usr   0.00 ( 0%) sys   0.33 ( 0%) wall
 tree CFG construction :   0.37 ( 0%) usr   0.00 ( 0%) sys   0.37 ( 0%) wall
 tree CFG cleanup      :   1.12 ( 1%) usr   0.00 ( 0%) sys   1.12 ( 1%) wall
 tree alias analysis   :   0.49 ( 0%) usr   0.00 ( 0%) sys   0.49 ( 0%) wall
 tree PHI insertion    :   0.43 ( 0%) usr   0.00 ( 0%) sys   0.43 ( 0%) wall
 tree SSA rewrite      :   0.58 ( 1%) usr   0.01 ( 0%) sys   0.59 ( 1%) wall
 tree SSA other        :   1.55 ( 1%) usr   0.02 ( 0%) sys   1.57 ( 1%) wall
 dominator optimization:   4.00 ( 4%) usr   0.01 ( 0%) sys   4.01 ( 3%) wall
 tree SRA              :   0.08 ( 0%) usr   0.00 ( 0%) sys   0.08 ( 0%) wall
 tree CCP              :   0.37 ( 0%) usr   0.00 ( 0%) sys   0.37 ( 0%) wall
 tree DCE              :   0.65 ( 1%) usr   0.01 ( 0%) sys   0.66 ( 1%) wall
 tree SSA to normal    :   4.07 ( 4%) usr   0.05 ( 1%) sys   4.12 ( 4%) wall
 callgraph verifier    :   7.35 ( 7%) usr   0.06 ( 1%) sys   7.40 ( 6%) wall
 dominance frontiers   :   0.04 ( 0%) usr   0.00 ( 0%) sys   0.04 ( 0%) wall
 expand                :   3.81 ( 3%) usr   0.04 ( 1%) sys   3.87 ( 3%) wall
 varconst              :   0.12 ( 0%) usr   0.02 ( 0%) sys   0.14 ( 0%) wall
 jump                  :   0.26 ( 0%) usr   0.02 ( 0%) sys   0.29 ( 0%) wall
 CSE                   :   3.18 ( 3%) usr   0.01 ( 0%) sys   3.19 ( 3%) wall
 global CSE            :   1.09 ( 1%) usr   0.02 ( 0%) sys   1.11 ( 1%) wall
 loop analysis         :  16.58 (15%) usr   3.93 (60%) sys  20.51 (17%) wall
 bypass jumps          :   0.19 ( 0%) usr   0.00 ( 0%) sys   0.19 ( 0%) wall
 CSE 2                 :   1.57 ( 1%) usr   0.00 ( 0%) sys   1.57 ( 1%) wall
 branch prediction     :   5.43 ( 5%) usr   0.01 ( 0%) sys   5.44 ( 5%) wall
 flow analysis         :   0.02 ( 0%) usr   0.00 ( 0%) sys   0.02 ( 0%) wall
 combiner              :   1.62 ( 1%) usr   0.00 ( 0%) sys   1.63 ( 1%) wall
 if-conversion         :   0.23 ( 0%) usr   0.00 ( 0%) sys   0.23 ( 0%) wall
 regmove               :   0.54 ( 0%) usr   0.00 ( 0%) sys   0.55 ( 0%) wall
 local alloc           :   4.44 ( 4%) usr   0.01 ( 0%) sys   4.45 ( 4%) wall
 global alloc          :   3.08 ( 3%) usr   0.09 ( 1%) sys   3.18 ( 3%) wall
 reload CSE regs       :   1.99 ( 2%) usr   0.00 ( 0%) sys   1.99 ( 2%) wall
 flow 2                :   0.13 ( 0%) usr   0.00 ( 0%) sys   0.15 ( 0%) wall
 if-conversion 2       :   0.13 ( 0%) usr   0.00 ( 0%) sys   0.13 ( 0%) wall
 peephole 2            :   0.20 ( 0%) usr   0.00 ( 0%) sys   0.21 ( 0%) wall
 rename registers      :   0.74 ( 1%) usr   0.01 ( 0%) sys   0.76 ( 1%) wall
 scheduling 2          :   0.82 ( 1%) usr   0.01 ( 0%) sys   0.84 ( 1%) wall
 reorder blocks        :   0.20 ( 0%) usr   0.00 ( 0%) sys   0.20 ( 0%) wall
 shorten branches      :   0.17 ( 0%) usr   0.00 ( 0%) sys   0.17 ( 0%) wall
 reg stack             :   0.07 ( 0%) usr   0.00 ( 0%) sys   0.07 ( 0%) wall
 final                 :   0.25 ( 0%) usr   0.00 ( 0%) sys   0.26 ( 0%) wall
 rest of compilation   :   0.61 ( 1%) usr   0.01 ( 0%) sys   0.62 ( 1%) wall
 TOTAL                 : 110.41             6.58           117.33


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]