: How does CPU Cache affect performance?

238 viewsOtherTechnology

: How does CPU Cache affect performance?

In: Technology

2 Answers

Anonymous 0 Comments

The main memory in a computer is slow compared to the processor in the computer. When the processor issues a command to the memory to give it some data it can take tens or hundreds of processor cycles for the requested data to arrive to the processor.

But once the memory starts sending data it can return a bunch of data all in one go. So to mitigate the delay on receiving data, and because most memory accesses are sequential, the processor requests a big chunk of sequential data from the memory in one go and stores it in its own internal super fast memory bank called a cache.

The bigger the cache, the less often the processor has to ask the main memory for data, and the less often the processor gets stuck waiting on the main memory.

You are viewing 1 out of 2 answers, click here to view all answers.