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: [RFA] update ggc_min_heapsize_heuristic()


On 2017.04.09 at 20:23 +0200, Richard Biener wrote:
> On Sun, Apr 9, 2017 at 4:41 PM, Markus Trippelsdorf
> <markus@trippelsdorf.de> wrote:
> > The minimum size heuristic for the garbage collector's heap, before it
> > starts collecting, was last updated over ten years ago.
> > It currently has a hard upper limit of 128MB.
> > This is too low for current machines where 8GB of RAM is normal.
> > So, it seems to me, a new upper bound of 1GB would be appropriate.
> >
> > Compile times of large C++ projects improve by over 10% due to this
> > change.
> 
> How does memory use change?

It increases e.g. 25% on tramp3d-v4.cpp when increasing 
ggc-min-heapsize from 131072 (default) to 524288.

-- 
Markus


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