Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_linux-gpu-memory-hierarchy-and-roofline

GPU memory hierarchy and roofline reasoning

7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-23
GITHUB README / PR PREVIEW CARD
[![GPU memory hierarchy and roofline reasoning — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_linux-gpu-memory-hierarchy-and-roofline/opengraph-image)](https://archos.sageideas.dev/d/dgm_linux-gpu-memory-hierarchy-and-roofline)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_linux-gpu-memory-hierarchy-and-roofline)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_linux-gpu-memory-hierarchy-and-roofline" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="GPU memory hierarchy and roofline reasoning — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  host_0[("Client application")]
  hbm_1[("Storage")]
  l2_2[("In-process cache")]
  tc_3["Inference server"]
  kv_4[("KV cache")]
  prof_5[("Continuous profiling")]
  sink_6[("Client application")]
  host_0 -->|"1. PCIe load · TCP"| hbm_1
  hbm_1 -->|"2. Tiles SRAM · TCP"| l2_2
  l2_2 -->|"3. MatMul · TCP"| tc_3
  tc_3 -->|"4. Updates KV · TCP"| kv_4
  kv_4 -->|"5. Streams tok · HTTPS"| sink_6
  l2_2 -->|"Roofline · HTTP"| prof_5

COMPONENT STACK (7)

  • Client applicationSTATEFUL
    Host RAM -> PCIe Gen5
  • StorageSTATEFUL
    HBM3 (80GB @ 3.35TB/s)
  • In-process cacheSTATEFUL
    L2 + on-chip SRAM (~20MB)
  • Inference serverSTATELESS
    Tensor Cores (FP8/BF16)
  • KV cacheSTATEFUL
    PagedAttention blocks
  • Continuous profilingSTATEFUL
    Roofline AI = FLOP/Byte
  • Client applicationSTATEFUL
    Max tok/s per GPU$

REQUEST & DATA FLOW (6)

  1. Client application → Storage (PCIe load)[TCP]
  2. Storage → In-process cache (Tiles SRAM)[TCP]
  3. In-process cache → Inference server (MatMul)[TCP]
  4. Inference server → KV cache (Updates KV)[TCP]
  5. KV cache → Client application (Streams tok)[HTTPS]
  6. In-process cache → Continuous profiling (Roofline)[HTTP]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →