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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top