<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi</div><div><br></div><div>Don't know there is a better way or not, here is my understanding.</div><div><br></div><div>GNU make don't know what cc command it called, either disaccharide or ccache, so if you're calling a big -j,  it will create such number job according you make rules.</div><div>If you're using distcc and ccache in same time, there is no better way to make live well together. </div><div>So you either only using distcc with a big -j , or use a small -j with ccache.</div><div><br></div><div>Don't sure which is faster in your build env, make be you can do some compare in time. </div><div><br>- Jiejing -</div><div><br>在 2013年8月20日,15:55,tal zilcer <<a href="mailto:tal.zilcer@gmail.com">tal.zilcer@gmail.com</a>> 写道:<br><br></div><blockquote type="cite"><div><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>
</div></blockquote><blockquote type="cite"><div><span>__</span><br><span>distcc mailing list            <a href="http://distcc.samba.org/">http://distcc.samba.org/</a></span><br><span>To unsubscribe or change options:</span><br><span><a href="https://lists.samba.org/mailman/listinfo/distcc">https://lists.samba.org/mailman/listinfo/distcc</a></span></div></blockquote></body></html>