<div dir="ltr">Can you try to explain more clearly what difference in queueing behavior you expect from this change?<div><br></div><div>I think probably the main change that's needed is for the client to ask all masters if they have space, to avoid needing to effectively poll by retrying, or getting stuck waiting for a particular server.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 15, 2014 at 12:53 PM, Łukasz Tasz <span dir="ltr"><<a href="mailto:lukasz@tasz.eu" target="_blank">lukasz@tasz.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Guys,<br>
<br>
please correct me if I'm wrong,<br>
- currently distcc tries to connect server 3 times, with small delay,<br>
- server forks x childs and all of them are trying to accept incoming<br>
connection.<br>
If server runs out of childs (all of them are busy), client will<br>
fallback, and within next 60 sec will not try this machine.<br>
<br>
What do you think about redesigning distcc in a way that master server<br>
will always accept inconing connection, fork a child, but in a same<br>
time only x of them will be able to enter compilation<br>
task(dcc_spawn_child)? (mayby preforking still could be used?)<br>
<br>
This may create kind of queue, client always can decide by his own, if<br>
can wait some  time, or maximum is DISTCC_IO_TIMEOUT, but still it's<br>
faster to wait, since probably on a cluster side it's just a pick of<br>
saturation then making falback to local machine.<br>
<br>
currently I'm facing situation that many jobs are making fallback, and<br>
localmachine is being killed by make's -j calculated for distccd...<br>
<br>
other trick maybe to pick different machine, if current is busy, but<br>
this may be much more complex in my opinion.<br>
<br>
what do you think?<br>
regards<br>
<span class="HOEnZb"><font color="#888888">Łukasz Tasz<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></font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Martin<br>
</div>