Victim Cache 交互演示与实验面板

Direct-Mapped / Victim Cache / 2-Way Set-Associative

设置区

640 ms
当前 trace ABABABABABAB
等待执行。
参数说明
修改后会立即重算面板 AMAT 和下方实验图表。

演示区

当前请求
当前访问的 block
步骤
0 / 0
同步推进三种模型
Direct-Mapped Index
当前 L1 目标位置
2-Way Set
当前目标 set
Direct-Mapped
IDLE
CPU
发起请求
L1 Direct-Mapped
Index —
等待访问
Empty
Lower-level Memory
L2 / DRAM
仅 miss 时访问
等待执行。
DM + Victim Cache
IDLE
CPU
同一步同步访问
L1 Direct-Mapped
Index —
等待访问
Empty
Victim Cache
Recently Evicted Blocks
Lower-level Memory
L2 / DRAM
VC miss 时访问
等待执行。
2-Way Set-Associative
IDLE
CPU
访问目标 set
Target Set
Set —
等待访问
Lower-level Memory
L2 / DRAM
set miss 时访问
等待执行。
等待执行。
就近推进下方三种 cache 状态面板
Direct-Mapped
4 lines
L1 Cache
等待执行。
DM + Victim Cache
L1 + 2-entry VC
L1 Cache
Victim Cache
等待执行。
2-Way Set-Associative
2 sets × 2 ways
Sets & Ways
等待执行。

实验结果

默认结果已载入
等待实验执行。
Grouped Bar Chart · Normalized AMAT
workload 对比实验 Normalized AMAT 柱状图
Line Chart · Normalized AMAT vs VC Size
Current Trace: ABABABABABAB
victim cache 大小扫描 Normalized AMAT 折线图