Supercharge Your Innovation With Domain-Expert AI Agents!

Method, device, and non-volatile computer-readable storage medium for controlling cache brushing

A technology for caching and flashing disks, applied in computing, memory systems, instruments, etc., to solve problems such as reduced performance of flashing disk operations

Active Publication Date: 2019-01-11
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method, device and non-volatile computer-readable storage medium for controlling cache flashing, which are used to solve the problem in the prior art that when multiple caches perform flashing operations, the performance of flashing operations will be reduced.

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
  • Method, device, and non-volatile computer-readable storage medium for controlling cache brushing
  • Method, device, and non-volatile computer-readable storage medium for controlling cache brushing
  • Method, device, and non-volatile computer-readable storage medium for controlling cache brushing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the Some, but not all, embodiments are invented.

[0069] figure 1 A schematic structural diagram of Embodiment 1 of the application scenario of the method for controlling cache flashing provided by the present invention, as shown in figure 1 As shown, the first cache 20 is used to store the data of the first host 01, the second cache 21 is used to store the data of the second host 02, and the third cache 22 is used to store the data of the third host 03, wherein the first cache 20. The second cache 21 and the third cache 22 share a low-speed storage device 30 .

[0070] The first cache 20, the second cache 21, and the third...

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 provides a method and device for controlling caches to brush and a readable storage medium of a non-volatile computer. The method comprises following steps: respectively determining brush priorities of a first cache and a second cache; distributing a first write time slice for the first cache according to the write priority of the first cache; and distributing a second write time slice for the second cache according to the brush priority of the second cache. The method and device for controlling caches to brush and the readable storage medium of the non-volatile computer have following beneficial effects: the first cache can only brush within the first write time slice and the second cache can only brush within the second write time slice so as to avoid mutual interference for write operation among all the caches, thereby improving performance of write operation.

Description

technical field [0001] The present invention relates to the technical field of data storage, in particular to a method, device and non-volatile computer-readable storage medium for controlling cache flashing. Background technique [0002] In order to make up for the huge performance difference between low-speed storage devices and high-speed computing devices, low-speed storage devices (such as disks) need to use cache devices to temporarily cache data for processing by computing devices. [0003] In the prior art, when the amount of data in the cache device reaches a threshold, the data needs to be written into the low-speed storage device. Among them, the operation of writing the data in the cache device to the low-speed storage device is called flushing, and the data that needs to be flushed usually includes the data cached in the cache that has not been written to the low-speed storage device (that is, the cached data to be written) and Data that was read from a slow st...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/0811
Inventor 刘叙友明亮
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More