DRAM & Memory Design · All levels

Address Mapping, Interleaving, and Disturb-Aware Placement: Worked Example

Worked Example for Address Mapping, Interleaving, and Disturb-Aware Placement.

Worked example

Worked Example for Address Mapping, Interleaving, and Disturb-Aware Placement focuses on Address-map efficiency measured by bank conflict rate, row-buffer hit rate, and thermal/disturb concentration (including row-hammer exposure).. The purpose is to turn memory observations into mechanism-backed actions with explicit owners and release-safe validation.

A field regression flags Address-map efficiency measured by bank conflict rate, row-buffer hit rate, and thermal/disturb concentration (including row-hammer exposure).. Proper triage locks environment tags, compares baseline vs failing traces, isolates first repeated loss transition, and validates one bounded mitigation before release.

This pattern prevents reactive tuning. The goal is to preserve both performance and reliability while avoiding hidden regressions that appear only at corner conditions.

System view

diagram
CONTROLLER QUEUE VIEW - Address Mapping, Interleaving, and Disturb-Aware Placement

read queue : [R12 bank0 row88] [R13 bank2 row88] [R14 bank0 row12]
write queue: [W44 bank3 row90] [W45 bank3 row90]

scheduler tick:
1) prioritize ready row hits
2) cap write-drain burst
3) age outstanding reads

issue stream:
cycle 40 -> RD bank0 row88 (hit)
cycle 41 -> RD bank2 row88 (parallel bank group)
cycle 42 -> ACT bank0 row12 (miss prepare)

Subarray and row-buffer topology (Address Mapping And Interleaving)

diagram
BANK INTERNAL ORGANIZATION

      Row decoder
          |
  +-------+----------------------------------------------------+
  |                    BANK k                                  |
  |  +-----------+  +-----------+  +-----------+              |
  |  | Subarray0 |  | Subarray1 |  | Subarray2 |   ...        |
  |  | WL x BL   |  | WL x BL   |  | WL x BL   |              |
  |  +-----+-----+  +-----+-----+  +-----+-----+              |
  |        |              |              |                    |
  |   [sense amps / local row buffer slices]                  |
  |                \      |      /                            |
  |                 +-- global row buffer --+                 |
  +-----------------------------------------------------------+

Longer WL/BL improves row size but raises RC delay, ACT energy, and sensing time.
  1. Capture baseline and failing command traces under fixed metadata.

  2. Verify row-hit/miss mix, turnaround cadence, and refresh impact.

  3. Collect Address-map validation package: workload conflict matrix, locality retention report, and disturb-risk hotspot map..

  4. Patch one bounded fix with explicit owner signoff.

  5. Re-run closure matrix and choose ship/rollback.

DRAM deep dive

Cell-array and subarray organization determines bitline delay, sensing margin, and locality-sensitive energy cost.

Concept diagram

diagram
ARRAY ORGANIZATION VIEW

rows x columns -> mats/subarrays -> local sense amps -> global I/O
physical distance shapes timing and energy

Metric graph

diagram
ARRAY ACCESS COST SHARE

bitline settle delay   ██████
sense/restore time     █████
global routing overhead ███

Reports and artifacts

  • subarray toggle heatmap

  • sense-amplifier utilization report

  • bitline RC delay audit

  • wordline coupling checklist

Mini case study

A dense address remap increased long-bitline activations, creating extra tRCD guardband and persistent tail-latency drift.

Debug branches

  • Map hot addresses to mats and subarray boundaries

  • Inspect sense-margin behavior under temperature corners

  • Evaluate row-mapping changes before voltage retuning

Senior review question

Ask: which latency, bandwidth, and reliability evidence proves this DRAM topic is closed under real traffic?

Key takeaways

  • Always tie controller and PHY counter shifts to application latency and throughput outcomes.

  • Lock firmware timing profile, thermal condition, and DIMM state before comparing DRAM captures.

Common pitfalls

  • Chasing peak bandwidth while ignoring p99 latency and fairness tails.

  • Changing timing guardbands without separating SI noise from scheduling issues.

  • Declaring closure without reliability gates, fault injection, and regression replay.

Worked-example reasoning

Suppose Address-map efficiency measured by bank conflict rate, row-buffer hit rate, and thermal/disturb concentration (including row-hammer exposure). regresses on a production workload. A shallow response only tweaks timing or queue weights. A deeper response compares baseline and failing traces, then identifies the first repeated loss mechanism in Physical-to-logical address mapping decides which bits select channel, rank, bank-group, bank, row, and column, thereby shaping both locality and parallelism seen by real workloads. Fine-grain interleaving can smooth bandwidth demand and improve queue-level fairness, but if mapping ignores access stride patterns it may destroy row-buffer locality and inflate ACTIVATE traffic. Coarser mapping can preserve locality yet create hotspots that worsen thermal gradients, retention stress, and disturbance susceptibility in repeatedly activated neighborhoods. Robust mapping therefore balances throughput, latency, and reliability by co-optimizing controller hash/interleave functions with DRAM physical organization, refresh policy, and row-hammer mitigation strategy..

If command waste dominates, inspect row policy and turnaround cadence. If blocked cycles dominate, inspect refresh scheduling and QoS windows. If margin loss dominates, inspect lane shmoo and thermal drift.

Only then choose a bounded fix: mapping update, scheduler policy change, refresh strategy adjustment, firmware retrain rule, PHY calibration, or package/SI correction.