Fit Presentation(Class)
Fit Presentation(Class)
Computer Memory
Also known as main memory, it's the computer's Stores data persistently, even when the computer is
primary working memory. It's fast, volatile, and off. It's slower but less expensive than primary
directly accessible by the CPU. Examples include memory. Examples include hard drives, SSDs, and
RAM (Random Access Memory). flash drives.
Importance of Memory in Computing
1 Program Execution 2 Multitasking
Memory stores program instructions and data Allows multiple programs to run simultaneously
for the CPU to access. by allocating memory to each.
RAM stores the data which the user currently uses or as we say it stores the data
temporary in it. RAM needs power or electricity to work, when the computer power is
turned off then all the data in it will be erased automatically.
Random Access Memory
(RAM) and its Types
DRAM (Dynamic RAM) SRAM (Static RAM)
A faster and more expensive
The most common type of type of RAM that holds data
RAM, it's volatile and requires without refreshing. It's used in
periodic refresh to retain data. situations requiring high speed
It's used in most computers and low latency, like CPU
due to its cost-effectiveness. caches.
L1 Cache
The smallest and fastest level of cache, it's directly integrated with
the CPU core.
L2 Cache
Larger and slower than L1 cache, it's usually shared by multiple CPU cores.
L3 Cache
The largest and slowest level of cache, it's shared by all CPU cores
on the same processor.
A memory unit is a collection of storage cells/words together with
associated circuits need to transfer data/information in and out of
storage.
MEMORY HEIRARCHY
Memory hierarchy refers to a structured
arrangement of different types of
memory storage in a computer system,
organized by their speed, cost, and size.
The hierarchy is designed to balance
Performance and cost by using various
types of memory, each optimized for specific roles.
Memory Hierarchy
Level Speed Capacity Cost
2 Logical Address
The address used by the CPU to access memory. It's
translated to a physical address by the memory
management unit.
3 Memory Access
The process of reading or writing data to a specific
memory location. It involves specifying the address and
the data to be accessed.
Memory Management Techniques
Segmentation Paging
Dividing memory into logical segments, each with a Dividing memory into fixed-size blocks called pages.
unique address space. It allows for better It allows for efficient memory allocation and prevents
organization and protection of memory. fragmentation.
Conclusion and Key
Takeaways
Computer memory plays a critical role in computer
performance. Understanding the different types of memory
and their characteristics is essential for effective system
design and optimization.
THANK YOU