Parallel Computing with hyper-threading

5 次查看(过去 30 天)
I run some of my programs via the parallel computing toolbox using a reasonably powerful machine (20 Cores) to accomplish long running jobs (20 Min - 24 hours). It has recently been brought to my attention that since Matlab doesn't actually make use of the hyper-threaded cores, that the processing may see performance improvement by turning this off in the BIOS. I turned off the hyper-threading and then ran a speed test utilizing all 20 cores on the machine. For some reason, even though I was utilizing a higher percentage of overall processing power available on my machine, the jobs actually ran consistently slower when the hyper-threading was turned off.
Can someone help me to understand the benefits or drawbacks of turning hyper-threading on/off. Should I see performance improvement from turning this functionality off? If so, why do my results differ from my expectation?
Thanks in advance for your help, Brian
  1 个评论
Thomas Ibbotson
Thomas Ibbotson 2015-4-29
As long as you're not actually trying to use of the virtual hyper-threaded cores, I wouldn't expect turning on and off hyper-threading in BIOS to make a big difference. However, I haven't done the test myself.
What made you decide you were using a higher percentage of overall processing power? I ask this because if you have 20 physical cores, and they are hyper-threaded to 40 virtual cores, but you only use 20, then there is not much difference between this and turning hyper-threading off and still using 20 cores.
If you want more information, perhaps the discussion in this thread about hyperthreading and PCT might help.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by