Share via

Questions on Windows Processor Group support

Anonymous
2017-08-08T20:16:40+00:00

I am trying to understand the the concept of Processor Groups and the supported APIs.

From what I read, in order to get the logical processors information, one needs to use GetLogicalProcessorInformationEx API in order to get a global

view of all logical processors in a system.

From the MS white paper on supporting > 64 processors, the relationship of different "sets" are:

Group >= Numa Node >= Processor(socket) >= Core >= Logical Processor

meaning in a processor group (at most 64 logical processors), there are at least one numa node, which has at least one processor package (socket), which has at least one core, which has at least one logical processor.

By looking at the GetLogicalProcessorInformationEx api,

if the processor relationship is RelationProcessorPackage

it will return a PROCESSOR_RELATIONSHIP structure which, according to MSDN,

"Represents information about affinity within a processor group".  So that means each of this structure is bounded to a processor group.

typedef struct _PROCESSOR_RELATIONSHIP {
  BYTE           Flags;
  BYTE           EfficiencyClass;
  BYTE           Reserved[21];
  WORD           GroupCount;
  GROUP_AFFINITY GroupMask[ANYSIZE_ARRAY];
} PROCESSOR_RELATIONSHIP, *PPROCESSOR_RELATIONSHIP;

However, in the remark section, it said:

If the PROCESSOR_RELATIONSHIP structure represents a processor package, the GroupCount member is 1 only if all processors are in the same processor group. If the package contains more than one NUMA node, the system might assign different NUMA nodes to different processor groups. In this case, the GroupCount member is the number of groups to which NUMA nodes in the package are assigned.

Does that mean if GroupCount is not 1, the GroupMask can points to multiple process groups?  But the original definition from the white paper is

a processor group contains one or more processor packages.  How can a single package contains logical processors that span multiple processor groups?

Jackson

***Post moved by the moderator to the appropriate forum category.***

Windows for home | Previous Windows versions | Windows update

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.

0 comments No comments

Answer accepted by question author

Anonymous
2017-08-09T10:56:20+00:00

Hi Jackson,

It seems that your concern is a bit more complex that what is normally posted here in the Community. For better assistance, kindly post your query in our MSDN forums where we have experts who are more knowledgeable with these kinds of concerns.

Regards.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2017-08-09T14:11:32+00:00

    Thanks you Patricia.  Will do.

    Jackson

    Was this answer helpful?

    0 comments No comments