Hi All,
I have one doubt regarding avg access time in various levels of memory. There are 2 ways in which the processor is connected to various levels of memory.
2 levels
Case 1:
(parallel access)
T avg = H1 * T1 + (1- H1) * T2;
Case 2:
(sequential access)
T avg = H1 * T1 + (1- H1) * (T1+T2);
In maximum Gate previous years problem, they are using case 1 only.
Consider this Gate 2004 problem,: You solved this via case 1.
Problem:
========
Consider a system with 2 level cache. The access time of L1, L2 cache and memory are 1ns,10ns,500 ns. Hit rates of L1 and and L2 cache are 0.8 and 0.9, What is the avg access time of the system ignoring the search time within the cache?
===> Ans is 12.6, nothing is mentioned solved via case 1 only.
Can anyone please let me know which one should I use. Thank you.