0

Suppose I have a machine, which has 2 x Intel Xeon x5550 quad-core processors (total 8 core). Hyper-threading is enabled.

I want to run an application on 4 cores (4 threads) with 2 physical cores and 2 threads per core (hyper-threading) instead of using the actual 4 physical cores.

Is this possible to do this?

halfer
  • 19,824
  • 17
  • 99
  • 186
codereviewanskquestions
  • 13,460
  • 29
  • 98
  • 167

1 Answers1

1

Just make sure your application has enough threads so it can utilize enough cores. After that it is the problem of the operating system to allocate cores to your application

Markus Mikkolainen
  • 3,397
  • 18
  • 21
  • you should have atleast 16 threads to utilize that amount of cores fully, depending on the load and type , more might be better. Assuming ofcourse that your software scales – Markus Mikkolainen Jul 31 '12 at 18:21