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

Cache control method and computing device

A cache control and computing device technology, applied in the computer field, can solve problems such as storage device write congestion

Pending Publication Date: 2021-05-25
SHANGHAI BIREN TECH CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this cache replacement strategy leads to the accumulation of a large number of dirty cache lines when the cache refresh (flush) command comes, resulting in congestion for storage device writes

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 control method and computing device
  • Cache control method and computing device
  • Cache control method and computing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0015] As used herein, the term "comprise" and its variants mean open inclusion, ie "including but not limited to". The term "or" means "and / or" unless otherwise stated. The term "based on" means "based at least in part on". The terms "one example embodiment" and "one embodiment" mean "at least one example embodiment." The term "another embodiment" means "at least on...

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 embodiment of the invention relates to a cache control method and a computing device, and relates to the field of computers. The method comprises: if it is determined that an address carried in a storage instruction received from a computing unit is matched with a cache line marked as dirty in a cache, writing the data carried in the storage instruction into the cache line; updating a coverage mask associated with the cache line, the coverage mask indicating write states of a plurality of regions in the cache line, based on the data being written to the regions in the cache line; and if it is determined that the updated coverage mask is full, writing data in the cache line into the storage device, and marking the cache line as valid. Therefore, the refreshing instruction performance of the cache can be improved.

Description

technical field [0001] Embodiments of the present disclosure generally relate to the field of computers, and in particular, to a method and a computing device for cache control. Background technique [0002] In a computer system, a cache is usually located between a computing unit and a storage device, and is used to reduce the time for the computing unit to access the storage device to obtain data. The cache may include a write back cache. For a write-back cache, when the computing unit wants to write data to an address in the storage device, it first checks whether the address exists in the cache. If the address is found in the cache (called a "hit"), the data can only be updated in the cache and the updated area in the cache marked as dirty, avoiding expensive storage accesses. Afterwards, the data in the updated area is written to the storage device when it is ready to be replaced. When data is exchanged and updated between the cache and the storage device, a cache li...

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/0656G06F3/061
Inventor 不公告发明人
Owner SHANGHAI BIREN TECH CO LTD