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: If you had a month to improve gcc build parallelization, where would you begin?


On 04/03/2013 05:53 PM, Joern Rennecke wrote:
Quoting David Fang <fang@csl.cornell.edu>:

Apart from parallelism, I wished the stage 2,3 compilations had a hook
for ccache-ing

Even better would be distcc, i.e. distribute the new compilers
around a cluster so you don't need to have all your cores and DIMMS
on the same motherboard to harness hugely massive parallelization.
Using distcc and ccache is trivial; I spread my builds across ~20 processors around the house...


CC=distcc
CXX=distcc g++
CC_FOR_BUILD=distcc
CXX_FOR_BUILD=distcc
STAGE_CC_WRAPPER=distcc
STAGE_CXX_WRAPPER=distcc

You can't use pump mode though, so we're probably leaving something on the table.

Using distcc & ccache will certainly expose things like the lack of parallel multilib builds, configury slowness, critical path uber-slow insn-* builds and the like.

jeff


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