<div dir="ltr">You might be able to use the (-l|--load-average|--max-load) option on make to limit the load on the local machine.  The distcc jobs shouldn't affect the local load average.<div><br></div><div>Erik</div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Tue, Aug 20, 2013 at 1:55 AM, tal zilcer <span dir="ltr"><<a href="mailto:tal.zilcer@gmail.com" target="_blank">tal.zilcer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px"><div><div><div><div><div><div><div><div>hi,<br><br></div>i want to use distcc and ccache in my cluster(10 servers, 8 cpus in each one) in order to improve build times.<br>


</div>my question is this:<br></div>because i have about 80 cpus using make -j with value of 80-160 seems right according to information on the web.<br></div>but when using ccache if i get only cache hits, distcc wont run(im using CCACHE_PREFIX=distcc) and i will have 80 processes of ccache running on my local host.<br>


</div>this is much more than the cpus can handle.<br></div>should i use -j as the numbers of cpus on my local host?<br></div>i want to take advantage of all the cpus in the cluster.....<br><br></div>thanks,<br></div><span style="font-family:arial,sans-serif;font-size:13px">tal</span><br>


</div>
<br>__<br>
distcc mailing list            <a href="http://distcc.samba.org/" target="_blank">http://distcc.samba.org/</a><br>
To unsubscribe or change options:<br>
<a href="https://lists.samba.org/mailman/listinfo/distcc" target="_blank">https://lists.samba.org/mailman/listinfo/distcc</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>*************************************************<br>

Erik Zeek<br><a href="mailto:zeekec@mad.scientist.com">zeekec@mad.scientist.com</a><br>*************************************************<br>Against stupidity the very gods<br>Themselves contend in vain.<br>  - Johann Christoph Friedrich von Schiller (1801)<br>

*************************************************
</div></div>