1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

average PAGE access time OS

Discussion in 'Engineering Concepts' started by sujithukvl, Aug 13, 2011.

  1. sujithukvl

    sujithukvl New Member

    Joined:
    Aug 13, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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?
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    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.
     
  3. jhonackerman

    jhonackerman Banned

    Joined:
    Oct 13, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    xpi0t0s gives you the write answer.
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,285
    Likes Received:
    364
    Trophy Points:
    83
    Its right and not write.
     
  5. aryan123

    aryan123 New Member

    Joined:
    Jan 9, 2011
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    0
    The exact solution lies here:

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

Share This Page