- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
高等计算机系结构
* * * * * * * * * * * * * * * * * * 1st generation Latency 1/2 but Clock rate 3X and IPC is 3X Now move to other 1/2 of industry * * * * * Intuitive Model by Mark Hill * * * * Ask which affected? Block size 1) Compulsory 2) More subtle, will change mapping * * * * * * * * * * * * * * * * * * * * * * 总 结 3 Cs: Compulsory, Capacity, Conflict 降低失效率 1. 通过增大块大小减少失效 2.通过增大相联度减少失效 3.通过Victim Cache减少失效 4.通过伪-相联减少失效 5.通过硬件预取指令或数据减少失效 6.通过软件预取数据减少失效 7.通过编译优化减少失效 注意:在评价性能时仅仅侧重于某一个参数是危险的 改进cache性能(续) Average Memory access time = Hit time + Miss rate ? Miss penalty 1. 降低失效率 2. 降低失效损失,或者 3. 减少在cache中命中的时间 1. 减少失效损失: 在失效时读比写优先 Write through with write buffers offer RAW conflicts with main memory reads on cache misses If simply wait for write buffer to empty, might increase read miss penalty (old MIPS 1000 by 50% ) Check write buffer contents before read; if no conflicts, let the memory access continue Write Back? Read miss replacing dirty block Normal: Write dirty block to memory, and then do the read Instead copy the dirty block to a write buffer, then do the read, and then do the write CPU stall less since restarts as soon as do read 1.1 在失效时读比写优先 1.2 Merging Write Buffer write buffer CPU in out DRAM (or lower mem) Write Buffer 2. 减少失效损失: 子块放置 Don’t have to load full block on a miss Have valid bits per subblock to indicate valid (Originally invented to reduce tag storage) Valid Bits Subblocks 3. 减少失效损失: 提前重启和关键字先送 Don’t wait for full block to be loaded before restarting CPU Early restartAs soon as the requested word of the block arrives, send it to the CPU and let the CPU continue execution Critical Word FirstRequest the missed word first from memory and send it to the CPU as soon as it arrives; let the CPU continue execution while filling the rest of the words in the block. Also called wrapped fetch and requested word first Generally useful only in large blocks, Spatial locality a problem; tend to want next sequential word, so not clear if benefit by early res
您可能关注的文档
- 高二历史近代国思想解放的潮流4.ppt
- 高二地理人地系思想的演变3.ppt
- 高二地理产业动的区位条件和地域联系.ppt
- 高二历史西方主思想对中国的冲击.ppt
- 高二地理地理件为新加坡经济发展提供了那些条件.ppt
- 高二地理大气染及其防治1.ppt
- 高二地理大气染及其防治2.ppt
- 高二地理学业平考试最后冲刺典型题.ppt
- 高二地理学案必三第三章区域自然资源综合开发利用.doc
- 高二地理学业平考试选择题专项训练.doc
- 山东省潍坊市第一中学2012届高三阶段测试 基本能力试题.docx
- 山东省济宁市曲阜师大附中2010届九年级历史上学期期中质量检测试题人教版.docx
- 山东省济宁市2011届高三教学质量监测历史试题.docx
- 山东省枣庄市薛城实验中学2015届高三上学期期末历史试题.docx
- 山东省济宁市微山县第一中学2015-2016学年高二语文入学检测考试试题.docx
- 山东省淄博市张店区湖田中学2014-2015学年七年级英语下学期期中学业水平检测试题.docx
- 云南省玉溪市峨山彝族自治县一中2025-2026学年高三上学期期中考试物理-学生用卷.pdf
- 广东省江门市新会区创新教育集团2025-2026学年部编版九年级历史上学期期中综合素养评价(含答案).pdf
- 长沙市岳麓实验高三期中考试历史-学生用卷.pdf
- 四川省宜宾市翠屏区2025--2026学年八年级上学期期中历史试题(含答案).pdf
原创力文档


文档评论(0)