How does memory affinity impact partition performance?
Memory affinityβhow closely a CPU (or partition) is tied to the memory it accessesβhas a major impact on performance, especially on NUMA systems like IBM POWER10 servers.
At a high level:
The closer your memory is to your CPU, the faster your partition runs.
In virtualized environments (e.g., using PowerVM):
π Poor affinity leads to:
When memory is remote:
π Result:
π Effects:
On POWER10 (with SMT up to 8 threads per core):
π Result:
With features like:
Affinity can degrade if:
π Requires rebalancing to avoid performance loss
| Factor | Good Affinity | Poor Affinity |
|---|---|---|
| Memory latency | Low | High |
| Cache efficiency | High | Reduced |
| Interconnect usage | Minimal | Heavy |
| SMT benefit | Strong | Weak |
| Overall performance | Optimal | Degraded |
In POWER systems:
Memory affinity is often more important than raw CPU allocation in modern systems.
A partition with fewer CPUs but good locality can outperform one with more CPUs but poor memory affinity.