- 论坛徽章:
- 0
|
我有几个关于”需求分页”的问题要请问前辈们,希望可以得到解答
Consider a system that uses demand paging to bring pages of a process into main memory. Suppose normal memory access time are 10 naoseconds and page faults are serviced in a total of 5 milliseconds.
A. If one memory access in 10000 causes a page fault, what is the effective access time(EAT)?
我的计算方法如下:
EAT=(1-P)*ma+P*处理分页错误的时间
=(1-P)*10ns+P*5ms
=(1-P)*10+p*5000000
=10+4999990P
这一题这样子解对吗?
我不了解的地方是题目里指出的10000是什么?
B.By what factors does demand paging slow the system down, compared to a system in which pages are always in main memory?
請前輩們指導,用中文就可以了,非常感謝 |
|