874 views
1 votes
1 votes

In this problem I have a doubt that why effective access time is not taken as 

effective access time = 1 x 200 + p x (8 milliseconds)

because even though pages are accessed after page-fault but all pages must be accessed only through main memory only. Thus I think effective access time should be (p x 8 milliseconds) to bring page from disk to memory,  plus,  200 nanoseconds for accessing all pages in memory

3 Answers

Best answer
0 votes
0 votes

Actually the page fault service time contains three components as given in #Page324

Thanks for your answers

1 votes
1 votes
YES you are right

effective access time=(1-p) *memory access time +  p(service time +memory access time )

but generally service time is too large compared to memory access time so we neglect it

 

 

or we can also use this formula

(1-p)*m +p(s+m)===>   m+ps

memory access time + P*service time
0 votes
0 votes

Effective memory access time in the case of page fault=Ps*p+m
where Ps=page service time
P=miss rate or frequency of page fault for every memory access.
m=memory access time

Related questions

0 votes
0 votes
1 answer
1
Nam14 asked Apr 5, 2023
532 views
Please read below passage from 10th edition Operating System Concepts, pg. 202:5.1.3 Preemptive and Nonpreemptive SchedulingCPU-scheduling decisions may take place under ...