6.3.11 · D1 · HinglishInterconnects, Buses & SoC

FoundationsInfinity Fabric - mesh interconnects

4,004 words18 min read↑ Read in English

6.3.11 · D1 · Hardware › Interconnects, Buses & SoC › Infinity Fabric - mesh interconnects

Is page pe assume kiya gaya hai ki aap kuch nahi jaante. Har letter, symbol, aur buzzword jo parent note mein aata hai, woh yahan order mein build kiya gaya hai, har ek ke saath ek picture. Upar se neeche padhte jaiye.


1. The players: kaun kaun se boxes hain?

Road draw karne se pehle, humein jaanna hai ki un roads pe kaun chal raha hai.

Prerequisites ka building block: agar "core", "cache", aur "memory controller" words fuzzy lagte hain, toh 6.3.1-Bus-ArchitectureBasics mein wiring background ek achha companion hai — yeh page seedha usi pe build karta hai. (Hum har wiring word define karte hain jo hum use karte hain, jisme bus bhi shamil hai, section 2 mein neeche, toh aap yahan padhna jaari rakh sakte hain.)

Figure — Infinity Fabric  -  mesh interconnects

Figure dekho: teen squares (ek core, ek cache slice, ek memory controller) har ek ke paas ek chhota stub — woh stub plug-in point hai jahan baad mein ek road attach hogi. (Hum is plug-in point ko uska proper naam, port, section 3 mein denge.) In characters ko yaad rakho; neeche har topology sirf inhi squares ko rearrange karti hai.


2. Teen road shapes: bus, ring, mesh

Ab hum squares ko connect karte hain. Teen shapes hain jinhe parent note compare karta rehta hai.

Figure — Infinity Fabric  -  mesh interconnects

3. Hop, router, aur port

"Fast" aur "slow" ke baare mein baat karne ke liye humein count karna hoga.

Figure — Infinity Fabric  -  mesh interconnects

Figure ek single 5-port router dikhata hai. Chaar grey arrows neighbour routers ke compass directions hain; neeche jaata magenta arrow is router ke apne core ka local port hai. Parent note ka har mesh bas inhi tiles ko edge-to-edge wire karne se banta hai.


4. Coordinates aur Manhattan distance

Parent note aur jaise positions likhta hai aur hops compute karta hai. Yahan woh sab kya matlab rakhte hain.

Yeh formula kyun, aur straight-line distance kyun nahi? Grid pe aap buildings ke aarpaar diagonally nahi cut kar sakte — aapko streets ke along chalha padta hai, East/West phir North/South. Toh honest hop count horizontal aur vertical legs ko jodta hai. Isliye iska naam Manhattan ke block layout ke naam pe rakha gaya hai.


5. Symbol aur square root


6. Averages, symbol, aur kahan se aata hai

Parent note likhta hai. Ghabrao mat — yeh ek average hai.

(column part) derive karna, step by step. Hum sirf coordinate dekhte hain. Dono aur columns se uniformly pick kiye jaate hain, toh har ek ke liye choices hain — kul ordered pairs, har ek equally likely. Average hai sabhi gaps ka total divided by :

Ab hum actually sum compute karte hain, sirf quote nahi karte. Pairs ko unke gap ke hisaab se group karo:

  • gap : pairs jaise — inke hain, contributing .
  • gap : pairs adjacent positions mein se har ek ke liye 2 orderings hain, toh pairs, har ek contributing .
  • gap generally: starting positions hain aur orderings, toh pairs, har ek contributing .

Inhe jodte hain:

Dono schoolbook sums use karo aur :

se divide karo:

Bade ke liye negligible hai, tidy deta hai jo parent quote karta hai. Useful seedha step se nikla.

Row part identical hai (bas ki jagah swap karo), aur ek aur milta hai. Kyunki Manhattan distance dono legs jodta hai:

Recall Ring ka

kahan se aata hai? (Full derivation) nodes ki ring pe, ek fixed source se target ek direction mein nodes door baitha hai, lekin aap hamesha shorter arc lete ho, toh true distance hai. Sabhi equally-likely targets pe average karo: Sum ko halfway point pe split karo ( even lo). ke liye shorter arc hi hai; ke liye yeh neeche mirror karta hai. se tak har value essentially do baar appear hoti hai, toh (Middle sum with kaam karta hai; leftover single un-mirrored halfway node hai.) se divide karo: Toh genuinely sum divided by hai — distances evenly se tak spread hoti hain, aur us spread ka midpoint hai.


7. Bandwidth, cycles, aur clock

Parent ke worked examples bytes ko frequency se multiply karte hain. Yahan har piece hai.

Is arithmetic ke memory-side ke liye, 5.1.7-Memory-BandwidthCalculation dekho.


8. Coherence: copies kyun agree karni chahiye


9. Chiplets aur NUMA — "kahan" kyun matter karta hai


10. Real chips perfect grids nahi hote


11. Sab kuch topic ko kaise feed karta hai

cores caches controllers

nodes and tiles

topology bus ring mesh

hops routers ports

coordinates and Manhattan distance

N and sqrt N sizing k

averages E of hops k over 3

clock width bandwidth

bisection bandwidth sqrt N

cache coherence directory home

chiplets and NUMA xGMI

rectangular and irregular meshes

Infinity Fabric and mesh interconnects

Ise padhein: raw players tiles bante hain, tiles ek topology mein arrange hote hain, hum us topology ko hops aur coordinates se measure karte hain, ise aur (ya ) se size karte hain, se average karte hain, bandwidth se uski speed price karte hain, coherence se iske copies honest rakhte hain, aur finally accept karte hain ki real dies irregular grids use karte hain — yeh sab milke parent topic mein combine hote hain.


Equipment checklist

Right side cover karo; kya aap parent note par jaane se pehle har ek answer de sakte ho?

Node ek sentence mein kya hai?
Chip pe koi bhi box (core, cache slice, memory/I-O controller) jo messages send ya receive karta hai.
Bus jam kyun hoti hai lekin mesh nahi?
Bus ek shared wire hai toh ek time pe sirf ek node baat kar sakta hai; mesh kai parallel roads aur shortcuts deta hai.
Hop kya hai?
Node se uske immediate neighbour tak message ka ek step.
Kya "router" aur "switch" yahan different cheezein mean karte hain?
Nahi — is topic mein woh same component hain, tile pe 5-port traffic cop.
Intel mesh router ke kitne ports hote hain, aur woh kya hain?
5 — North, South, East, West, aur apne core/cache ka ek local port.
se tak Manhattan distance likho.
.
nodes ke square mesh mein side length kya hai?
nodes per edge.
Agar perfect square nahi hai toh?
Rectangular mesh use karo with ; avg hops .
ka matlab kya hai?
Sabhi random cases mein average (typical) value.
Average column gap kyun hai?
Pairs ko gap se group karne par milta hai; se divide karne par milta hai.
Ring ka kahan se aata hai?
; se divide karne par milta hai.
Kaun sa assumption aur valid banata hai, aur kya use todta hai?
Uniform random traffic (no favourites); hot-spot / non-uniform traffic ise tod deta hai.
Bandwidth formula do.
Bandwidth = bus width (bytes) × clock frequency (cycles per second); bidirectional ke liye double karo.
32 B fabric at 1.8 GHz ki one-direction bandwidth calculate karo.
GB/s.
mesh vs ring ki bisection width kya hai?
Mesh links, ring links.
Directory vs broadcast coherence — kaun sa better scale karta hai aur kyun?
Directory, kyunki yeh sirf thode sharers ko message karta hai () instead of har core ko ().
xGMI ka kya matlab hai, aur IFIS?
xGMI = inter-Chip Global Memory Interconnect (die-to-die); IFIS = Infinity Fabric Inter-Socket (package-to-package).
Real meshes irregular kyun ho jaate hain?
Die ek rectangle hai jisme I/O aur memory controllers edges pe fixed hote hain, toh grid mein missing tiles aur extra links aa jaate hain die shape match karne ke liye.

Ready ho? parent topic pe wapas jaao — wahan ka har symbol ab tumhara hai.