We may earn an affiliate commission when you visit our partners.

Cache Memory

Save
May 1, 2024 3 minute read

Cache memory is a type of high-speed, low-latency memory used to store frequently accessed data from the main memory of a computer system. It acts as a buffer between the processor and the main memory, providing faster access to commonly used instructions and data to improve overall system performance.

History of Cache Memory

The concept of cache memory was first introduced by Maurice Wilkes in 1965 with the IBM 7030 Stretch computer. The initial implementation was known as the scratchpad memory and was small and very expensive. However, it significantly improved the performance of the computer over systems without cache memory. Over the years, cache memory has been refined and optimized, becoming an integral part of modern computer architectures.

Types of Cache Memory

There are several different types of cache memory, each with its own characteristics and use cases:

  • Level 1 (L1) Cache: The L1 cache is the fastest and smallest cache, located on the same chip as the processor. It typically has a very small capacity, measured in kilobytes (KB), and very low access time.
  • Level 2 (L2) Cache: The L2 cache is typically larger than the L1 cache but slower. It is usually found on the same chip as the processor or in a separate chip close to it. L2 cache capacity ranges from tens to hundreds of KB.
  • Level 3 (L3) Cache: The L3 cache is the largest and slowest cache, with a capacity in the megabytes (MB) or even gigabytes (GB) range. It is typically found on the motherboard, separate from the processor.
  • Write-Back Cache: In a write-back cache system, modified data is not immediately written back to the main memory. Instead, it is temporarily stored in the cache until the cache line is replaced, reducing write traffic to the main memory and potentially improving performance.
  • Write-Through Cache: In a write-through cache system, all write operations are immediately mirrored to both the cache and main memory. This ensures data consistency but can result in increased write traffic to the main memory.

Benefits of Cache Memory

Share

Help others find this page about Cache Memory: by sharing it with your friends and followers:

Reading list

We've selected eight books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Cache Memory.
Another comprehensive textbook that covers computer organization and design principles, including cache memory. It provides a balanced overview of the topic, making it suitable for both undergraduate and graduate students.
A specialized textbook that focuses on modern processor design, including cache memory organization and optimization. It provides insights into the latest trends and techniques used in high-performance processor design.
A graduate-level textbook that covers advanced topics in computer architecture, including cache memory design and optimization. It provides a comprehensive overview of the architectural techniques used to achieve high performance in modern computing systems.
A specialized book that focuses on the design and optimization of memory systems, including cache memory. It provides a thorough understanding of the techniques and methodologies used in modern memory system design.
Table of Contents
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser