Processor groups for AMD EPYC 9004

Anonymous
2024-05-13T10:57:25+00:00

Hello,

I have a server with following specs:

  • OS: Windows Server 2022 (Build 20348.2402)
  • CPU: AMD EPYC 9554P (64 physical cores, 128 logical cores)

With NUMA nodes per socket set to 4 (NPS4) in the BIOS, Windows is configuring processor groups in an odd way. In task manager "Processor affinity" (right-click on a process and select "Set affinity") two groups are shown with the following nodes:

Group 0:

CPU 0 to CPU 15 (Node 0), CPU 0 to CPU 15 (Node 2), CPU 0 to CPU 15 (Node 0), CPU 0 to CPU 15 (Node 2)

Group 1:

CPU 0 to CPU 15 (Node 1), CPU 0 to CPU 15 (Node 3), CPU 0 to CPU 15 (Node 1), CPU 0 to CPU 15 (Node 3)

The fact that the first 15 CPUs of each node are repeated seems an "esthetic" error. Actually the "repeated" CPUs are CPU 16 to CPU 31 of each node. But the important thing is that nodes are interleaved. So if I set the affinity of a process to the first 32 threads, it would be running on two different NUMA nodes which does not seem ideal. I have the same behaviour using SetProcessAffinityMask function.

I tested with other server with a CPU AMD EPYC 7713P (64 physical cores, 128 logical cores) and NUMA nodes per socket set to 4 (NPS4), Windows Processor Group configuration is as following:

Group 0:

CPU 0 to CPU 31 (Node 0), CPU 0 to CPU 31 (Node 2)

Group 1:

CPU 0 to CPU 31 (Node 1), CPU 0 to CPU 31 (Node 3)

In this case, processor group configuration seems optimal.

Could this be a compatibility issue of Windows with AMD EPYC 9004?

Best Regards,

Antonio

Windows for business | Windows Server | Performance | System performance

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-05-13T13:17:48+00:00

    Hello

    Thank you for posting in Microsoft Community forum.

    The behavior you're observing, where CPUs from different NUMA nodes are interleaved across processor groups, does seem suboptimal for NUMA-aware workloads.

    There may indeed be compatibility issues between Windows Server and AMD EPYC 9004 series processors, but you can also check for some other factors that affect this behavior.

    Such as BIOS setup, firmware upgrade, Windows update, or AMD support for further assistance.

    Best Regards,

    Wesley Li

    0 comments No comments