edited by
1,248 views
2 votes
2 votes
In a paged memory, the page hit ratio is $0.35$. The time required to service the page fault is $100$ ns. Time required to access a page in primary memory is $10$ ns.

The average time required to access a page is ________ ns
edited by

3 Answers

Best answer
2 votes
2 votes
Page access time=   
(1-page fault)*(Time required to access a page in primary memory) + (page fault) * Miss penalty

We assume page access is Simultaneous !

page fault rate is (1- hit ratio) = 1- 0.35 = 0.65 

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

Time to access page in primary memory  ( Tp) =  (1- 0.65)  * 10 = 0.35 * 10 = 3.5 ns.

Time required to access page in secondary memory is the Miss penalty time which is  100 ns as given .
Miss ratio =(1- 0.35)=0.65


Missed pages will be found  in secondary memory.

Time to access page in secondary memory ( Ts)   =  Miss ratio * time for secondary memory
=(1-0.35)*100
=65.0ns


Average time required to access a page is
= Ts+Tp

=65.0ns+3.5ns

=68.5ns

PS :

Read this comment to make everything clear : https://gateoverflow.in/96884/operating-systems-2-29#c125175

selected by
0 votes
0 votes
0.35 ( 10 + 10 ) + 0.65( 10 + 100) = 78.5
Answer:

Related questions

586
views
1 answers
0 votes
Bikram asked Dec 26, 2016
586 views
A moving arm disk-storage device has the following specifications. Number of tracks per recording surface - $200$ Disk - rotation speed - $2400$ rpm Track ... $256$ bytes the average number of sectors possible in each track is __________
679
views
1 answers
1 votes
Bikram asked Dec 26, 2016
679 views
Suppose the disk drive has $200$ cylinders ( numbered $0$ to $199$). The drive is currently serving the request at cylinder $53$. The previous ... current head position. The total distance traveled by the disk arm in SCAN scheme _______
923
views
1 answers
0 votes
Bikram asked Dec 26, 2016
923 views
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 ... for an effective access time of no more than $200$ ns is __________ $\%$
956
views
1 answers
1 votes
Bikram asked Dec 26, 2016
956 views
The address sequence generated by tracing a particular program, executing in a pure demand paging system with $100$ records per page, with $1$ free main memory frame is recorded ... . The page fault rate is _______