8.3 Memory Hierarchy and Caches Flashcards
What does a von Neumann architecture imply about the storage of programs
Stored in memory (potential to cache instructions)
Compare SRAM to DRAM
How does SRAM, DRAM, HDD etc. compare in relation to cost and cycles
How long is a nanosecond
What are the memory tradeoffs
What is a cache
What is the purpose of an instruction cache
- Store frequently used instructions and instruction blocks
Are caches determined by the ISA or micro-architecture?
Micro-architecture (ISA just sees a flat memory space)
What is the cache level hierarchy
L3 is usually shared
What are inclusive / exclusive caches and how are they typically used
How does cache inclusivity work
Replicated, but when evicted stays in high level
What is the memory hierarchy
What is a working set (memory)
What are cache blocks
Set of words transfered at once:
* Little additional cost to transfer additional words.
* Already paid the latency cost for memory access with first word.
* High probability the rest of block will be needed anyway.
What is locality (and types: time, space)