<div dir="ltr"><div dir="ltr">On Wed, 14 Aug 2019 at 13:36, &lt;<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>&gt; wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 2019-08-14 at 13:25 +0200, Alexander Kanavin wrote:<br>
&gt; On Tue, 13 Aug 2019 at 21:18, Richard Purdie &lt;<br>
&gt; <a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt; wrote:<br>
&gt; &gt; I had a glance at the profile output from master-next and the<br>
&gt; &gt; problem<br>
&gt; &gt; wasn&#39;t where I thought it would be, it was in the scheduler code.<br>
&gt; &gt; That<br>
&gt; &gt; is good as those classes are effectively independent of the other<br>
&gt; &gt; changes and hence are a separate fix.<br>
&gt; &gt; <br>
&gt; &gt; I&#39;ve put a patch in -next which takes the above test to 36s which<br>
&gt; &gt; is<br>
&gt; &gt; close to the older bitbake.<br>
&gt; &gt; <br>
&gt; &gt; Could be interesting to see how it looks for others and different<br>
&gt; &gt; workloads.<br>
&gt; <br>
&gt; I just tried the same test I did yesterday with<br>
&gt; ab56d466452148e5fce330d279d13e2495eceb1f. Unfortunately it doesn&#39;t<br>
&gt; seem to improve things much: bitbake is stuck at &quot;NOTE: Executing<br>
&gt; Tasks&quot; for 15 minutes now.<br>
<br>
This might sound slightly crazy but can you try commenting out this<br>
line in runqueue.py:<br>
<br>
logger.debug(2, &quot;Holding off tasks %s&quot; % pprint.pformat(self.holdoff_tasks))<br>
<br>
?<br></blockquote><div><br></div><div>Even crazier is the outcome: it helped! The whole thing completed after 15m49secons (with much of the time going to the empty task spin), that&#39;s some 3 minutes slower, but certainly it&#39;s usable again.</div><div><br></div><div>I have not enabled the hash server at any point.</div><div><br></div><div>Alex<br></div></div></div>