What is L1 cache?
The
Mezzache level 1 or L1 is a special, very fast memory built into the central processing unit (CPU) that helps facilitate your computer's performance. By loading frequently used bits of data into the L1 cache, the computer can process the requirements faster. Most computers also have L2 and L3 cache, which are slower than L1, but faster than memory with random access (RAM).
When we require programs or files from a standard hard disk, the device must search the internal discs for information by moving the head mechanism through the plates, roughly the analogy way of the needle reads the phonograph. In the case of the disk unit, however, there are more plates and the head is magnetic and reads at very high speed. However, the standard hard drive is the slowest storage device on the computer, the compact disk leaves aside.
We normally consider RAM quite fast because it is much faster than hard drives. RAM is an area of temporary possession that becomes active when computer boyou. Computers usually have 1-4 gigabytes (GB) RAM. Loading often the required programs, files, images, and other items into RAM, the computer does not have to search the hard drive to get information about the following requirements.
Although this is a good strategy, the CPU can work faster than RAM and to accelerate things you can think about L1, L2, and L3 as Go-Betweens, which expect what RAM will be made, and hold these data ready. When the request comes, the CPU first checks the L1 cache, follows the L2 and L3 cache (if present). If the CPU finds the required data in the cache, it is a hit cache , and if not, it is cache and further searches RAM, followed by a hard disk. The aim is to maximize hits and minimize errors that slow performance.
While today the CPU is built into the L1 cache, it can also live alongside CPU on older originíčích. Kachy L2 can be built into CPU or present on the motherboard along with L3 cache. In some cases, the L3 cache is incorporated into the CPU. Unlike RAM, the cache is not expandable.