Lecture 03 · NUMA & Chiplets

Keywords → one line each. Page numbers refer to ../lectures/Lecture_03_Chiplets.pdf. Slides 17–18 are die photos.

Numbers to memorise

WhatValuep.
latency: same core / same socket / other socket<5 ns / ~80 ns / ~160 ns (1:2)14
bandwidth: local / remote60–90 / 20–30 GB/s (2:1–3:1)15
numactl distances10 local, 21 remote16
max die area~800–850 mm²19
Infinity Fabric link~100+ GB/s20
cross-chiplet L3 / line transfer~2× / >2× on-die21–22
V-Cache L3 per chiplet32 → 96 MB (64 → 128 MB in newer parts)25

Keywords

KeywordOne linep.
Moore’s lawTransistor count doubles about every 2 years; still going4–5
Dennard scalingConstant power density as transistors shrink; ended ~2005 → multicore3–4
vertical / implicitILP, data parallelism, SMT inside a core; the hardware does it6–7
horizontal / explicitMulticore, multi-socket, distributed; the software must use it7–9
NUMAPer-socket DRAM; remote is slower10
directory coherenceCentralised or distributed; costs resources and latency; used across NUMA regions and for CXL; PCIe is not coherent12
communication pathSame core → L1/L2, same CPU → L3, other CPU → DRAM; coordination cost grows superlinearly13
first touchPage placed on the toucher's node; processes scheduled anywhere by default16
numactl-H shows topology; --cpunodebind --membind pins16
chiplet / die / tileModular block with a defined interface; AMD Zen 2017, Intel, Apple Ultra, Arm19
yieldFalls exponentially with die size; with chiplets you discard one small die19
MCMSeveral dies in one socket, seen by the OS as one CPU20
2D / 2.5D / 3DSubstrate + SerDes (Infinity Fabric) / bridge (EMIB) / stacking (Foveros, V-Cache)20
UCIeOpen D2D standard, “PCIe for chiplets”, enables multi-vendor packages20, 24
“shared” LLCSum of per-CCD L3s; near + far21
home nodeWhere a line's directory entry lives; latency = hop count22
sub-NUMANUMA within a socket; AMD L3-as-NUMA-node, Intel SNC; scales: cluster → chiplet → socket23
heterogeneityMixed nodes and vendors; big + small cores; CXL accelerator chiplets24
3D V-CacheStacked SRAM; capacity, not speed; asymmetric parts25
software responselscpu/hwloc; thread + data on one CCD; shard per chiplet; hierarchical locks; perf c2c26

Exam-style questions from the deck p.28

  1. T/F: chiplets have changed how the internals of a CPU core work.
  2. Two reasons why 3D stacking is not typically used for stacking compute dies.
  3. Two possible sources of NUMA effects on modern servers.
  4. Hash table of about ½ the LLC: chiplet-partitionable? Why or why not?