23. Given a virtual memory system with a TLB, a cache, and a page table, assume the...

Question:

23. Given a virtual memory system with a TLB, a cache, and a page table, assume the following:

1. A TLB hit requires 5ns.

2. A cache hit requires 12ns.

3. A memory reference requires 25ns.

4. A disk reference requires 200ms (this includes updating the page table, cache, and TLB).

5. The TLB hit ratio is 90%.

6. The cache hit rate is 98%.

7. The page fault rate is .001%.

8. On a TLB or cache miss, the time required for access includes a TLB and/or cache update, but the access is not restarted.

9. On a page fault, the page is fetched from disk, and all updates are performed, but the access is restarted.

10. All references are sequential (no overlap, nothing done in parallel).

For each of the following, indicate whether or not it is possible. If it is possible, specify the time required for accessing the requested data.

1.

a) TLB hit, cache hit 2.

b) TLB miss, page table hit, cache hit 3.

c) TLB miss, page table hit, cache miss 4.

d) TLB miss, page table miss, cache hit 5.

e) TLB miss, page table miss 6. Write down the equation to calculate the effective access time.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: