average PAGE access time OS

Newbie Member
13Aug2011,22:03   #1
sujithukvl's Avatar
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?
Mentor
14Aug2011,12:21   #2
xpi0t0s's Avatar
Suppose you have 100 accesses. How many will hit primary memory? How many will hit secondary? What is the total time taken by (a) the primary accesses and (b) the secondary accesses? Add them up and divide by 100; that is the average.
Banned
19Oct2011,11:15   #3
jhonackerman's Avatar
xpi0t0s gives you the write answer.
Go4Expert Founder
19Oct2011,11:38   #4
shabbir's Avatar
Quote:
Originally Posted by jhonackerman View Post
xpi0t0s gives you the write answer.
Its right and not write.
Go4Expert Member
14Jan2012,21:14   #5
aryan123's Avatar
The exact solution lies here:

Avg. Access time = Page hit ratio ( Primary access time ) + Page miss ratio ( Primary access time + Secondary access time)