Feature Request: CPU affinity for physical cores RRS feed

  • Question

  • If a server has hyperthreading enabled, for some tasks it would be useful to be able to reserve "1 physical core" which would associate the process with both the physical core and it's hyperthreaded/ virtual counterpart.
    Wednesday, February 28, 2018 11:43 PM

All replies

  • Hi,

      Currently in HPC Pack, you can under subscribed cores for your compute nodes, for example, you have a node with 8 physical cores, 16 cores with hyber-threading, you might scribed the node to 8 cores so that you job will be assigned with 8 cores instead of 16 cores.

    Qiufang Shi

    Thursday, March 1, 2018 5:38 AM
  • I would like to be able to assign a job "one physical core" which would then assign both the physical core and its hyper-threaded virtual core to that job so that no other jobs could be assigned to the associated virtual core which would then contend with my job for resources and thrash the cache.

    IIUC the benefit of using CPU affinity is to ensure cache coherency but it would seem this benefit would be lost if two jobs could be assigned to the same physical CPU.

    Monday, March 19, 2018 5:07 AM