average PAGE access time OS

sujithukvl's Avatar, Join Date: Aug 2011
Newbie Member
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?
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
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.
jhonackerman's Avatar
Banned
xpi0t0s gives you the write answer.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
Originally Posted by jhonackerman View Post
xpi0t0s gives you the write answer.
Its right and not write.
aryan123's Avatar
Go4Expert Member
The exact solution lies here:

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