Professional Documents
Culture Documents
Associative Mapping
-
The associative
memory is used to
store content and
addresses both of
the memory word.
Enables the
placement of the
any word at any
place in the cache
memory.
The fastest and
most flexible
mapping form.
Set-associative
Mapping
- The modified form
of the direct
mapping where
the disadvantage
of direct mapping
is removed.
- Set-associative
mapping allows
that each word
that is present in
the cache can
have two or more
words in the main
memory for the
same index
address.
Temporal Locality
Name
: Nur Hanis Bt Mohamad Rafee
Matric No. : 1130437
The concept that likelihood of
referencing a resource is higher if a
resource near it was just referenced.
LRU
The most effective
Replace that block
in the set that has
been in the cache
longest with no
reference to it
Because of its
simplicity of
implementation,
LRU is the most
popular
replacement
algorithm
FIFO
Replace that block
in the set that has
been in the cache
longest
Easily
implemented as a
round-robin or
circular buffer
technique
LFU
Replace that block
in the set that has
experienced the
fewest references
Could be
implemented by
associating a
counter with each
line