125 words
1 minute
computer architecture (12) キャッシュの書き込み方式
  • Cache写策略#

    • 写命中(全写法和写回法)
    • 写不命中(写分配法和非写分配法)
NOTE

为何不讨论读命中、读不命中的情况?

读操作不会导致Cache和主存的数据不一致

写命中#

写回法#

alt text

全写法(写直通法)#

alt text

写不命中#

写分配法#

搭配写回法使用。

alt text

非写分配法#

搭配全写法使用。 alt text

多级Cache#

alt text


知识回顾#


alt text

computer architecture (12) キャッシュの書き込み方式
https://yirong.site/posts/0018/
Author
Yirong Zhou
Published at
2025-09-19
License
CC BY-NC-SA 4.0
ページ閲覧数: 読み込み中…
サイト閲覧数: 読み込み中…