4.1.14 · D3Memory Technologies

Worked examples — Memory bandwidth and latency metrics

2,023 words9 min readBack to topic

This is the parent topic's worked-example companion. The parent gave you two formulas: Here we drill every case those formulas can produce — including the weird, zero, and trick cases that break naive intuition. Nothing new is assumed; every symbol below is re-earned as it appears.


The scenario matrix

Every problem this topic throws at you lands in exactly one of these cells. Each row below is covered by at least one worked example.

# Case class What's special Covered by
C1 Standard bandwidth ordinary all positive Ex 1
C2 Latency in ns convert CL cycles → time Ex 2
C3 Equal-latency trap two kits, same ns, different MT/s Ex 3
C4 Degenerate: (single channel) channels don't help Ex 4
C5 Zero / limiting: what happens as clock stalls Ex 5
C6 Little's Law bridge how many bytes in flight to hit peak Ex 6
C7 Real-world word problem "will this workload saturate the bus?" Ex 7
C8 Exam twist: given BW, solve backwards invert the formula for an unknown Ex 8
C9 Unit trap: clock vs data rate plugging where is needed Ex 9

Worked examples

Ex 1 — C1: Standard bandwidth

Ex 2 — C2: Latency in nanoseconds

Ex 3 — C3: The equal-latency trap

Ex 4 — C4: Degenerate case, single channel

Ex 5 — C5: Limiting behaviour, clock stalls

Ex 6 — C6: Little's Law bridge

Ex 7 — C7: Real-world word problem

Ex 8 — C8: Exam twist — solve backwards

Ex 9 — C9: The unit trap (deliberate wrong path)


Recall Which cell was hardest for you?

Ex 3 (equal-latency trap) ::: Bigger CL and bigger MT/s can cancel to the same ns — always convert to time. Ex 5 (limiting) ::: As , BW→0 but latency→∞ — opposite behaviours prove orthogonality. Ex 6 (Little's Law) ::: Peak BW needs concurrency = BW × latency bytes in flight.

Connections

  • Memory bandwidth and latency metrics — the parent topic these examples exercise.
  • Memory channels and interleaving — the factor of Ex 1, 4.
  • DDR SDRAM generations — where the ×2 and MT/s labels of Ex 9 come from.
  • Littles Law — the bridge worked in Ex 6.
  • DRAM organization row buffer — the physical source of the CL latency in Ex 2.
  • Cache hierarchy — why keeping many requests in flight (Ex 6) matters.
  • CPU memory wall — Ex 2/3 show latency frozen while bandwidth climbs.