This is the mail archive of the gcc-patches@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: [dataflow]: PATCH COMMITTED to improve compile time and space.


> 
> Honza, could you please run the memtester on this again?

Hi,
this is report from your's patch:

comparing insn-attrtab.c compilation at -O2 level:
  Ovarall memory allocated via mmap and sbrk decreased from 206862k to 200087k, overall -3.39%
    Overall memory needed: 206862k -> 200087k
    Peak memory use before GGC: 87235k
    Peak memory use after GGC: 80140k
    Maximum of released memory in single GGC run: 30048k -> 30040k
    Garbage: 302427k -> 302019k
    Leak: 9401k
    Overhead: 33804k -> 33722k
    GGC runs: 252 -> 248

comparing insn-attrtab.c compilation at -O3 level:
  Ovarall memory allocated via mmap and sbrk decreased from 206846k to 200079k, overall -3.38%
    Overall memory needed: 206846k -> 200079k
    Peak memory use before GGC: 87249k
    Peak memory use after GGC: 80154k
    Maximum of released memory in single GGC run: 30110k -> 30102k
    Garbage: 303110k -> 302705k
    Leak: 9405k
    Overhead: 34009k -> 33928k
    GGC runs: 256 -> 254

comparing PR rtl-optimization/28071 testcase compilation at -O1 level:
  Ovarall memory allocated via mmap and sbrk decreased from 312806k to 303191k, overall -3.17%
    Overall memory needed: 312806k -> 303191k
    Peak memory use before GGC: 84146k
    Peak memory use after GGC: 74847k
    Maximum of released memory in single GGC run: 34777k
    Garbage: 231156k -> 231144k
    Leak: 20856k
    Overhead: 33136k -> 33134k
    GGC runs: 79 -> 81

comparing PR rtl-optimization/28071 testcase compilation at -O3 -fno-tree-pre -fno-tree-fre level:
  Ovarall memory allocated via mmap and sbrk decreased from 1156434k to 1046099k, overall -10.55%
    Overall memory needed: 1156434k -> 1046099k
    Peak memory use before GGC: 201851k
    Peak memory use after GGC: 190309k
    Maximum of released memory in single GGC run: 80846k
    Garbage: 378489k -> 378489k
    Leak: 46312k
    Overhead: 51551k -> 51551k
    GGC runs: 71 -> 72

Note that -O3 PR28071 is now quite a bit better than on mainline :)

http://www.suse.de/~gcctest/memory/graphs/
shows that worst offender remains insn-attrtab.  It is 110MB -> 150MB
for -O0, it is 120MB->180MB for -O1.

combine.c at -O0 is 20MB->25MB, at -O1 35->40MB
PR2807 is aout 50MB->55MB at -O2, similarly for -O1 (25->30MB)

Honza


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