开发者

Average PAGE access time OS [closed]

开发者 https://www.devze.com 2023-03-28 02:51 出处:网络
Closed. This question needs to be more focused. It is not currently accepting answers. 开发者_运维百科
Closed. This question needs to be more focused. It is not currently accepting answers.
开发者_运维百科

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 6 years ago.

Improve this question

In a paged memory, the page hit ratio is .35

Time required to access a page in secondary memory is 100 ns.

Time required to access a page in primary memory is 10 ns.

what is the average time required to access a page ?

in what way can i answer this question?


.35 hit * 10 ns = 3.5 ns

.65 miss * (10 ns + 100 ns) = 71.5 ns

71.5 ns + 3.5 ns = 75 ns average


hit ratio is .35 so page fault rate=.65

Page access time=(1-page fault)*(Time required to access a page in primary memory)

                 +(page fault)Miss penalty

(1-.65)*10

+

(.65)*100

3.5+ 65=

68.5

Thank you Jason

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号