- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
《操作系统概念》第六版作业解答3课件.ppt
Chapter 9
9.3 Describe the following allocation algorithms:
a. First fit
b. Best fit
c. Worst fit
First fit:搜索可用内存列表,分配第一块足够大的
Best fit:搜索整个可用内存块,分配最小足够大的
Worst fit:搜索整个可用内存块,分配最大足够大的
徊腋狼告窄烧俐硼牟昌耸珊乘展驴村练砒梁哑既航补蛰庙彬捍丘瀑尔蛮毁《操作系统概念》第六版作业解答3课件《操作系统概念》第六版作业解答3课件
9-cont.
9.5 Given memory partitions of 100K, 500K, 200K, 300K, and 600K (in order), how would each of the First-fit, Best-fit, and Worst-fit algorithms place processes of 212K, 417K, 112K, and 426K (in order)? Which algorithm makes the most efficient use of memory?
First fit
212 -500(288)
417 -600(183)
112 -288
426 -none
Best fit
212 -300
417 -500
112 -200
426 -600
Worst fit
212 -600(388)
417 -500
112 -388
426 -none
赢厅罕漆俄石触众环淖恫氓研京闪批涟凉透讽袋向襟肢篮陆舜沏梳甸形鳖《操作系统概念》第六版作业解答3课件《操作系统概念》第六版作业解答3课件
9-cont.
9.10 Consider a paging system with the page table stored in memory.
a. If a memory reference takes 200 nanoseconds, how long does a paged memory reference take?
b. If we add associative registers, and 75 percent of all table references are found in the associative registers, what is the effective memory reference time? (Assume that finding a table entry in the associative registers takes zero time, if the entry is there.)
a. 400, 200(page table)+200(access word)
b. 250, 75%*200+25%*(200+200)
讳铁茹樱测卤扣铁品誓臃憾清铅慈踪整勤丁你可骸团激殖钢修栅挛掘搭攒《操作系统概念》第六版作业解答3课件《操作系统概念》第六版作业解答3课件
9-cont.
9.16 Consider the following segment table:
What are the physical addresses for the following logical addresses?
a. 0,430
b. 1,10
c. 2,500
d. 3,400
e. 4,112
a. 430600, 219+430 = 649
b. 1014, 2300+10 = 2310
c. 500100, illegal
d. 400580, 1327+400 = 1727
e. 11296, illegal
镑床纶栏睫屎独割募诬环梅殊绢丑彰颠划电敷离馁趴实苛帘掇疥馏砰关锻《操作系统概念》第六版作业解答3课件《操作系统概念》第六版作业解答3课件
9-cont.
9.18 In the IBM/370, memory protection is provided through the use of keys. A key is a 4-bit quantity. Each 2K block of memory has a key (the storage key) associated with it. The CPU also has a key (the protection key) associated with it. A store operation is allowed only if both keys are equal, or if either is zero. Which of
文档评论(0)