- 10
- 0
- 约1.7万字
- 约 28页
- 2023-12-21 发布于江苏
- 举报
第
第PAGE10页
CHAPTER 9 Virtual Memory
PracticeExercises
UnderwhatcircumstancesdopagefaultsoccurDescribetheactions
takenbytheoperatingsystemwhenapagefaultoccurs.Answer:
Apagefaultoccurswhenanaccesstoapagethathasnotbeen
broughtintomainmemorytakesplace.Theoperatingsystemveri es
thememoryaccess,abortingtheprogramifitisinvalid.
Ifitisvalid,a
freeframeislocatedandI/Oisrequestedtoreadtheneededpageinto
thefreeframe.UponcompletionofI/O,theprocesstableandpagetable
areupdatedandtheinstructionisrestarted.
Assumethatyouhaveareferencestringforaprocesswithm
frames(initiallyallempty).Thereferencestringhaslengthp;
ndistinctpagenumbersoccurinit.Answerthesequestionsforany
replacementalgorithms:
Whatisalowerboundonthenumberofpagefaults
WhatisanupperboundonthenumberofpagefaultsAnswer:
n
p
ConsiderthepagetableshowninFigure9.30forasystemwith12-bit
virtualandphysicaladdressesandwith256-bytepages.
Thelistoffree
pageframesisD,E,F(thatis,Disattheheadofthelist,Eissecond,
andFislast).
Convertthefollowingvirtualaddressestotheirequivalentphysical
addressesinhexadecimal.Allnumbersaregiveninhexadecimal.(A
dashforapageframeindicatesthatthepageisnotinmemory.)
9EF
111
2930Chapter9VirtualMemory
700
0FF
Answer:
9EF-0EF
111-211
700-D00
0FF-EFF
Considerthefollowingreplacementalgorithms.Rankthesealgorithmsonave-pointscalefrom“bad〞to“perfect〞accordingtotheir
faultrate.Separatethosealgorithmsthatsuffer
fromBelady’s
anomalyfromthosethatdonot.
LRUreplacement
FIFOreplacement
Optimalreplacement
Second-chancereplacementAnswer:
RankAlgorithmSufferfromBelady’sanomaly
Optimalno
LRUno
Second-chanceyes
FIFOyes
Discussthehardwaresupportrequiredtosupportdemandpaging.
Answer:
Foreverymemory-accessoperation,thepagetableneedstobeconsulte
您可能关注的文档
- 领导年度述职报告15篇.docx
- 什么教会了我什么作文.pdf
- 房地产业务技巧培训.docx
- 难忘的人作文500字(精选7篇).docx
- 读《黑熊舞蹈家》有感500字六篇.docx
- 街道文明创建工作总结4篇.docx
- 2023年论文答辩申请书格式.docx
- 2023年行政管理专业个人简历范文.docx
- 团险核保基础.pdf
- 酒类实习报告.docx
- 河北盐山中学等校2025-2026学年上学期高三一模化学试卷(含解析).docx
- 河北正定中学2025-2026学年高一上学期期末考试物理试卷(含解析).docx
- 河北张家口市怀安县2025-2026学年第一学期期末教学综合评价八年级地理试卷(含解析).docx
- 河南安阳市殷都区2025-2026学年第一学期期末教学质量检测七年级地理试卷(含解析).docx
- 河南安阳市滑县2025一2026学年第一学期期末学业质量监测八年级地理试题(含解析).docx
- 河南安阳市林州市2025-2026学年上学期期末考试高一政治试题(含解析).docx
- 河南焦作市武陟县第一中学2025-2026学年高一上学期1月月考语文试卷(含解析).docx
- 河南济源市2025-2026学年上学期期末学业质量调研七年级历史试卷(含解析).docx
- PICC导管并发症的紧急处理与护理.pptx
- 河南鹤壁市2025-2026学年高二上学期期末考试生物试题(含解析).docx
最近下载
- 如何找回误删微信好友,微信好友一键恢复.doc VIP
- 人教版高中物理课后习题答案.pdf VIP
- 人教版高中英语必修三《Unit 1 Festivals around the World》教学设计.pdf VIP
- 4.3 中国的交通运输业 第一课时 教学设计2025八年级地理上学期湘教版.pdf
- 常见IV曲线症状诊断分析.pptx VIP
- 2025年大梦杯数学竞赛试卷及参考答案解析.docx VIP
- 颈动脉支架植入术后护理查房.pptx VIP
- 小学数学巧算24点专项练习题(每日一练,共25份).docx VIP
- 小学数学巧算24点专项练习题(每日一练,共24份).docx VIP
- 医学课件-颈动脉支架植入医疗护理查房.pptx
原创力文档

文档评论(0)