Consider a system with 70% hit ratio, 40 nano-seconds time to search the associative registers, 897 nano-seconds time to access memory. Find the time to access a page a. When the page number is in associative memory. b. When the time to access a page when not in associative memory.
Answers
Answered by
1
We can assume single level paging and TLB look and page table look happens sequentially meaning TLB look time is to be considered even for TLB miss. On a TLB miss we need to access main memory for getting the physical address for the page table before doing the actual memory access for the data.
Effective access time = Hit ratio*Time during hit + Miss Ratio * Time During Miss
=0.7*(30+100) + 0.3 (30+100+100)
=91+69
=160 ns
Hence,Option(D)160ns is the correct choice.
Similar questions