Cache Issues I
As shown above, caches are familiar in the real world -- here to support movement of food from manufacturer to your larder. It would be inconvenient to drive to the store for every item needed -- it is more convenient to cache items in your larder
Caches store instructions and data -- often in separate caches
Cache have a total size but also the cache line size which is minimum unit transferred into cache -- this due to spatial locality is often quite big.
They also have a “write-back” strategy to define when information is written back from cache into primary memory
Level 3 Middleman Warehouse
Level 2 Middleman Warehouse