------- Comment #37 from hubicka at ucw dot cz 2006-08-18 23:10 -------
Subject: Re: [4.1/4.2 regression] A file that can not be compiled in
reasonable time/space
Hi,
to summary current process, the memory consumption seems to be in
control now:
comparing PR rtl-optimization/28071 testcase compilation at -O0 level:
Ovarall memory allocated via mmap and sbrk decreased from 146456k to 134136k,
overall -9.18%
Peak amount of GGC memory allocated before garbage collecting run decreased
from 95412k to 81628k, overall -16.89%
Amount of produced GGC garbage decreased from 163295k to 143524k, overall
-13.77%
Overall memory needed: 146456k -> 134136k
Peak memory use before GGC: 95412k -> 81628k
Peak memory use after GGC: 58507k
Maximum of released memory in single GGC run: 45493k
Garbage: 163295k -> 143524k
Leak: 7142k
Overhead: 29023k -> 25103k
GGC runs: 87
comparing PR rtl-optimization/28071 testcase compilation at -O1 level:
Overall memory needed: 430308k -> 424700k
Peak memory use before GGC: 201177k
Peak memory use after GGC: 196173k
Maximum of released memory in single GGC run: 100203k -> 95156k
Garbage: 279198k -> 271636k
Leak: 47195k
Overhead: 31459k -> 29952k
GGC runs: 105
comparing PR rtl-optimization/28071 testcase compilation at -O2 level:
Overall memory needed: 350424k -> 344820k
Peak memory use before GGC: 208293k
Peak memory use after GGC: 196536k
Maximum of released memory in single GGC run: 101565k -> 96536k
Garbage: 394891k -> 387353k
Leak: 47778k
Overhead: 49054k -> 47552k
GGC runs: 111
comparing PR rtl-optimization/28071 testcase compilation at -O3 -fno-tree-pre
-fno-tree-fre level:
Overall memory needed: 535696k -> 536260k
Peak memory use before GGC: 314602k
Peak memory use after GGC: 292946k
Maximum of released memory in single GGC run: 163430k
Garbage: 494953k -> 486928k
Leak: 65110k
Overhead: 60330k -> 58798k
GGC runs: 100
I will post short summary of remaining bottleneks on each optimization
level.
Honza
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28071