Re: 6 DAY compile! Any volunteers for distributed build CPU sharing?
- From: shamino@xxxxxxxxxx (David C.)
- Date: Thu, 14 Jun 2007 23:33:03 GMT
noreply@xxxxxxxxxxxx (Patrick Machielse) writes:
I remember a senior Apple engineer exclaiming: 'NO build should take
more than 2 minutes'... (this was after demoing a distributed build of
the Finder using a stack of XServes).
I've got some projects that would disprove his theory.
Where I work, our code consists of several millions of lines of code,
that are cross-compiled from various Linux and Solaris/SPARC host
workstations to our target hardware platform. The build environment is
distributed across a pool of 8 4-CPU Linux servers, 6 4-CPU UltraSPARC
III servers, and available CPU cycles on users' workstations (using a
screen-saver that adds the workstation to the compiler-pool whenever the
computer is idle.) There's also a company-wide cache, so different
developers never have to compile identical files.
Even with all this distribution, a change to a critical header file can
still cause a build to take two hours. (Without distribution, a full
build can easily take over 24 hours.)
I think that Apple engineer was speaking in hyperbole.
In practice distributed builds seem useful only if you can afford a
dedicated build farm and a high speed wired network. Trying to
leverage the unused capacity of regular machines on your local network
is a different story.
Without a dedicated compile farm, you won't see dramatic speedups. And
without a cache, multiple developers compiling the same code at once
will end up wasting all that distributed compiler power.
Using spare cycles of workstations does work, but you have to be careful
not to kill the desktop responsiveness of those computers when people
are running apps in the foreground.
-- David
.
- Follow-Ups:
- Re: 6 DAY compile! Any volunteers for distributed build CPU sharing?
- From: Patrick Machielse
- Re: 6 DAY compile! Any volunteers for distributed build CPU sharing?
- References:
- 6 DAY compile! Any volunteers for distributed build CPU sharing?
- From: helmut_brandt
- Re: 6 DAY compile! Any volunteers for distributed build CPU sharing?
- From: Patrick Machielse
- Re: 6 DAY compile! Any volunteers for distributed build CPU sharing?
- From: Michael Ash
- Re: 6 DAY compile! Any volunteers for distributed build CPU sharing?
- From: Patrick Machielse
- 6 DAY compile! Any volunteers for distributed build CPU sharing?
- Prev by Date: Re: figuring out CPU load question
- Next by Date: Re: 6 DAY compile! Any volunteers for distributed build CPU sharing?
- Previous by thread: Re: 6 DAY compile! Any volunteers for distributed build CPU sharing?
- Next by thread: Re: 6 DAY compile! Any volunteers for distributed build CPU sharing?
- Index(es):
Relevant Pages
|