首页 > 试题广场 >

Assume we have a demand-paged

[问答题]
Assume we have a demand-paged memory. The page table is held in registers. It takes 8 milliseconds to service a page fault if an empty page
is available or the replaced page is not modified, and 20 milliseconds if the replaced page is modified. Memory access time is 100 nanoseconds.
Assume that the page to be replaced is modified 70 percent of the time. What is the maximum acceptable page-fault rate for an effective access
time of no more than 200 nanoseconds?

推荐
0.2 μsec=(1 - P) x 0.1μsec + (0.3P) x 8 millisec + (0.7P) x 20 millisec
0.1~=-0.1P + 2400 P + 14000 P
0.1~=16,400 P
p~=0.000006
发表于 2018-03-23 21:57:24 回复(0)