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: Just a reminder of serious open 3.3 PRs


To see what happened between 3.3 and 3.4-mainline, I compiled the
PR8361 generate-3.4.ii test simulating the middle RAM amount of 256Mb.
Results for -O0 and -O3 are below.  The -O0 results are almost
identical, however there is some improvement in the -O3 results,
around 6% overall.

The major diffs at -O3 are: "parser"+"name lookup" got worse, "expand"
is much better, "CSE"+"CSE2" got worse and "global CSE" is better.

It might be worthwhile to see if we can identify the speedups for
"expand" and "global CSE" and backport them from mainline to 3.3.
Likewise we should figure out why some of these things got worse.

		--Kaveh

----------------------------------------------------------------------------
These are at -O0:

3.3 (RAM 256Mb --param ggc-min-expand=47 --param ggc-min-heapsize=32768)
 garbage collection    :   9.68 (14%) usr   0.01 ( 0%) sys   9.75 (11%) wall
 parser                :  27.38 (39%) usr   5.47 (28%) sys  32.75 (37%) wall
 name lookup           :   9.49 (14%) usr  10.52 (55%) sys  19.00 (21%) wall
 global alloc          :   7.96 (11%) usr   0.09 ( 0%) sys  10.50 (12%) wall
 TOTAL                 :  70.03            19.29            89.25

3.4 (RAM 256Mb --param ggc-min-expand=47 --param ggc-min-heapsize=32768)
 garbage collection    :   9.16 (13%) usr   0.01 ( 0%) sys   9.17 (10%) wall
 parser                :  25.06 (35%) usr   6.07 (32%) sys  31.59 (35%) wall
 name lookup           :  14.40 (20%) usr  10.79 (57%) sys  24.60 (27%) wall
 global alloc          :   7.89 (11%) usr   0.08 ( 0%) sys   8.01 ( 9%) wall
 TOTAL                 :  71.61            18.95            90.57

----------------------------------------------------------------------------
These are at -O3:

3.3 (RAM 256Mb --param ggc-min-expand=47 --param ggc-min-heapsize=32768)
 garbage collection    :  32.99 (12%) usr   0.01 ( 0%) sys  33.00 (11%) wall
 parser                :  25.62 (10%) usr   7.51 (36%) sys  32.80 (11%) wall
 name lookup           :  13.79 ( 5%) usr  10.91 (52%) sys  24.89 ( 9%) wall
 expand                :  27.33 (10%) usr   0.38 ( 2%) sys  27.71 (10%) wall
 integration           :   9.99 ( 4%) usr   0.05 ( 0%) sys  10.04 ( 3%) wall
 CSE                   :  24.54 ( 9%) usr   0.00 ( 0%) sys  24.54 ( 9%) wall
 global CSE            :  21.87 ( 8%) usr   0.02 ( 0%) sys  21.88 ( 8%) wall
 CSE 2                 :   8.29 ( 3%) usr   0.01 ( 0%) sys   8.31 ( 3%) wall
 global alloc          :   7.96 ( 3%) usr   0.03 ( 0%) sys   8.00 ( 3%) wall
 rename registers      :  16.56 ( 6%) usr   0.03 ( 0%) sys  16.59 ( 6%) wall
 TOTAL                 : 266.17            20.86           287.04

3.4 (RAM 256Mb --param ggc-min-expand=47 --param ggc-min-heapsize=32768)
 garbage collection    :  28.59 (11%) usr   0.01 ( 0%) sys  28.75 (11%) wall
 parser                :  26.85 (11%) usr   6.94 (31%) sys  35.25 (13%) wall
 name lookup           :   8.95 ( 4%) usr  11.55 (52%) sys  20.25 ( 7%) wall
 expand                :  15.55 ( 6%) usr   0.06 ( 0%) sys  16.50 ( 6%) wall
 integration           :   9.09 ( 4%) usr   0.00 ( 0%) sys   9.25 ( 3%) wall
 CSE                   :  36.49 (15%) usr   0.01 ( 0%) sys  36.50 (13%) wall
 global CSE            :  12.44 ( 5%) usr   0.03 ( 0%) sys  11.75 ( 4%) wall
 CSE 2                 :  10.30 ( 4%) usr   0.00 ( 0%) sys  11.75 ( 4%) wall
 global alloc          :   7.61 ( 3%) usr   0.01 ( 0%) sys  10.00 ( 4%) wall
 rename registers      :  16.64 ( 7%) usr   0.02 ( 0%) sys  16.00 ( 6%) wall
 TOTAL                 : 248.67            22.09           271.00

----------------------------------------------------------------------------


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