module-3-chapter-1
module-3-chapter-1
Memory
Backplane bus systems
When the amount of unwritten data in the cache reaches a certain level, the controller periodically writes cached data to a drive. This write process is
called "flushing."
Physical Address Caches
Advantages
No need to perform Cache Flushing
Fewer cache bugs in OS kernels
Disadvantages
Slow down in accessing the cache until
MMU/TLB finishes translating the address
Virtual Address Caches
Virtual Address Cache
Advantages
Cache search becomes easy
Disadvantages
Virtual Addressing gives rise to aliasing.
Removal of aliasing needs too much of
flushing
Too much of flushing increases cache misses
Direct Mapping Cache and
Associative
When the amount Cache
of unwritten data in the cache reaches a
certain level, the controller periodically writes cached data
to a drive. This write process is called "flushing."
Mapping
Placement policy
Bj -> Bi If i = j modulo(m) i=1,2,3……m and
j=1,2,3….n
K-way associativity
Memory Interleaving
Main memory is built with multiple modules
Memory modules are connected by a system bus
Parallel access of multiple words can be done
simultaneously or in a pipelined fashion.
These memory words are assigned linear
addresses.
Two address formats for memory
interleaving
Low order interleaving
High order interleaving
Low order interleaving
τ=θ/m
Memory Bandwidth