<div dir="ltr"><div class="gmail_default" style="color:rgb(102,0,0)">I tested running -j without a process limit and while it was successful building 13 on my primary desktop (8g ram 4 core machine with ssd), it resulted in a load average over 40, sluggish response, and ran slightly slower than -j$(nproc). Here is my results:</div><div class="gmail_default" style="color:rgb(102,0,0)"><br></div><div class="gmail_default" style="color:rgb(102,0,0)">1m32.204s => make -j </div><div class="gmail_default" style="color:rgb(102,0,0)">1m27.274s => make -j$(nproc) </div><div class="gmail_default" style="color:rgb(102,0,0)">4m50.423s => make</div><div class="gmail_default" style="color:rgb(102,0,0)"><br></div><div class="gmail_default" style="color:rgb(102,0,0)">With a lessor powered system (1g ram, 1 cpu):</div><div class="gmail_default" style="color:rgb(102,0,0)"><br></div><div class="gmail_default" style="color:rgb(102,0,0)">During make -j the system became extremely sluggish after the first few minutes, with a load avg over 600 and over 1200 processes in running state. After about 20 minutes I gave up waiting for it to finish.</div><div class="gmail_default" style=""><font color="#660000">8m16.065s => make -j$(nproc)</font><br></div><div class="gmail_default" style=""><font color="#660000"><br></font></div><div class="gmail_default" style=""><font color="#660000">If the high number of processes with -j starts eating enough virtual memory that the page rate becomes significant, the system performance slows to a crawl making the entire system unusable.</font></div><div class="gmail_default" style=""><font color="#660000"><br></font></div><div class="gmail_default" style=""><font color="#660000">There is no problem in either make or Asterisk build process as far as I am able to see.</font></div><div class="gmail_default" style=""><br></div><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 9, 2016 at 5:16 AM, Tzafrir Cohen <span dir="ltr"><<a href="mailto:tzafrir.cohen@xorcom.com" target="_blank">tzafrir.cohen@xorcom.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span>On Wed, Jun 08, 2016 at 02:09:04PM -0500, Matt Fredrickson wrote:<br>
<br>
> I usually don't build Asterisk with multiple jobs enabled, so I'm not<br>
> sure if we support this or not.<br>
<br>
</span>IIRC it mostly work, but only as long as you don't mix 'make' and 'make<br>
install'. IIRC this is commonly used by packagers. But I may be wrong.<br>
<span><br>
--<br>
Tzafrir Cohen<br>
icq#16849755 <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com" target="_blank">jabber:tzafrir.cohen@xorcom.com</a><br>
+972-50-7952406 mailto:<a href="mailto:tzafrir.cohen@xorcom.com" target="_blank">tzafrir.cohen@xorcom.com</a><br>
<a href="http://www.xorcom.com" rel="noreferrer" target="_blank">http://www.xorcom.com</a><br>
<br>
</span><div><div>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><img alt="Digium logo" src="https://my.digium.com/images/graphics/digium_RGB_signature.gif" width="288" height="50" style="color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif; font-size: 12px;"><div>Scott Griepentrog<br>Digium, Inc · Software Developer<br>445 Jan Davis Drive NW · Huntsville, AL 35806 · US<br>direct/fax: +1 256 428 6239 · mobile: +1 256 580 6090<br>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> · <a href="http://asterisk.org" target="_blank">http://asterisk.org</a><br></div></div></div>
</div></div>