memory hierarchy Flashcards
registers
group of flip-flops
each flip flop in a register is capable of holding
one bit of information
an n-bit register
group of n flip flops; is capable of storing binary info of n-bits
cache memory
chip-based computer component; makes retrieving data from memory more efficient; acts as temporary storage area for processor to retrieve data
Random Access Memory (RAM)
main memory in a computer; hardware where operating system (OS), applications, & data currently in use are kept for easy access by device processor
hard disks
traditional storage devices with spinning platters that read and write data
SSDs
use new technology that stores data on instantly accessible memory chips; faster, smaller, more durable
memory hierarchy worst (large, slow, expensive) to best
tertiary storage (remote storage, optical, backups) –> secondary storage (disk drives, SSDs) –> primary storage (main memory (RAM)) –> cache –> CPU registers
what is caching for
stores data from slower sources into faster and closer memory for quick availability
(cache) temporal locality
something will likely be reused
(cache) spacial locality
something close to something you use is likely to be reused