SHARE
SPREAD
HELP

The Tradition of Sharing

Help your friends and juniors by posting answers to the questions that you know. Also post questions that are not available.


To start with, Sr2Jr’s first step is to reduce the expenses related to education. To achieve this goal Sr2Jr organized the textbook’s question and answers. Sr2Jr is community based and need your support to fill the question and answers. The question and answers posted will be available free of cost to all.

 

#
Authors:
Linda Null ,julia Lobur
Chapter:
Memory
Exercise:
Exercises
Question:15 | ISBN:9780763704445 | Edition: 3

Question

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

• A TLB hit requires 5ns.

• A cache hit requires 12ns.

• A memory reference requires 25ns.

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

• The TLB hit ratio is 90%.

• The cache hit rate is 98%.

• The page fault rate is .001%.

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

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

• 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.

a) TLB hit, cache hit

b) TLB miss, page table hit, cache hit

c) TLB miss, page table hit, cache miss

d) TLB miss, page table miss, cache hit

e) TLB miss, page table miss

Write down the equation to calculate the effective access time.

TextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbook

Sorry the answer is not available at the moment…

If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.

Spread the 'tradition of sharing'.