A two-socket GPU node has two PCIe trees, two memory pools and one inter-socket link that every wrong-sided transfer must cross. A dataloader on the far socket shares that link with seven other GPUs' traffic, and its copies run at half speed. The topology map, the arithmetic and the pinning.
Explain NUMA and CPU affinity on a GPU node. Why can the wrong socket halve host-to-device bandwidth?
A two-socket GPU node has two PCIe trees, two memory pools and one inter-socket link that every wrong-sided transfer must cross. A dataloader on the far socket shares that link with seven other GPUs' traffic, and its copies run at half speed. The topology map, the arithmetic and the pinning.
Updated Sep 2026 · Grounded in real AI infrastructure interview loops and written to a senior-engineer editorial bar, with every number worked and every diagram hand-built.
The concepts behind this question
Ranked by how closely each one overlaps this question's topic, so the first card is the thing to read if the answer above moved too fast.
Scored on a correct picture of the two PCIe trees and the inter-socket link, the bandwidth arithmetic that explains the halving, and the specific commands (nvidia-smi topo, numactl, dataloader placement) that fix it.
No comments yet — be the first to share your approach.
