Yeh page ek self-test ladder hai. Har exercise apna level batata hai (L1 → L5). Pehle khud try karo, phir collapsible solution kholо. Har formula jo tumhe chahiye woh parent topic mein build kiya gaya tha — lekin hum use karte waqt har baar re-state kar dete hain, taaki tumhe koi symbol dhundhna na pade.
Reference numbers jo poore mein use hote hain: ek link w=64 bits per cycle carry karta hai frequency f=2GHz par, toh ek link ki bandwidth hai
Blink=64bits×2×109Hz=128×109bits/s=128Gb/s.
YEH kya hai: routers ka ek grid jisme sirf up/down/left/right links hain aur koi edge-wrapping nahi, woh Mesh (2D grid) hai.
Degree = ek router se nikalne wale links ki sankhya. Figure s01 dekho.
Centre router ke saare chaar neighbours present hain → degree =4.
Corner router sirf do neighbours ko touch karta hai → degree =2.
Answer: Mesh; centre degree 4, corner degree 2.
Recall Solution 1.2
Ek closed loop jisme har router sirf apne do loop-neighbours se link karta hai woh Ring hai. Har node mein exactly 2 links hote hain, isliye degree =2 uniformly hoti hai. Answer: Ring.
Yahan N=M=4.
D=(4−1)+(4−1)=3+3=6hops.Answer:D=6 hops. (Figure s02 dekho: bottom-left se top-right tak ka red staircase 6 links lamba hai.)
Recall Solution 2.2
Formula: Bb=min(N,M)⋅Blink. Ek 4×4 mesh mein vertical cut har row mein ek link = 4 links tod deta hai.
Bb=4×128Gb/s=512Gb/s.Answer:512Gb/s.
Recall Solution 2.3
Diameter: worst case woh node hai jo loop ke directly "across" hai. D=⌊N/2⌋=⌊8/2⌋=4 hops.
Bisection: loop ko kahin bhi kato aur tum hamesha exactly 2 links todoge (loop mein do arcs hain), isliye
Bb=2×128=256Gb/s.Answer:D=4 hops, Bb=256Gb/s — tiny bisection hi reason hai ki rings heavy traffic mein choke ho jaate hain (dekho Latency and Throughput Trade-offs).
Mesh:D=(8−1)+(8−1)=14 hops.
Torus: wraparound ka matlab hai ki har dimension mein tumhe zyada se zyada aadha chakkar lagana padega, ⌊8/2⌋=4. Toh
D=⌊8/2⌋+⌊8/2⌋=4+4=8hops.Reduction:1414−8=146=0.4286=42.9%.
Answer: Mesh 14, Torus 8 hops — ≈43% ki drop. Wraparound links shortcuts hain.
Recall Solution 3.2
⊕ hai XOR = chosen bit flip karo. Node 10=10102.
10⊕20=10⊕1=10112=11
10⊕21=10⊕2=10002=8
10⊕22=10⊕4=11102=14
10⊕23=10⊕8=00102=2Neighbours:{11,8,14,2} — exactly k=4 (degree =k).
Diameter: koi bhi do nodes at most k bit positions mein differ karte hain, aur har hop ek bit fix karta hai, isliye D=k=log2N=log216=4 hops.
Answer: neighbours {2,8,11,14}; D=4.
Diameter par winner: Torus aur Hypercube ka 4 par tie hai. Yahan dono ka degree bhi 4 hai, isliye N=16 par degree cost identical hai — deciding factors ban jaate hain physical layout (torus ko long wraparound wires chahiye; hypercube non-planar hai) aur bisection bandwidth. Layout constraint ke liye System-on-Chip (SoC) Design dekho.
Answer: Torus aur Hypercube diameter 4 par tie karte hain, dono degree 4; Ring sabse kharab 8 par.
Recall Solution 4.2
Hypercube degree =log2N. Solve karo log2N>4⇒N>16. Agla power of two hai N=32, jahan degree =log232=5.
Answer:N=32 par (degree 5>4). Yeh kyun matter karta hai: har extra port ek crossbar row/column, buffers, aur arbitration logic add karta hai, isliye router area/power roughly degree ke saath scale karta hai. N=16 se aage hypercube ka router grow karta hai jabki torus ka 4 par fixed rehta hai — yeh ek real power aur area penalty hai, chahe hypercube ka diameter abhi bhi tiny ho.
N=16, Blink=128Gb/s, binary tree isliye k=2.
(a) Root link =216×128=1024Gb/s — ek leaf link ka 8×, yahi reason hai ki ise fat tree kehte hain.
(b)Bb=16×128=2048Gb/s — kisi bhi cut par koi bottleneck nahi.
(c)D=2log216=2×4=8 hops (leaf upar root tak, root neeche leaf tak).
(d) Mesh bisection 512Gb/s tha; fat-tree 2048Gb/s hai = 4× zyada. Price paid: huge 1024Gb/s root switch bada aur power-hungry hai, aur 8-hop diameter (mesh ke 6 ki tulna mein) ka matlab hai nearby nodes ke liye higher latency. Bandwidth-critical designs (datacenter-jaisa traffic) yeh accept karte hain; latency-critical designs shayad na karein.
Recall Solution 5.2
All-to-all traffic bisection bandwidth par stress dalta hai (aadhe cores doosre aadhe ko flood karte hain). Power budget jo long wires forbid karta hai woh Torus (wraparound wires chip span karti hain) aur Hypercube (non-planar long links) aur Fat-Tree root wires ko penalise karta hai.
Bisection numbers N=16 par (Blink=128 Gb/s):
Topology
Bisection BW
Long wires?
Ring
256 Gb/s
no
Mesh
512 Gb/s
no (saare links short/local)
Torus
2×4×128=1024 Gb/s
yes (wraparound)
Hypercube
(16/2)×128=1024 Gb/s
yes (non-planar)
Fat-Tree
2048 Gb/s
yes (fat root wires)
Reasoning: highest-bisection options (Fat-Tree, Torus, Hypercube) sab "no long wires" constraint violate karte hain. Wire-friendly, planar options mein (Ring, Mesh), Mesh ring ki bisection double karta hai (512 vs 256 Gb/s) sirf short, local links ke saath.
Winner: Mesh — physically-allowed, short-wire topologies mein best bisection, aur uska regular grid 2D floorplan par cleanly map hota hai. Agar power rule relax ho jaaye, toh Torus (hypercube jaisa diameter, uniform degree 4, mesh se double bisection) aage aa jaata.