Memory Flashcards
What is MAR ?
Memory Address Register
What is MDR ?
Memory Data Register
If MAR is k bits long, how many memory locations can be addressed ?
2^k memory locations can be addressed
What is one way to reduce the memory access time ?
Use Cache
What is Cache ?
It is a small, fast memory
Where is it located ?
In between the slower, larger main memory and processor
What is the principle of locality ?
Related memory locations are frequently accessed
What is temporal locality ?
Locality in time
What does temporal locality mean with respect to referenced data ?
It will tend to be referenced again soon
What is spacial locality ?
Locality in space
What does spatial locality mean with respect to referenced data ?
Data locations with nearby addresses will be referenced
What is memory hierarchy ?
A structure that uses multiple levels of memories
How does size of memory change with respect to distance from the processor ?
Size increases as distance from processor increases
How does access time of memory change with respect to distance from the processor ?
Access time increases with increase in distance from processor
What data structure is a write buffer ?
It is a queue