This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Threading the compiler
- From: Joe Buck <Joe dot Buck at synopsys dot COM>
- To: Dave Korn <dave dot korn at artimi dot com>
- Cc: "'Robert Dewar'" <dewar at adacore dot com>, "'Geert Bosch'" <bosch at adacore dot com>, "'Mike Stump'" <mrs at apple dot com>, "'GCC Development'" <gcc at gcc dot gnu dot org>
- Date: Tue, 14 Nov 2006 11:40:29 -0800
- Subject: Re: Threading the compiler
- References: <4559E2C6.50506@adacore.com> <01e901c70821$39bab9b0$a501a8c0@CAM.ARTIMI.COM>
On Tue, Nov 14, 2006 at 07:15:19PM -0000, Dave Korn wrote:
> Geert's followup explained this seeming anomaly: he means that the crude
> high-level granularity of "make -j" is enough to keep all cpus busy at 100%,
> and I'm fairly persuaded by the arguments that, at the moment, that's
> sufficient in most circumstances to get 99% of the benefit there to be had.
Currently the serial step is linking, and for the typical builds I do it
is the bottleneck as the c/c++ -> o step is highly parallelizable. Figure
out how to make the linker parallel, and then we can talk.