Evicts the most recently added block-cache behaves as a stack
Anonymous Quiz
4%
Random
4%
FIFO
87%
LIFO
4%
Most Recently Used (MRU)
1%
Least Recently Used (LRU)
works well with cyclic patterns
Anonymous Quiz
39%
Random
11%
FIFO
5%
LIFO
43%
Most Recently Used (MRU)
2%
Least Recently Used (LRU)
Exploits Temporal locality
Anonymous Quiz
15%
Random
7%
FIFO
3%
LIFO
10%
Most Recently Used (MRU)
66%
Least Recently Used (LRU)
Number of comparators =
Anonymous Quiz
17%
cache lines
15%
Cache size / Block Size
66%
Both of them
2%
Neither of them
number of lines in a set
Anonymous Quiz
11%
direct mapped
16%
fully associative
72%
K-way set associative
Number of sets = 2 ^ n --- n here represents
Anonymous Quiz
7%
cache index
81%
set index
7%
line index
4%
block index
consists of TB, CI, BO
Anonymous Quiz
73%
direct mapped
10%
fully associative
17%
K-way set associative
consists of TB, SI, BO
Anonymous Quiz
6%
direct mapped
13%
fully associative
81%
K-way set associative
consists of TB, BO only
Anonymous Quiz
1%
direct mapped
96%
fully associative
3%
K-way set associative
Doesn’t require any searching, so it’s not expensive as other caches
Anonymous Quiz
72%
direct mapped
18%
fully associative
11%
K-way set associative
Instead of specifying a unique location for each memory block, ….. allow a main memory block to be replaced anywhere
Anonymous Quiz
16%
direct mapped
75%
fully associative
9%
K-way set associative
Associative memory requires special hardware to allow associative searching and is thus …..
Anonymous Quiz
86%
expensive
14%
inexpensive
it requires a larger tag to be stored with the block which results in a larger cache with special hardware
Anonymous Quiz
13%
direct mapped
59%
fully associative
28%
K-way set associative
is a combination of 2 approaches
Anonymous Quiz
4%
direct mapped
36%
fully associative
61%
K-way set associative
is like direct mapped in that we use the address to map the block to a certain cache location
Anonymous Quiz
27%
fully associative
73%
N-way set associative
instead of mapping a single cache block, an address maps to a set of several cache blocks
Anonymous Quiz
12%
direct mapped
17%
fully associative
70%
N-way set associative