- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Lecture 13 Cache and Virtual Memroy Review.ppt
Lecture 13: Cache and Virtual Memroy Review Cache optimization approaches, cache miss classification, What Is Memory Hierarchy A typical memory hierarchy today: Here we focus on L1/L2/L3 caches and main memory Why Memory Hierarchy? 1980: no cache in μproc; 1995 2-level cache on chip(1989 first Intel μproc with a cache on chip) Generations of Microprocessors Time of a full cache miss in instructions executed: 1st Alpha: 340 ns/5.0 ns = ?68 clks x 2 or 136 2nd Alpha: 266 ns/3.3 ns = ?80 clks x 4 or 320 3rd Alpha: 180 ns/1.7 ns =108 clks x 6 or 648 1/2X latency x 3X clock rate x 3X Instr/clock ? 4.5X Area Costs of Caches Processor % Area %Transistors (-cost) (-power) Intel 80386 0% 0% Alpha 21164 37% 77% StrongArm SA110 61% 94% Pentium Pro 64% 88% 2 dies per package: Proc/I$/D$ + L2$ Itanium 92% Caches store redundant dataonly to close performance gap What Is Cache, Exactly? Small, fast storage used to improve average access time to slow memory; usually made by SRAM Exploits locality: spatial and temporal In computer architecture, almost everything is a cache! Register file is the fastest place to cache variables First-level cache a cache on second-level cache Second-level cache a cache on memory Memory a cache on disk (virtual memory) TLB a cache on page table Branch-prediction a cache on prediction information? Branch-target buffer can be implemented as cache Beyond architecture: file cache, browser cache, proxy cache Here we focus on L1 and L2 caches (L3 optional) as buffers to main memory Example: 1 KB Direct Mapped Cache Assume a cache of 2N bytes, 2K blocks, block size of 2M bytes; N = M+K (#block times block size) (32 - N)-bit cache tag, K-bit cache index, and M-bit cache The cache stores tag, data, and valid bit for each block Cache index is used to select a block in SRAM (Recall BHT, BTB) Block tag is compared with the input tag A word in the data block may be selected as the output For Questions About Cache Design Blo
您可能关注的文档
- Concepts and Operational Definitions.ppt
- Connecticut Geospatial Information Systems Council.ppt
- Consumer Council-考察是.ppt
- Continuous Assessment03162006.ppt
- Contraception.ppt
- CoolingChapter 13.ppt
- COPDChronic Obstructive Lung Disease.ppt
- Copyright © 2008 W. W. Norton & Company.All rights reserved..ppt
- CORPORATE GOVERNANCE.ppt
- COSOSIMO Workshop Outbrief14 March 2006.ppt
- Lecture 13 Chi-square and sample variance.ppt
- Lecture 13 Competition and Pricing.ppt
- Lecture 13 VHDL Structural Modeling.ppt
- Lecture 13. Dissipation of Gravity Waves.ppt
- Lecture 13.ppt
- Lecture 13Chapter 7 Deadlocks.ppt
- Lecture 13Examples of Memory Management.ppt
- Lecture 13Heteroskedasticity.ppt
- Lecture 13Mobile Data Services inWireless Environments.ppt
- Lecture 13Relational Decomposition and Relational Algebra.ppt
最近下载
- 2023款宝马X7_用户手册驾驶指南车主车辆说明书电子版.pdf VIP
- 公司信息安全管理体系手册.pdf VIP
- 浙教版九年级上册科学 第1章 物质及其变化 单元测试卷(含解析).pdf VIP
- 互文成语探析.docx VIP
- 三体系内审检查表.pdf
- 2025年信息安全工程师职业资格考试试题及答案.docx VIP
- 2025年安徽省高中学业水平合格考数学试卷试题(含答案).docx VIP
- 2025山东济南市工程咨询院招聘10人笔试模拟试题及答案解析.docx VIP
- 2025年安徽省普通高中学业水平合格性考试地理(含详解答案) .pdf VIP
- 2025山东济南市工程咨询院招聘6人笔试模拟试题及答案解析.docx VIP
文档评论(0)