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

Method and device for brushing data, electronic equipment and storage medium

A technology for dirty data and cached data, which is applied to electronic equipment and storage media, a method of brushing dirty data, and in the field of devices, which can solve problems such as affecting business IO, untimely cleaning of dirty data, and data stored in the cache disk.

Active Publication Date: 2022-05-06
CHINA TELECOM CLOUD TECH CO LTD
View PDF16 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the business IO load is relatively large, if fixed parameters are used for scrubbing, it is likely that the scrubbing process will not be timely, and a large amount of data will be stored in the cache disk, affecting business IO.

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 and device for brushing data, electronic equipment and storage medium
  • Method and device for brushing data, electronic equipment and storage medium
  • Method and device for brushing data, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] In order to enable ordinary persons in the art to better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.

[0060] combine figure 1 As shown, the data generated by multiple devices is stored in memory, and the memory includes using a high-performance SSD as the C-side cache disk of bcache, and using a large-capacity low-speed disk (such as a HDD mechanical disk) as the B-side data disk of bcache . Use the writeback mode for data storage, store all data lines in the SSD cache disk, and then perform dirty processing, and store the dirty data in the back-end HDD disk.

[0061] For the cleaning treatment, the embodiment of the present invention proposes a solution, which will be described in detail below with reference to the accompanying drawings.

[0062] combine figure 2 As shown, the embodiment ...

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 a data brushing method and device, electronic equipment and a storage medium, relates to the technical field of storage, and provides a method for predicting the size of a service IO load in any one brushing time period for any one brushing time period; before any one dirty brushing time period starts, determining a target dirty brushing parameter according to the number of dirty data in the cache data in the cache disk; according to a corresponding relation between the size of the business IO load and the value of the target scrubbing parameter, determining the value of the target scrubbing parameter corresponding to the size of the business IO load in any predicted scrubbing time period; and according to the determined value of the target dirt brushing parameter, performing dirt brushing processing on the cache data in the cache disk in any one dirt brushing time period. According to the method, the value of the target dirt brushing parameter can be dynamically adjusted, and the dirt brushing efficiency is improved.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a method, device, electronic equipment and storage medium for brushing dirty data. Background technique [0002] The traditional HDD (Hard Disk Drive) is cheap and has a large capacity, but it has a high delay and is easy to reach the bottleneck of read and write performance; while the SSD (Solid State Drive) has very high read and write performance, but their The capacity is relatively smaller and the price is more expensive. [0003] Using block device cache technology to combine high-speed solid-state hard disks and traditional mechanical hard disks into a hybrid disk is an optimized solution that takes into account both performance and cost. Bcache (Block cache, block cache) is a high-performance SSD cache technology that is widely used at present. It is implemented based on the Linux kernel mode and supports multiple HDD disks using the same SSD as a cache disk. Bcache su...

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 Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/061G06F3/0652G06F3/0679Y02D10/00
Inventor 向达刘宽万文聪夏勇段江南黄景平
Owner CHINA TELECOM CLOUD TECH CO LTD