The information stored in the cache memory is: the contents of frequently accessed RAM locations and the storage addresses of these data items. Cache memory Cache can save a part of the data that has just been used or recycled by the CPU. If the CPU needs to use this part of the data again, it can be called directly from the Cache, thus avoiding repeated access to the data.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
The information stored in the cache memory is: the contents of frequently accessed RAM locations and the storage addresses of these data items.
Cache Cache is a small but high-speed memory located between the CPU and the main memory DRAM (Dynamic Random Access Memory). It is usually composed of SRAM (Static Random Access Memory). )composition. It is a small-capacity but high-speed memory located between the CPU and the memory.
The speed of the CPU is much higher than that of the memory. When the CPU directly accesses data from the memory, it has to wait for a certain period of time, while the Cache can save a part of the data that the CPU has just used or recycled. If the CPU needs to access data again, When using this part of the data, it can be called directly from the Cache, thus avoiding repeated access to data and reducing the waiting time of the CPU, thus improving the efficiency of the system.
Cache is divided into L1Cache (level one cache) and L2Cache (level two cache). L1Cache is mainly integrated inside the CPU, while L2Cache is integrated on the motherboard or CPU.
The function of Cache is to increase the rate of CPU data input and output. Cache capacity is small but fast, memory speed is low but capacity is large. By optimizing the scheduling algorithm, the performance of the system will be greatly improved, as if the storage system capacity is equivalent to the memory and the access speed is similar to the Cache.
If you want to read more related articles, please visitPHP Chinese website! !
The above is the detailed content of What information is stored in cache memory. For more information, please follow other related articles on the PHP Chinese website!