Effective memory access time

Discussion in 'Operating System' started by rahul roy, May 4, 2010.

  1. rahul roy

    rahul roy Banned

    Joined:
    May 4, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    An operating system allocates memory in units of 1 KB pages. The address space of a process can be up to 64 MB in size; however, at any point of time, a process can be allocated at most 16 MB of physical memory. In addition the kernel uses 65 KB of physical memory to
    store page table entries of the current process. The OS also uses a translation-lookaside buffer (TLB) to cache page table entries. You are also given the following information:
    a) size of a page table entry is 4 bytes,
    b) TLB hit ratio is 90%,
    c) time for a TLB lookup is negligible,
    d) time for a memory read is 100 nanoseconds,
    e) time to a read a page from the swapping device into physical memory is 10 milliseconds.
    Calculate the effective memory access time for a process whose address space is 20 MB? Assume that memory accesses are random and distributed uniformly over the entire address space.
    Anybody can solve this problem ? plz reply.:cuss:
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice