Unlock instant, AI-driven research and patent intelligence for your innovation.

A cache management method, cache controller and computer system

A computer system and cache management technology, applied in the field of communication, can solve problems affecting the efficiency of cacheline replacement, large system overhead, etc.

Active Publication Date: 2020-07-07
HUAWEI TECH CO LTD
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Therefore, in the prior art, during the cache line replacement process, the controller needs to traverse all the original cache lines and select a cache line to be replaced according to certain calculation rules, which will cause a large system overhead, And affect the efficiency of cache line replacement

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A cache management method, cache controller and computer system
  • A cache management method, cache controller and computer system
  • A cache management method, cache controller and computer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Embodiments of the present invention provide a cache management method, a cache controller, and a computer system, which can effectively reduce system overhead during cache line replacement and improve cache line replacement efficiency.

[0034] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein can be practiced in sequences other than those illustrated or described herein.

[0035] see figure 1 , figure 1 A computer system architecture diagram provided by an embodiment of the present invention. like figure 1 As shown, Cache is a small-capacity memory between the CPU and the main memory, and its access speed is faster than the main...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A cache management method, cache controller and computer system. In this method, the cache controller obtains the operation instruction, and when the destination address in the operation instruction does not hit any cache line cache line in the cache of the computer system, and the cache does not include an idle cache line, the cache controller replaces the Select the cache line to be replaced from the set. Wherein, the replacement set includes at least two cache lines. The cache controller eliminates the cache line to be replaced from the cache and stores the cache line obtained from the destination address in the cache. The cache management method can reduce the system overhead of cache line replacement and improve the efficiency of cache line replacement.

Description

technical field [0001] The present invention relates to the communication field, in particular to a buffer management method, a buffer controller and a computer system. Background technique [0002] The main idea of ​​the cache (Cache) technology is to place commonly used data in the Cache from a storage medium (such as a disk). Since the read and write speed of the Cache is much higher than that of the disk, it can improve the access efficiency of the entire system. [0003] Generally speaking, the performance of the Cache is relatively good, but the capacity is limited, and only part of the accessed data can be cached. In order to make the Cache more efficient, it is necessary to try to make the files involved in the upcoming read and write operations hit in the Cache. How to select the data cached in the Cache (Cache Insertion), and how to select the data to be replaced by the Cache (Cache Replacement), are the two main aspects of Cache management. [0004] The prior ar...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F3/06
CPCG06F3/06G06F12/122G06F2212/1021G06F12/0804G06F12/0871G06F12/121
Inventor 徐君黄永兵王元钢
Owner HUAWEI TECH CO LTD