[distcc] Preprocessing limit

Martin Pool mbp at samba.org
Thu Feb 19 22:09:04 GMT 2004


On 19 Feb 2004, john moser <bluefoxicy at linux.net> wrote:

> distcc needs a way to limit how many preprocessing jobs it can run at once.
> It may be advantageous to have, say, 150,000 make jobs (if you have a 100000
> node computing network, for example; let's say HP decides it wants to wait
> 2 minutes to compile a new operating system and all its tools).  Running
> 150,000 parallel preprocessings will take hours.  After maybe 80% of that time,
> a few jobs will trickle out to the compiling nodes.
>
> Instead, one could limit how many preprocessings can occur.  The distcc would
> sleep until there's a free local preprocessing slot, and then run that
> preprocessing, then ship out to a free node.  In this way, the actual
> efficiency will more effectively approach the theoretical efficiency.
> 
> Think about it.  Need you wait 10 minutes with 50 jobs before shoving them out
> the network?  Are you always going to have enough processing power to get close
> to theorectical values?  What's the best way to get off the box
> ASAP?

That's what the -j level is for.

-- 
Martin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20040220/5053cc05/attachment.bin


More information about the distcc mailing list