Memory Flashcards
What is primary memory ?
Lives in the system bus address space directly accessible from the CPU
What is secondary memory ?
Hard drives, Solid State Drives, All data must be transferred to the primary memory
What is tertiary memory ?
Recent versions of Offline storage
What is offline memory ?
Storage connected externally, via the I/O or manual insertion.
What is primary storage made up of ?
consists of many storage cells, each cell can hold 1 bit. Each memory location can hold 1 word (16 bits).
What are the three types of RAM?
RAM, Static RAM, Dynamic RAM
What is Static RAM ?
bits stored in flip flops, fast, retains state, complex instructions, high cost. Used in registers and cache
What is dynamic RAM ?
Bits stored in charge capacitors, slower than Static, discharges after some time, structurally simple, Low cost, used as the main bulk of the RAM
What is a memory controller ?
Maps system addresses to one RAM module
What is ECC RAM ?
Used for more confidence in RAM errors. Usually stores extra copies of data. Not commonly used as DRAM is good enough
What is LP-DDR RAM ?
Low power, can shut down parts of the RAM that are not in use. Used in phones and laptops
What is ROM ?
Limited number of write / erase cycles, non-volatile. used to store firmware
What is the Cache ?
small amount of fast memory between the CPU and the DRAM
What types of locality are there ?
Temporal locality – values tend to be accessed repeated at nearby time
Sequential locality – same sequences tend to be re-accessed
Spatial locality – memory addresses close to each other tend to be accessed together
What types of the cache are there ?
Instruction cache and data cache