<html><head></head><body><p dir="ltr">Hyperthreading is enabled or disabled at the BIOS level. The OS just sees more processors.</p>
<p dir="ltr">Multithreading happens within the OS and allows apps to be "spread out" between processors. It's multithreading you need the libraries for.</p>
<p dir="ltr"><!-- tmjah_g_1299s -->Sent from <a href="http://www.typeapp.com/r">TypeApp<!-- tmjah_g_1299e --></a><br><br></p>
<div class="gmail_quote" >On Sep 7, 2016, at 7:57 PM, Bob Elzer <<a href="mailto:bob.elzer@gmail.com" target="_blank">bob.elzer@gmail.com</a>> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<p dir="ltr">Here's where I may put my foot in my mouth. </p>
<p dir="ltr">If I'm not mistaken programs have to be compiled with a hyperthreading library in order to take advantage of this. </p>
<p dir="ltr">Or am I wrong? <br>
</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Sep 7, 2016 1:27 PM, "Kevin Fries" <<a href="mailto:kevin@fries-biro.com">kevin@fries-biro.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I once worked for a company doing ground water modeling for mining operations. The program did a large series of fourier transformation to model the water levels over time... No Hyperthreading!!!</p>
<p dir="ltr">Most web servers, mail servers, database servers (depending on your number of indexes), are perfectly fine with hyperthreading turned on.</p>
<p dir="ltr">Kevin</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Sep 7, 2016 2:21 PM, "Carruth, Rusty" <<a href="mailto:Rusty.Carruth@smartm.com" target="_blank">Rusty.Carruth@smartm.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Kevin,
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Do you have a reference to the ‘heavy use by one process on a cpu core can affect any other process’? (BTW, Affect, not Effect in this case. This is only
going to you, regardless of what it looks like, so this is just between me an you unless you reply all, in which case it goes global, as it were)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">In any case, what little experimenting I did a while back indicated that, when Intel hyperthreads, what happens is effectively half of the cpu runs one thread,
and the other half runs the other thread.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">So, for windows, where it does a TERRIBLE job (or it used to) of pre-emptive multitasking, having ‘more’ CPUs is better so that the OS can lock one down because
it doesn’t know how to share it - thus hiding the bug.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">In linux, IMHO you should turn multithreading off.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">(IIRC, I ran a system with HT on, and looked at BogoMIPS, then ran with HT off, and the BogoMIPS doubled. I could be remembering wrong, and it was in the early
days of HT, so perhaps they’ve “fixed” it)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Rusty<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:plug-discuss-bounces@lists.phxlinux.org" target="_blank">plug-discuss-bounces@lists.phx<wbr>linux.org</a> [mailto:<a href="mailto:plug-discuss-bounces@lists.phxlinux.org" target="_blank">plug-discuss-bounces@l<wbr>ists.phxlinux.org</a>]
<b>On Behalf Of </b>Kevin Fries<br>
<b>Sent:</b> Wednesday, September 07, 2016 12:51 PM<br>
<b>To:</b> Main PLUG discussion list<br>
<b>Subject:</b> Re: 4 cores and 8 threads<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p>The big thing to keep in mind is this....<u></u><u></u></p>
<p>All threading either at the processor or in code will share a resource. Heavy use by one process on a CPU core can effect any other process running on that core. Heavy use on one CPU core will not effect the other cores. (sorta, as data bus issues can
still occur).<u></u><u></u></p>
<p>Most processes use very little actual CPU. So, between the OS and the multicores, modern computers can push allot of work through themselves.<u></u><u></u></p>
<p>That said, there are some processes that are highly comparative. Multicores can actually slow down execution in these cases because any type of multiuse of a resource will encounter administrative overhead. But these processes are the exception, not the
rule. If you have such needs, turn Hyperthreading off. Generally leave it on, and the the hardware do its job.<u></u><u></u></p>
<p>Kevin<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Sep 7, 2016 1:36 PM, "Jerry Snitselaar" <<a href="mailto:dev@snitselaar.org" target="_blank">dev@snitselaar.org</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal">On Tue Sep 06 16, Keith Smith wrote:<u></u><u></u></p>
<p class="MsoNormal"><br>
<br>
Hi,<br>
<br>
If an Intel CPU has 4 cores and 8 threads will it look like 8 cores to VirtualBox when assigning resources to a guest?<br>
<br>
If so is there a way to determine which is a tread and which is actually a core?<br>
<br>
Thanks!!<br>
Keith<br>
------------------------------<wbr>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">
PLUG-discuss@lists.phxlinux.or<wbr>g</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mail<wbr>man/listinfo/plug-discuss</a><u></u><u></u></p>
<p class="MsoNormal"><br>
In addition to the answers already given, you can read<br>
about it in Volume 1 of the Intel Software Developer's Manual,<br>
section 2.2.8.<br>
<br>
<a href="http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html" target="_blank">http://www.intel.com/content/w<wbr>ww/us/en/processors/architectu<wbr>res-software-developer-<wbr>manuals.html</a><br>
<br>
As to your question, if you have a hyperthreaded CPU it will look like<br>
multiple cores and there is no difference between them as far as<br>
you're concerned.<br>
------------------------------<wbr>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">
PLUG-discuss@lists.phxlinux.or<wbr>g</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mail<wbr>man/listinfo/plug-discuss</a><u></u><u></u></p>
</div>
</div>
</div>
</div>
</blockquote></div></div>
<br>------------------------------<wbr>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.<wbr>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/<wbr>mailman/listinfo/plug-discuss</a><br></blockquote></div></div>
<pre class="blue"><hr><br>PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org<br>To subscribe, unsubscribe, or to change your mail settings:<br><a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></pre></blockquote></div></body></html>