COA课件18概要1
Write hit((2) initiating in exclusive snooping in invalid) Write hit((2) initiating in exclusive snooping in exclusive) Write hit((3) initiating in modified snooping in invalid) Write hit((3) initiating in modified snooping in invalid) MESI State Transition(4)—Write Hit Initiating Write Hit (1) Initiating in S , Snooping in S or I (2) Initiating in E , Snooping in I (3) Initiating in M ,Snooping in I Initiating: Snooping: I M E S I M E S (1) (2) (3) (1) MESI State Transition Diagram In multi-processor systems, MESI protocol is used to solve the problem of cache coherence. Describe simply the events when READ MISS and WRITE HIT and Draw the state transition diagram.(12 points) * * * * * * * * * * * * * * * * * * * * * * * * * Solutions Software Solutions Compiler and operating system deal with problem Hardware Solution Cache coherence protocols Directory protocols目录协议 Snoopy protocols 监听协议 Page 657 Snoopy Protocols(1) 监听协议 Two basic approaches to snoopy protocol have been explored: —Write update 写—更新协议 —Write invalidate 写—无效协议 Page 659 Write Invalidate Multiple readers, one writer When a write is required, all other caches of the line are invalidated Writing processor then has exclusive access until line required by another processor Used in Pentium II and PowerPC systems State of every line is marked as Modified, Exclusive, Shared or Invalid MESI 写—无效协议 The MESI Protocol(1) The data cache includes two status bits per tag So each line can be in one of four states: Modified (修改态 ) —The line in the cache has been modified by own’s CPU(different from main memory) and available only in this cache (只有此cache中数据行的有效 ) Exclusive (排他态或专有态 ) —Only the line in the cache is the same as that memory and is not present by any other (只有此cache和memory相同 ) Page 659 The MESI Protocol(2) Shared (共享态 ) —Some caches have the same line data same as memory Invalid (无效态 ) —has not the data in the cache —has
您可能关注的文档
- Classical Music概要1.ppt
- CLASSVP工作站教程概要1.ppt
- Classification Certification 2013船级社认证详解概要1.pptx
- Class_2_研究生论文写作__complete_sentences概要1.ppt
- Class_3研究生论文写作___functions_and_moves概要1.ppt
- CK英文版PPT概要1.ppt
- Clauses概要1.pptx
- clash of civilization 文明冲突概要1.pptx
- CLBZAH0414检修安全管理标准概要1.doc
- clauses and subjunctive mood(教师用)概要1.ppt
- 小区绿化施工协议书.docx
- 墙面施工协议书.docx
- 1 古诗二首(课件)--2025-2026学年统编版语文二年级下册.pptx
- (2026春新版)部编版八年级道德与法治下册《3.1《公民基本权利》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《4.3《依法履行义务》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.2《按劳分配为主体、多种分配方式并存》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.1《公有制为主体、多种所有制经济共同发展》PPT课件.pptx
- 初三教学管理交流发言稿.docx
- 小学生课外阅读总结.docx
- 餐饮门店夜经济运营的社会责任报告(夜间贡献)撰写流程试题库及答案.doc
原创力文档

文档评论(0)