Memory-Hierarchy-1
Memory-Hierarchy-1
Levels:
• L1 Cache: The smallest and fastest, closest to the CPU
cores.
• L2 Cache: Larger and slightly slower, may be shared
among cores.
• L3 Cache: Even larger and slower, shared by all cores in
multi-core processors.
Buffer
PROM is a type of ROM that can be programmed by the user after purchase.
It's initially blank and can be "burned" with data using a PROM programmer.
Once programmed, the data is permanent and cannot be changed.
Used for applications where fixed data or instructions need to be stored but may need
to be programmed after manufacturing.
EPROM (Erasable Programmable Read-Only Memory):
• Flash memory is a type of EEPROM that can store multiple bits in a single cell,
making it more space-efficient.
• It's widely used in memory cards, USB drives, solid-state drives (SSDs), and other
portable storage devices.
• Flash memory can be written and erased in blocks, making it suitable for both
storage and data transfer.
Secondary Storage
Location: Connected to the motherboard, often via interfaces
like SATA or NVMe.
Speed: Slower than RAM.
Capacity: Much larger (hundreds of gigabytes to terabytes).
Cost: Lower per bit.
Purpose: Stores data and programs permanently until needed.
Secondary storage includes hard drives (HDDs), solid-state
drives (SSDs), and external storage devices. This storage is
non-volatile, meaning it retains data even when the power is
off.
Secondary Memory