<div dir="ltr">On Thu, Sep 12, 2013 at 9:27 PM, Richard Oudkerk <span dir="ltr"><<a href="mailto:shibturn@gmail.com" target="_blank">shibturn@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On 12/09/2013 7:59pm, Giampaolo Rodola' wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Given that multiple processes cannot take any advantage of hyper<br>
threading technology then maybe it makes sense for multiprocessing to<br>
expose a physical_cpu_count() function in order to preemptively figure<br>
out how many processes to spawn.<br>
</blockquote>
<br></div>
Do you have a reference?  Wikipedia may not be reliable, but it seems to think otherwise:<br>
<br>
Hyper-threading works by duplicating certain sections of the processor—<br>
those that store the architectural state— but not duplicating the main<br>
execution resources. This allows a hyper-threading processor to appear<br>
as the usual "physical" processor and an extra "logical" processor to<br>
the host operating system (HTT-unaware operating systems see two<br>
"physical" processors), allowing the operating system to schedule two<br>
threads or processes simultaneously and appropriately.<br>
           ^^^^^^^^^<br></blockquote><div><br></div><div><div>No, I was wrong. </div><div>Please ignore that statement.</div><div>I got confused by the name "hyper-threading" and erroneously thought it only affected threads. =)</div>

</div><div><br></div></div><div class="gmail_quote"><div><br></div><div style="font-family:arial,sans-serif;font-size:12.666666984558105px">--- Giampaolo</div><div style="font-family:arial,sans-serif;font-size:12.666666984558105px">

<a href="https://code.google.com/p/pyftpdlib/" target="_blank">https://code.google.com/p/pyftpdlib/</a></div><div style="font-family:arial,sans-serif;font-size:12.666666984558105px"><a href="https://code.google.com/p/psutil/" target="_blank">https://code.google.com/p/psutil/</a></div>

<div><a href="https://code.google.com/p/pysendfile/" target="_blank" style="font-family:arial,sans-serif;font-size:12.666666984558105px">https://code.google.com/p/pysendfile/</a> </div></div><br></div></div>