Caching Key Areas
Unified Instruction
Separate Data Instruction
Direct Mapped Caching
Organization of Direct Mapping
Direct Mapping Solution
Direct Mapped In Sum
Cache Operation
Direct Mapping with Spacial Locality
Performance
Strategies In Caches
Help
Questions
Things To Do
 
  
 

Introduction:

  • Say we wish to access an address in main memory
  • The processor communicates this request to the cache
  • Two possibilities
    -Cache contains this address: so access can be performed without involving main memory (HIT)
    -Cache does not contain this address: need to go to main memory to perform this access (MISS)
  • On a cache miss, the cache will update itself to store this memory
    address
  • Next time, we should get a HIT
  • Problem: only a limited number of addresses can be stored in a cache
  • Solution: cache needs a replacement policy - which location should be replaced by the new entry?


 



Web Designer:Chetan Narake