What is the difference between memory and cache?

Source: Internet
Author: User

Cache is integrated into the CPU and used as storage support for CPU operations. Because of the CPU chip area and cost, the cache is very small. The cache is usually only a few MB. The operation frequency of the cache in the CPU is extremely high. It is generally the same as that of the processor, and the working efficiency is far greater than the system memory and hard disk. In actual work, the CPU often needs to read the same data block repeatedly, and the increasing cache capacity can greatly improve the data read hit rate inside the CPU, instead of searching for data in the memory or hard disk, to improve system performance. The memory is used as the storage support between the CPU and the hard disk. Plug in the memory slot of the motherboard. The current memory is generally 1 ~ 2G. That is, 1g = 1024m, which is a bridge to communicate with the CPU. All programs in the computer run in the memory, so the memory performance has a great impact on the computer. Memory (memory) is also called internal memory. It is used to temporarily store computing data in the CPU and data exchanged with external memory such as the hard disk. As long as the computer is running, the CPU transfers the data to be computed to the memory for computation. After the computation is completed, the CPU sends the result, the memory operation also determines the computer's stable operation.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.