This is the mail archive of the
mailing list for the GCC project.
Re: [RFA] update ggc_min_heapsize_heuristic()
- From: Markus Trippelsdorf <markus at trippelsdorf dot de>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Sun, 9 Apr 2017 21:21:09 +0200
- Subject: Re: [RFA] update ggc_min_heapsize_heuristic()
- Authentication-results: sourceware.org; auth=none
- References: <20170409144125.GA10606@x4> <CAFiYyc3EoUB_gJwc05-PEMztAaCvH5jUA0skOK=96rSO65zxsw@mail.gmail.com>
On 2017.04.09 at 20:23 +0200, Richard Biener wrote:
> On Sun, Apr 9, 2017 at 4:41 PM, Markus Trippelsdorf
> <email@example.com> 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.