<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 17, 2016 at 1:25 PM, Alin Popa <span dir="ltr"><<a href="mailto:alin.popa@gmail.com" target="_blank">alin.popa@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>I was recently trying to use `erlang:system_info(logical_processors_available).` on my mac, and getting `unknown` atom back; anyone has any idea if this is really by design?</div></blockquote></div><br></div><div class="gmail_extra">A bit of guesswork here, and someone will correct my mistakes I'm sure:<br><br></div><div class="gmail_extra">You can't take your core off-line in OSX and replace it while the system is running to the best of my knowledge. So you may not be able to query this information from the kernel at all. Illumos/Solaris has support for this for instance, and I guess this is why there is an entry for it.<br><br></div><div class="gmail_extra">If your Solaris server has a failing CPU package, you can take it offline from the OS, replace it, and start the new CPU package, without stopping the system. When this happens, you might have fewer logical processors available in the system for some reason.<br></div><div class="gmail_extra"><br clear="all"></div><div class="gmail_extra">Many of the settings regarding CPUs are not that supported on OSX. Another such call is the +sbt option, which you can't use on OSX since there is no way to bind threads to CPU cores.<br><br><br></div><div class="gmail_extra">-- <br><div class="gmail_signature">J.</div>
</div></div>