Picture. Cache memory |
Cache memory is very fast memory that is built in a Computer Central Processing Unit (CPU), or placed in a separate chip. The function of cache memory to store instructions that are repeatedly required and can be accessed very quickly to run programs, improving overall system. The advantage of cache memory is that the CPU does not have to use the motherboards system bus for data transfer. Whenever data must be passed to the system bus, the data transfer speed slows motherboard capabilities. CPU can process data much faster by avoiding the bottleneck created by the system bus.
After most of the programs open and running, they use very little resources. When these resources are stored in the cache, the program can operate more quickly and efficiently. Cache in a computer system that is running the CPU with little cache can have lower benchmarks. Cache built into the CPU itself is referred to as Level 1 (L1) cache. Cache is in a separate chip next to the CPU is called Level 2 (L2) cache. Some CPUs have both L1 and L2 cache built-in and assigned as a separate chip cache Level 3 (L3)cache.
Cache built in CPU faster than separate cache. However, a separate cache is still about two times faster than Random Access Memory (RAM). Cache is more expensive than RAM but a motherboard with a built-in cache very well to maximize system performance.
Picture. Cache Disk |
Disk caching apply the same principle to the hard disk cache memory also applies to the CPU. Frequently accessed data on the hard disk is stored in a separate segment of RAM to avoid having to retrieve it from the hard disk repeatedly. In this case, RAM is faster than disc technology used in conventional hard disks. This situation will change however, because the existing hybrid hard disks everywhere. This disc has a built-in flash memory cache. Finally, the hard drive will be 100% similar to a flash drive, eliminating the need for a RAM disk caching, as flash memory is faster than RAM.