- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
ppt课件-computerorganization
虚拟存储器使多道程序设计更为有效,同时消除了用户使用主存的限制。 许多虚拟存储器方案使用一个特殊的高速缓存来存放页表项,通常称为快表(TLB),这个高速缓存功能与存储器中高速缓存的相同,它用来存储最近使用的那些也的页表项。 A technique that uses main memory as a “cache” for secondary storage. To allow efficient and safe sharing of memory among multiple programs To remove the programming burdens of a small, limited amount of main memory. Write-through will not work for virtual memory, since writes take too long. Instead, virtual memory systems use write-back. An event that occurs when an accessed page is not present in main memory. CS252 S05 * CS252 S05 * CS252 S05 * CS252 S05 * 3 memory references 2 page faults (disk accesses) + .. Actually used in IBM before paged memory. CS252 S05 * Locating an Object in a “Cache” SRAM Cache (L1,L2, etc) Tag stored with cache line Maps from cache block to a memory address No tag for blocks not in cache If not in cache, then it is in main memory Hardware retrieves and manages tag information Can quickly match against multiple tags Locating an Object in a “Cache” (cont.) SRAM Cache (virtual memory) Each allocated page of virtual memory has entry in page table Mapping from virtual pages to physical pages One entry per page in the virtual address space Page table entry even if page not in memory Specifies disk address OS retrieve and manages page table information A System with Physical Memory Only Examples: Most Cray machines, early PCs, nearly all embedded systems, etc Addresses generated by the CPU point directly to bytes in physical memory A System with Virtual Memory Examples: Workstations, serves, modern PCs, etc. Address Translation: Hardware converts virtual addresses to physical addresses via an OS-managed lookup table (page table) Page Faults (Similar to “Cache Misses”) What if an object is on disk rather than in memory? Page table entry indicates virtual address not in memory OS exception handler invoked to move data from disk into memory OS has full control over placement Full-associativity to minimize fut
您可能关注的文档
- ppt课件-11蝙蝠和雷达.ppt
- ppt课件-30爱迪生救妈妈.ppt
- ppt课件-abstractviewofsystemcomponents.ppt
- ppt课件-ccnadiscovery2chapter04.ppt
- ppt课件-ch11生产过程控制.ppt
- ppt课件-contentspage.ppt
- ppt课件-dma功能及其应用.ppt
- ppt课件-dn07路由协议原理及配置.ppt
- ppt课件-dsp–modelbasedapproach.ppt
- ppt课件-exceptionhandling.ppt
- 空气能热水器及方案.pdf
- 辅导机构课程表设计与排班技巧.docx
- 2026年备考监理工程师之水利工程目标控制高分通关题型题库附解析答案.docx
- 社工常用理论资料.pdf
- 标准房屋租赁合同示范文本解析.docx
- 2026年备考执业药师之西药学综合知识与技能高分通关题型题库附解析答案.docx
- 2026年备考初级银行从业资格之初级个人理财题库综合试题高频卷附答案.docx
- 2026年备考初级经济师之初级经济师工商管理模考模拟试题(全优).docx
- 2026年备考检验类之临床医学检验技术(士)自测模拟预测题库(名校卷).docx
- 2026年备考一级建造师之一建铁路工程实务题库练习试题高频卷附答案.docx
原创力文档


文档评论(0)