Definition

L2 cache is a static RAM memory that the central processing unit uses to store frequently used instructions and data. Its purpose is to improve the CPU’s data access speed by avoiding sluggish RAM memory access.

When the CPU wants to access data, it starts with the cache. If the information is available here, it doesn’t have to access the slower primary memory.

Memory Hierarchy in Modern Computer Systems