Question bank — Network-on-Chip (NoC) topologies
This deck attacks the misconceptions — the places where intuition quietly lies to you about NoC topologies. Every answer gives you the reasoning, not just a verdict. Read the question, cover the answer, say your reasoning out loud, then reveal.
Before any question makes sense, we must earn every symbol it uses. Read this glossary once; the figures below make each idea visible.
Plain-word anchors for the metrics themselves:
- Hop ::: One step from a router to a directly-linked neighbour; "distance" here is counted in hops, not millimetres.
- Diameter ::: The worst-case shortest hop-distance between any two nodes — the longest journey you can be forced to take.
- Bisection bandwidth () ::: Slice the network into two equal halves with one cut; count the links the cut severs, multiply by . It is the narrowest throat traffic between halves must squeeze through.
- Degree ::: How many links leave one node — this is what a router's port count, and therefore its area and power, must pay for.
True or false — justify
Recall
T/F — A torus always halves the latency of the same-size mesh. False ::: It roughly halves the diameter (worst hops), but its wraparound wires are physically long, so each hop can cost more cycles and more power — end-to-end latency is not simply halved. Latency and Throughput Trade-offs makes this precise: latency = (hops) × (per-hop cost) + queueing, and only the first factor shrinks.
Recall
T/F — A hypercube always beats a mesh because its diameter is . False ::: Diameter is only one axis. Hypercube degree grows as (each new dimension adds a port to every node), so routers get more ports (area, power, wiring), and the graph is non-planar — hard to lay out on flat silicon. "Better diameter" is not "better chip".
Recall
T/F — A ring has terrible bisection bandwidth no matter how many nodes it has. True ::: Cut a ring anywhere and you always sever exactly two links, so regardless of — the throat never widens as you add nodes, which is why it chokes.
Recall
T/F — Adding more links to a topology can only help performance. False ::: Every extra link is an extra router port costing area, power, and control complexity; a 16-port router is far larger than a 4-port one. Past a point, the power/area budget is better spent on cache or cores.
Recall
T/F — In a mesh, every node behaves identically. False ::: Interior nodes have degree 4, but edges have 3 and corners only 2 — this asymmetry means edge nodes have fewer paths and different congestion, so performance is not uniform.
Recall
T/F — A torus fixes the mesh's node-asymmetry problem. True ::: Wraparound links give every node degree 4, so all nodes are topologically equal — that uniformity is a real advantage for evenly-spread traffic.
Recall
T/F — A fat-tree removes the classic tree's root bottleneck. True ::: A plain tree funnels all cross-network traffic through one thin root link. A fat-tree widens links toward the root so every horizontal cut carries the same bandwidth — that is the entire point of "fat".
Recall
T/F — Bisection bandwidth and diameter measure the same thing. False ::: Diameter is a latency quantity (worst-case hop count for one packet); bisection bandwidth is a throughput quantity (aggregate data across a cut). A ring has small-ish diameter yet dreadful bisection — they can disagree sharply.
Recall
T/F — The hypercube's bisection bandwidth of links makes it wire-cheap. False ::: High bisection means lots of wires must cross the midline — that is bandwidth-rich but wire- and power-expensive, the opposite of cheap. High bisection is a cost, not a discount.
Spot the error
Recall
"An mesh has diameter ." Error ::: That is the torus formula. A mesh has no wraparound, so its diameter is ; the shortcut only exists when you can wrap around.
Recall
"A ring of 8 nodes has diameter 8 because there are 8 nodes." Error ::: You can travel either direction around the ring, so worst case is only half-way: hops. Forgetting the two-directions option double-counts the distance.
Recall
"In a hypercube, routing from node 3 to node 12 takes as many hops as the numeric difference ." Error ::: Distance is the number of differing bits (Hamming distance), not numeric subtraction. → 4 bits differ → 4 hops, not 9. Choosing which bit to flip when several differ is exactly what Routing Algorithms decide.
Recall
"A fat-tree's leaves and root should use the same link width to keep it simple." Error ::: Equal widths recreate the root bottleneck a fat-tree exists to remove. Link bandwidth must grow toward the root (doubling per level in a binary fat-tree) to keep every cut equally wide.
Recall
"Bisection bandwidth of a torus equals the mesh's, since both cut 4 columns." Error ::: The torus also cuts the wraparound links, so a bisection severs links — double the mesh, giving . Torus bisection is twice, not equal to, the mesh's.
Recall
"Because a hypercube needs nodes, a 12-node system just uses the nearest hypercube." Error ::: A hypercube of dimension has exactly nodes; 12 is not any power of two. You either pad to 16 (wasting ports) or pick a topology like mesh/torus that accepts arbitrary .
Why questions
Recall
Why do shared buses collapse past roughly 8–16 cores while NoCs keep scaling? There is no magic number — the ceiling is where the sum of all cores' bandwidth demand exceeds the one bus's fixed . With a 128-bit bus at 2 GHz (256 Gb/s) split among cores, ~8–16 cores each get only single-digit Gb/s and stall on contention; a NoC's parallel links add capacity per core instead.
Recall
Why is a hypercube's diameter logarithmic while a mesh's grows as ? Each hypercube hop flips one address bit, halving the "remaining difference", so hops suffice. A mesh only moves one grid-step per hop along a physical axis, so distance grows with the side length — for total nodes the side is , i.e. .
Recall
Why does a fat-tree double link width at each level up but a mesh keeps links uniform? In a tree, traffic concentrates as it climbs toward the shared root, so upper links must be wider to avoid a choke. A mesh has no single funnel point — traffic spreads across many parallel links, so uniform width suffices.
Recall
Why might a designer pick a low-bisection ring over a high-bisection hypercube? Rings have degree 2 (tiny routers), minimal wiring, and low power — ideal when traffic is light and the power/area budget is tight. Peak bandwidth is wasted if you never generate the traffic to use it.
Recall
Why does wire delay, not gate delay, drive the move to NoCs in modern nodes? Transistors kept shrinking and speeding up, but wires did not scale as well; a long cross-chip wire now costs many cycles to traverse. NoCs break long global wires into short router-to-router hops, keeping each signal path fast. This is a core constraint of System-on-Chip (SoC) Design, where the floorplan, not the logic, sets the timing budget.
Recall
Why is a torus harder to physically lay out than a mesh despite the same degree? Its wraparound links must jump from one chip edge all the way to the opposite edge — very long wires that raise delay, power, and routing congestion, unlike the mesh's uniformly short neighbour links.
Recall
Why can two topologies with identical diameter still have wildly different real latency? Hop count ignores per-hop cost: a hop over a long wraparound or fat-tree link takes more cycles than a short mesh hop, and congestion adds queueing delay. Diameter counts steps, not time — the very distinction Latency and Throughput Trade-offs is built around.
Recall
Why can a topology have huge bisection bandwidth yet still feel slow? is a peak throughput ceiling across a cut; a single packet still pays the full diameter in hops. Throughput and latency are separate axes, so a wide-throat network can still make one lonely packet travel far.
Edge cases
Recall
What is the diameter and bisection of a mesh (a single row)? A single row is a linear array: diameter (no second dimension to shorten it), and a mid-cut severs just one link, so — essentially a ring cut open.
Recall
What happens to a ring's diameter formula when ? : the two nodes are one hop apart — correct, since a 2-node ring is just a single bidirectional link (the two "directions" coincide).
Recall
For a mesh, does the "interior degree 4" rule apply? No — every node is a corner in a mesh, so all have degree 2. The degree-4 interior only appears once the grid is at least ; small grids are all boundary.
Recall
What is a hypercube, and does the diameter still hold? gives nodes joined by one link; diameter hop — consistent. The smallest hypercube is just two connected nodes.
Recall
In a fat-tree, what carries traffic between two leaves under the same switch — does it ever reach the root? No — such traffic turns around at the lowest common switch, so nearby communication is cheap and never burdens the fat root links. Only cross-subtree traffic climbs high; this locality is why coherence traffic favours locality-aware placement.
Recall
What is the bisection bandwidth of a single isolated node (N=1)? There is no cut to make — no two halves exist — so bisection bandwidth is undefined/zero; the metric only becomes meaningful once the network has something to split.
Recall
Does an odd-length ring change the diameter formula? No — still holds; e.g. a 7-node ring has diameter 3, because the floor correctly drops the half-hop that an odd count would otherwise imply.