retagged by
1,429 views
3 votes
3 votes
What is the formula of amat simulatenous and hierarchical access ? I don't know how to make level n hierarchical and simulatenously formula . Please help to get it.

@bikram sir
retagged by

1 Answer

1 votes
1 votes

in simultaneous organisation the formula would be something like   

T= hit rate*(cache access time) + miss rate* (main memory access time)

Simultaneous AMAT

Tavg = h1 t1+ (1- h1)  t2 + (1- h1) (1- h2) t3  .............. (i) 

----------------

In hierarchical access we use this formula : 

T= hit rate*(cache access time) + miss rate* ( cache access time + main memory access time)

Hierarchical  AMAT

Tavg = h1 t1+ (1- h1) h2 (t1+t2) + (1- h1) (1- h2) (t1+t2+t3) ............... (ii)

Both have L1 cache then L2 cache then Main Memory ( means 3 levels of Hierarchy ) .

Though i believe the exact formula depends on which situation we use that particular theory ..

edited by

Related questions

2 votes
2 votes
2 answers
3
rahuldb asked Nov 17, 2016
3,322 views
What is the hit ratio of a cache memory.If cache memory access time is 30ns,main memory access time is 150ns and avg access time is 42ns.