- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
CS61C - Machine StructuresLecture 17 - Caches, Part I.ppt
CS61C L17 Cache1 ? UC Regents CS61C - Machine StructuresLecture 17 - Caches, Part I October 25, 2000 David Patterson /~cs61c/ Things to Remember Magnetic Disks continue rapid advance: 60%/yr capacity, 40%/yr bandwidth, slow on seek, rotation improvements, MB/$ improving 100%/yr? Designs to fit high volume form factor Quoted seek times too conservative, data rates too optimistic for use in system RAID Higher performance with more disk arms per $ Adds availability option for small number of extra disks Outline Memory Hierarchy Direct-Mapped Cache Types of Cache Misses A (long) detailed example Peer - to - peer education example Block Size (if time permits) Memory Hierarchy (1/4) Processor executes programs runs on order of nanoseconds to picoseconds needs to access code and data for programs: where are these? Disk HUGE capacity (virtually limitless) VERY slow: runs on order of milliseconds so how do we account for this gap? Memory Hierarchy (2/4) Memory (DRAM) smaller than disk (not limitless capacity) contains subset of data on disk: basically portions of programs that are currently being run much faster than disk: memory accesses don’t slow down processor quite as much Problem: memory is still too slow(hundreds of nanoseconds) Solution: add more layers (caches) Memory Hierarchy (3/4) Memory Hierarchy (4/4) If level is closer to Processor, it must be: smaller faster subset of all higher levels (contains most recently used data) contain at least all the data in all lower levels Lowest Level (usually disk) contains all available data Memory Hierarchy Purpose: Faster access to large memory from processor Memory Hierarchy Analogy: Library (1/2) You’re writing a term paper (Processor) at a table in Doe Doe Library is equivalent to disk essentially limitless capacity very slow to retrieve a book Table is memory smaller capacity: means you must return book when table fills up easier and faster to find a book there once you’ve already retrieved it Memory Hierarchy An
您可能关注的文档
- Chapter 19Designing AccurateData-Entry Procedures.ppt
- Chapter 19Discharge of Contracts.ppt
- Chapter 19Enolates and Enamines.ppt
- CHAPTER 19Multinational Financial Management.ppt
- Chapter 19Performance Evaluation.ppt
- Chapter 19Population Genetics.ppt
- Chapter 19Time-Series Analysis and Forecasting.ppt
- Chapter 19Treasury Information Management.ppt
- Chapter 19Vectors, templates, and exceptions.ppt
- Chapter 1Assuming the Role of the Systems Analyst.ppt
- CSCE 612 VLSI System Design.ppt
- Cultural Capital and Social Stratification in Britain.ppt
- Current Trends in Glass Recycling.ppt
- cōnɡ聪明.ppt
- D1600 PowerSense3 Semicustom Array.ppt
- D303 Leadership Academy 2006.ppt
- Data Entry Devices.ppt
- DataBase作业一.ppt
- Date 03052007.ppt
- David Shanks University College London, UK.ppt
文档评论(0)