This is the mail archive of the
mailing list for the GCC project.
Re: WPA stream_out form & memory consumption
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Martin Liška <mliska at suse dot cz>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 25 Mar 2014 21:50:21 +0100
- Subject: Re: WPA stream_out form & memory consumption
- Authentication-results: sourceware.org; auth=none
- References: <53286192 dot 3030600 at suse dot cz>
> I've been compiling Chromium with LTO and I noticed that WPA
> stream_out forks and do parallel:
> I am unable to fit in 16GB memory: ld uses about 8GB and lto1 about
> 6GB. When WPA start to fork, memory consumption increases so that
> lto1 is killed. I would appreciate an --param option to disable this
> WPA fork. The number of forks is taken from build system (-flto=9)
> which is fine for ltrans phase, because LD releases aforementioned
> What do you think about that?
I can take a look - our measurements suggested that the WPA memory will
be later dominated by ltrans. Perhaps Chromium does something that makes
WPA to explode that would be interesting to analyze. I did not managed
to get through Chromium LTO build process recently (ninja builds are not
my friends), can you send me the instructions?