07-11-2012, 06:16 PM
Memory Organization
MemoryOrgzn.ppt (Size: 1.18 MB / Downloads: 104)
12-1 Memory Hierarchy
Memory hierarchy in a computer system : Fig. 12-1
Main Memory : memory unit that communicates directly with the CPU (RAM)
Auxiliary Memory : device that provide backup storage (Disk Drives)
Cache Memory : special very-high-speed memory to increase the processing speed (Cache RAM)
Cache Memory
Locality of Reference
the references to memory tend to be confined within a few localized areas in memory
Cache Memory : a fast small memory
keeping the most frequently accessed instructions and data in the fast cache memory
Cache
cache size :
mapping method : 1) associative, 2) direct, 3) set-associative
replace algorithm : 1) LRU, 2) LFU, 3) FIFO
write policy : 1) write-through, 2) write-back