Jan Hubicka - Re: [PATCH/RFC/PR28071]: New scheduler dependencies lists. (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing 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]

Hi, the memory tester jammed for last week, but looking at the results on the PR28071 -O3 compilation at: http://www.suse.de/~gcctest/memory/graphs/index.html it looks like that while this patch sucesfully addressed the compilation time issues, the overall memory consumption increased noticeably (100MB, or 20%)

I think it might be caused just by suboptimal allocation (as the lists with extra pointer should not consume more memory just because RTL containers did needed extra 64bits too).

Looking at the code:

+/* Allocate deps_list. +

+}

This seems to be obvious candidate for allocpools instead of this obstack/xmalloc hybrid scheme. Also I am just curious, what is the advantage of using the pointers back to the next field instead of usual doubly linked list? Thanks for all the hard work!

Honza


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