Agner`s CPU blog

Software optimization resources | E-mail subscription to this blog | www.agner.org

How good is hyperthreading?
Author: Alain Amiouni Date: 2010-04-30 12:17
A straightforward example of hyperthreading side effects is well known of chess engines users.
Rybka 3, for instance, incurs a 20% penalty when hyperthreading is enabled (on my i7 950, affinities not set).
So one must set affinities from the task manager, mapping each engine instance to an even-numbered logical processor. Unfortunately it does not work under all chess GUIs and you often trigger (with Vista and 7) an access violation when trying to do so. Curiously chess engine programmers seem not to worry much about this issue.
As expected, chess engines run faster when HT is on and affinities are set, than when HT is off. Probably because it lets free logical processors for the OS.
 
thread How good is hyperthreading? new - Agner Fog - 2009-09-29
replythread How good is hyperthreading? new - StuffMaster - 2009-10-30
last replythread How good is hyperthreading? new - Agner Fog - 2009-10-30
last replythread How good is hyperthreading? new - Andrew Rodland - 2009-10-31
last replythread How good is hyperthreading? new - Agner Fog - 2009-10-31
last replythread How good is hyperthreading? new - Gabe Parmer - 2009-11-03
last reply How good is hyperthreading? new - Agner Fog - 2009-11-03
replythread How good is hyperthreading? new - Fred Bosick - 2009-12-14
last reply How good is hyperthreading? new - Agner Fog - 2009-12-15
reply AMD Bulldozer new - Agner Fog - 2009-12-15
last reply How good is hyperthreading? - Alain Amiouni - 2010-04-30