- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
VirtualMemoryamp;amp;AddressTranslation.ppt
Oct 9, 2001 Virtual Memory Translation Virtual Memory Address Translation Vivek Pai Princeton University General Memory Problem We have a limited (expensive) physical resource: main memory We want to use it as efficiently as possible We have an abundant, slower resource: disk Lots of Variants Many programs, total size less than memory Technically possible to pack them together Will programs know about each other’s existence? One program, using lots of memory Can you only keep part of the program in memory? Lots of programs, total size exceeds memory What programs are in memory, and how to decide? History Versus Present History Each variant had its own solution Solutions have different hardware requirements Some solutions software/programmer visible Present – general-purpose microprocessors One mechanism used for all of these cases Present – less capable microprocessors May still use “historical” approaches Many Programs, Small Total Size Observation: we can pack them into memory Requirements by segments Text: maybe contiguous Data: keep contiguous, “relocate” at start Stack: assume contiguous, fixed size Just set pointer at start, reserve space Heap: no need to make it contiguous Many Programs, Small Total Size Software approach Just find appropriate space for data code segments Adjust any pointers to globals/functions in the code Heap, stack “automatically” adjustable Hardware approach Pointer to data segment All accesses to globals indirected One Program, Lots of Memory Observations: locality Instructions in a function generally related Stack accesses generally in current stack frame Not all globals used all the time Goal: keep recently-used portions in memory Explicit: programmer/compiler reserves, controls part of memory space – “overlays” Note: limited resource may be address space Many Programs, Lots of Memory Software approach Keep only subset of programs in memory When loading a program, evict any programs that use the same memory regions “Swap” programs
您可能关注的文档
- Reading and ReviewChapter 12 Indexing and Hashing.ppt
- Reading and Thinking Tasks.ppt
- REGIONAL TIR SEMINAR Sofia, 11 and 12 May 2006.ppt
- Research themes.ppt
- RESSETDB应用.ppt
- Review of Units 1-6.ppt
- Review Unit Four.ppt
- Risk, Cost of Capital and Capital BudgetingChapter 12.ppt
- Roger A Rosenblatt February 12, 2004.ppt
- Running a race at 12,000 feet.ppt
- Viruses, Malicious Code,& Other Nasty Stuff.ppt
- Wading Through the WebConducting Research on the Internet.ppt
- Web Search.ppt
- Web Security.ppt
- Web Site Design.ppt
- Week 12 Science and Technology.ppt
- Week 12.Acquirers and questions.ppt
- Week 12.Language Universals, and the beginnings of a model.ppt
- Weihong Xu11122008Boston, MA.ppt
- Welcome to MUSIC.ppt
最近下载
- T∕CACM 1270-2019 中医内科临床诊疗指南 脓毒症.pdf
- 合作供货合同协议书范本.docx VIP
- 广州工商学院《高等数学(II)》2025 - 2026学年第一学期期末试卷.docx
- Unit 1 School Life Lesson 2(课件)2025-2025学年度冀教版英语四年级上册.pptx VIP
- 2020年一建《建设工程法规及相关知识》真题(含答案解析).pdf VIP
- 化工安全生产实务注册安全工程师考试(初级)知识点必刷题详解.docx VIP
- 2025贵州毕城开发集团有限公司及下属子公司招聘10人笔试模拟试题及答案解析.docx VIP
- 申请中英文成绩单的办事程序-广州大学教务处.doc VIP
- 前置胎盘的诊断与处理指南(2020版).docx VIP
- 广州工商学院《高等数学Ⅱ》2025-----2026学年期末试卷(A卷).docx VIP
文档评论(0)