in CO and Architecture
659 views
3 votes
3 votes
So as we know there are 2 different approaches for cache..

Sequential and the Hierarchical.

Exactly which formula should I use when only access times and hit ratio is mentioned in case of 2 level memory system..?

It would be great if someone explains how to approach questions related to average access time.
in CO and Architecture
659 views

2 Comments

following
0
0
What do you mean?
0
0

1 Answer

2 votes
2 votes

There are 2 ways of accessing the memory, one being simultaneous memory access and the other being hierarchical.

Simultaneous--> T(avg) = H1 T1 + (1-H1) T2

Hierarchical--> T(avg) = H1 T1 + (1-H1) (T2+T1)

When nothing is mentioned we will use Hierarchical by default as it helps in better spatial locality by bringing an entire block in the cache.

by

Related questions