Computer Architecture · All levels

Dataflow Architecture Choices — Theory Deep Dive

Theory Deep Dive for Dataflow Architecture Choices (Accelerator Architectures).

Foundational theory

Dataflow Architecture Choices sits inside Accelerator Architectures and changes how workload pressure becomes stalls, bandwidth, latency, and power. Dataflow dictates buffer lifetime, interconnect pressure, synchronization points, and effective compute occupancy.

Core concepts explained

  • Design compute-data movement choreography (weight-stationary, output-stationary, streaming, tiled) for stable efficiency across workload diversity.

  • Primary evidence: architecture KPI dashboard

  • Downstream: Memory subsystem sizing and runtime policy complexity.

  • Risk: product performance or power regression

  • Model reuse distance and transfer granularity for each candidate dataflow.

  • Quantify synchronization and drain/refill penalties between phases.

  • Design fallback modes for non-ideal shape, sparsity, and batching regimes.

Why this matters in real chips

In production programs, Dataflow Architecture Choices appears when workloads miss IPC, latency, or power targets. Mechanism-first reasoning prevents expensive architecture churn.

Mental model

diagram
THEORY STACK — Dataflow Architecture Choices
Workload -> mechanism -> metric (architecture KPI dashboard) -> bounded decision

Worked intuition

  1. Name the workload class.

  2. Name the metric that moves first.

  3. Identify the responsible structure.

  4. Check software/coherency amplification.

  5. Propose the smallest reversible experiment.

Common misconceptions

  • Using average metrics when tails dominate.

  • Tuning one benchmark without product workload mix.

  • Ignoring verification and software cost.

Key takeaways

  • Explain Dataflow Architecture Choices with mechanism and metric.

Architecture deep dive

Accelerators win on locality and bandwidth contracts, not peak OPS alone.

Concept diagram

diagram
ACCELERATOR DATAFLOW

Host CPU ── commands ──► Queue / scheduler
   ▲                         │
   │ completion              ▼
Coherent memory ◄── DMA ── Local SRAM ──► Compute array
                         ▲       │
                         └ tiles ┘

Peak TOPS matters only when data reaches the array at the needed rate.

Metric graph

diagram
UTILIZATION BREAKDOWN

compute active   ██████████████████  58%
DMA wait         ██████████          31%
host sync        █████               15%
cache/coherency  ████                12%
idle bubbles     ███████             22%

Low utilization is usually a system integration problem.

Metrics and artifacts

  • accelerator utilization

  • DMA bandwidth

  • kernel launch overhead

  • coherency invalidation rate

Mini case study

NPU met TOPs target but end-to-end inference slow — DMA and weight fetch dominated. Architecture added on-chip SRAM tile and double-buffering.

Debug branches

  • If util low, check launch overhead and host sync first.

  • If BW high, examine weight layout and sparsity support.

Senior review question

Ask: what single metric would prove this concept is working or failing on your workload?

Key takeaways

  • Connect every architecture claim to a workload and measurable metric.

  • State verification and PPA impact before proposing design changes.

Common pitfalls

  • Feature-driven design without MPKI/IPC/bandwidth evidence.

  • Ignoring coherency and NoC traffic in cache and accelerator sizing.

Study notes

Re-read this topic with one concrete workload.