diff --git a/Computer-Organization/2-storage-system-ex.md b/Computer-Organization/2-storage-system-ex.md index 23286c3..c7ece5f 100644 --- a/Computer-Organization/2-storage-system-ex.md +++ b/Computer-Organization/2-storage-system-ex.md @@ -237,6 +237,10 @@ $B3:3,51,67$ ## 高速缓冲存储器 +$Cache$总容量=标记阵列+$Cache$的存储容量 + +标记阵列就是标记项集合,包括标志位(地址总长度减去块内地址长度与$Cache$组号长度等)和有效位控制位等。 + ### 高速缓冲存储器基本概念 #### 存储结构 @@ -534,7 +538,7 @@ Cache号\访问地址|000 100 1110|100 111 0010|000 100 1111|001 100 0010|010 10 由于替换只出现在$0101\,00\,1000$处,所以不同的替换策略结果相同,命中次数均为$2$次。 -4)$Cache$容量不仅要考虑数据的大小还要考虑标记项的大小。 +4) 数据大小为$8\times16B=128B=1024bit$。