What is a CPU Cache

January 23rd, 2010 by admin
23
Jan
2010

When you buy a processor, on the details product usually appears a cache specification? What is a CPU cache.It is intended to reduce the average time to access main memory. Stores copies of the data from the most frequently used main memory (ex : RAM) locations.So when the frequently data will be executed there is no spend time, processor or CPU to access memory again, just use the copied data on cache.

Larger the cache the greater the quality of the processor, and affect on the price range of the CPU.One of the the popular type of cache are cpu l3 cache, i7 processor and others.The latency of memory accesses is automatically closed when the processor use the cache to execute data. So it will make your computer more faster and powerful.

Do you understand? If not, read the following text

For your information : to run the task from users, processor requires write to or read from location in a RAM or main memory and it first checks the copied data in the cache. If there are a data in the cache, the CPU immediately writes to or reads from the cache without through the main memory. The conclusion : This way is much faster than reading/write from/to main memory

Look the images below :

In computer modern, There are three independent caches that is used in all of server CPUs and  modern desktop :

  • translation lookaside buffer used to speed up virtual-to-physical address translation for both executable instructions and data.
  • an instruction cache to speed up executable instruction fetch,
  • a data cache to speed up data fetch and store

So when you but processor please read all the specifications includes a cache. The bigger cache will give you a more speed from processor to read from or write to memory and make more data from memory can be stored. So you don’t need to wait while processor execute main memory because it is just read from the cache.

CPU cacheprocessor cache

Leave a Reply