cache cache buffer memory 超高速缓冲存储器
If the memory cache is used only for performance reasons, then storing data in memory cache might not be such a big problem.
如果只是由于性能方面的原因而使用内存缓存,则在内存缓存中存储数据可能不会是个大问题。
If the data or instruction is not present in the cache, or if the cache line is invalidated, the CPU updates its cache by reading the data from the main memory.
如果数据或指令没有出现在高速缓存中,或者如果高速缓存线路无效的时候,CPU通过从主存储器中读数据来更新它的高速缓存。
By separating the two elements of the structure into two different cache lines, modification of one cache line does not cause another cache line to be read in again from the memory.
通过把该数据结构的两个元素分离到两条不同的高速缓存线路,一条高速缓存线路的修改就不会导致再次从存储器读入另外一条高速缓存线路。
应用推荐