0% found this document useful (0 votes)
50 views8 pages

Cache Memory Presentation

Cache memory is a small, high-speed memory located near the CPU that stores frequently accessed data to enhance processing speed. It addresses the bottleneck created by slower main memory (RAM) and comes in different types: L1, L2, and L3, each varying in size and speed. While cache memory improves performance, it has limitations such as size constraints and management complexity.

Uploaded by

oooopuku
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views8 pages

Cache Memory Presentation

Cache memory is a small, high-speed memory located near the CPU that stores frequently accessed data to enhance processing speed. It addresses the bottleneck created by slower main memory (RAM) and comes in different types: L1, L2, and L3, each varying in size and speed. While cache memory improves performance, it has limitations such as size constraints and management complexity.

Uploaded by

oooopuku
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Cache Memory

An Overview of Cache Memory in


Computer Architecture
Introduction to Cache Memory
• • Cache memory is a small, high-speed
memory located close to the CPU.
• • It stores frequently accessed data and
instructions to speed up processing.
• • Acts as a buffer between main memory and
CPU.
Need for Cache Memory
• • Main memory (RAM) is slower compared to
the CPU speed.
• • Frequent data access from RAM creates
bottlenecks.
• • Cache memory provides faster access to
frequently used data, improving performance.
Types of Cache Memory
• 1. **L1 Cache (Level 1)** – Smallest and
fastest, built into the processor.
• 2. **L2 Cache (Level 2)** – Larger and slower
than L1, often integrated into CPU.
• 3. **L3 Cache (Level 3)** – Shared among
processor cores, larger but slower than L2.
How Cache Memory Works
• • The CPU checks cache memory before
accessing RAM.
• • If data is found (cache hit), it is used
immediately.
• • If not found (cache miss), data is fetched
from RAM and stored in the cache.
Cache Mapping Techniques
• 1. **Direct Mapping** – Each block of main
memory maps to a fixed cache location.
• 2. **Fully Associative Mapping** – Any block
of main memory can be placed anywhere in
cache.
• 3. **Set Associative Mapping** –
Combination of direct and fully associative
mapping.
Advantages & Disadvantages of
Cache Memory
• **Advantages:**
• • Increases processing speed.
• • Reduces access time to frequently used
data.
• • Enhances system performance.

• **Disadvantages:**
• • Limited size and expensive.
• • Complex management algorithms.
Conclusion
• • Cache memory plays a crucial role in
speeding up processing.
• • Efficient cache management enhances
system performance.
• • Balancing speed, size, and cost is key in
modern architectures.

You might also like