[CentOS] HT (Hyper Threading) on CentOS 5.5

Peter Kjellström cap at nsc.liu.se
Fri Mar 9 05:05:08 EST 2012


On Friday 09 March 2012 08.44.53 Sorin Srbu wrote:
...
> What are some of the cases it would be practical/best to have it off?
> 
> I know there might be some negative performance issues with certain
> applications, but would you notice it in day-to-day use?

Negative performance due to HT comes in several flavours. Some compute 
intensive loads simply perform a bit better with HT off (usually measureable 
but not really noticeable, 1-10% is expected here). Another way HT can cause 
you performance degradation is due to incorrect scheduling and/or pinning. 
What happens then is that two threads are (incorrectly) put on the same core 
instead of using two cores (impact: ~half performance).

On the positive side, if you have many (preferably independent) threads you'll 
often get both better throughput and better system response/latency (more 
"processors" available for the kernel to schedule on).

/Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.centos.org/pipermail/centos/attachments/20120309/9c922f01/attachment.bin 


More information about the CentOS mailing list