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

Cache-based cache data processing method, storage medium and chip

A technology for caching data and processing methods, which is applied in cache-based cache data processing, storage media and chip fields, and can solve problems such as reducing data access efficiency, cost, and excessive loading time

Active Publication Date: 2021-12-14
SHENZHEN BLUETRUM TECH CO LTD
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the application scenario where the main device accesses the memory continuously, the existing cache elimination algorithm is easy to eliminate the cached data whose starting address of the memory block is continuous and corresponds to one or more memories. However, the cache controller will When the cached data with continuous block start addresses and corresponding to multiple memories is loaded from the memory to the cache, it takes a lot of loading time
When the above-mentioned multiple cached data are eliminated, and the master device needs to use the above-mentioned multiple cached data next time, the cache controller needs more time to load it from the memory into the cache, thereby reducing the data access efficiency

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
  • Cache-based cache data processing method, storage medium and chip
  • Cache-based cache data processing method, storage medium and chip
  • Cache-based cache data processing method, storage medium and chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0059] It should be noted that, if there is no conflict, various features in the embodiments of the present invention may be combined with each other, and all of them are within the protection scope of the present invention. In addition, although the functional modules are divided in the schematic diagram of the device, and the logical order is shown in the flowchart, in some cases, the division ...

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

The invention relates to the technical field of data caching, and discloses a cache-based cache data processing method, a storage medium and a chip. The cache-based cache data processing method comprises the following steps: traversing a first address query table of a first cache queue; according to the memory block initial address of each cache line, determining the cache line meeting a memory address continuity condition as a candidate cache line; and processing the cache data of each candidate cache line according to the cache length of each candidate cache line and a preset length threshold. According to the method, the cache data of each candidate cache line can be processed by combining the cache length of each candidate cache line according to the continuity of the initial address of the memory block, so that the cache data of a plurality of cache lines with continuous addresses are prevented from being easily eliminated when the cache data are eliminated, and when the next access is carried out, a fact that the cache data of the plurality of cache lines which are brushed off and have continuous addresses are loaded by spending more loading time is prevented.

Description

technical field [0001] The invention relates to the technical field of data cache, in particular to a cache-based cache data processing method, storage medium and chip. Background technique [0002] Cache memory (cache) technology is one of the core technologies in modern processor design, which effectively solves the matching problem between processing speed and memory speed. Cache is used to cache cached data (cache data) in memory. When the main device accesses the memory, it can be transferred to the cache for access, and the cached data is fetched from the cache. When the cache storage space is full, the cached data loaded in the cache needs to be eliminated. [0003] The prior art can provide various cache elimination algorithms to eliminate cached data, but the existing cache elimination algorithms all determine the cache status of a single cache line in isolation, and determine whether to eliminate the single cache line according to the cache status of a single cac...

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): G06F12/0877G06F12/0895G06F12/121
CPCG06F12/0877G06F12/0895G06F12/121G06F2212/1024Y02D10/00
Inventor 谢林庭卢知伯
Owner SHENZHEN BLUETRUM TECH CO LTD