Patent ID: 7577813

Claim:
A method for enumerating processor-memory affinities for an information-handling system comprising at least two microprocessors and at least two memory units, comprising: calculating a processor-memory affinity hierarchy for each possible pairing of a microprocessor and a memory unit in the information-handling system using at least two characteristics relating to memory-access speed that describe how the microprocessors and memory units are arranged in the information-handling system, performing an algorithm on each processor-memory affinity hierarchy to obtain a processor-memory affinity values for the information-handling system, wherein the processor-memory affinity value is a weighted sum of characteristics in the corresponding processor-memory affinity hierarchy, wherein the algorithm allocates greater weight to characteristics having a greater effect on memory-access speeds than to characteristics having a lesser effect on memory-access speeds, and populating a table using the processor-memory affinity values obtained by performing the algorithm, wherein an operating system in the information-handling system can use the table to allocate memory units among microprocessors in the information-handling system.