CHI Protocol Cache State

1. CHI 协议 Cache Line 状态 当组件访问 cache line 时,协议会定义 cache 状态以确定是否需要执行操作。每个 cache 状态都基于以下 cache line 特征: Valid、Invalid 当 Valid 时,cache line 存在于 cache 中。 当 Invalid 时,cache line 不存在于 cache 中。 Unique、Shared 当 Unique 时,cache line 仅存在于唯一 cache 中。 当 Shared 时,cache line 可以存在于多个 cache 中。cache line 不保证存在于多个 cache 中。 Clean、Dirty 当 Clean 时,cache 不负责更新主内存。 当 Dirty 时,cache line 已相对于主内存进行了修改。Dirty cache 必须确保主内存最终得到更新。 Full、Partial、Empty Full cache line 的所有字节都有效。 Half cache line 可以有一些字节有效,而有些字节包括零字节或所有字节。 Empty cache line 没有有效字节。 ...

九月 14, 2024 · 6 分钟 · IAIKX