Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data writing method and device

A technology for writing data and data, applied in the field of writing data, can solve the problems of storage system read and write performance degradation, IO cannot be striped and aligned, and achieve the effect of reducing the number of writing IO and reducing the pressure of reading and writing

Active Publication Date: 2014-03-19
HUAWEI TECH CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the technical problem to be solved by the present invention is that because the IOs of the RAID issued by the cache cannot be aligned in stripes, it is necessary to first read data from the disk to the cache when performing writing, which leads to the problem of degraded read and write performance of the storage system

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
  • Data writing method and device
  • Data writing method and device
  • Data writing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] Various exemplary embodiments, features, and aspects of the invention will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures indicate functionally identical or similar elements. While various aspects of the embodiments are shown in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.

[0055] The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.

[0056] In addition, in order to better illustrate the present invention, numerous specific details are given in the specific embodiments below. It will be understood by those skilled in the art that the present invention may be practiced without certain of the specific details. In some instances, methods, means, components and circuits well kn...

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 writing method and device. The method comprises the steps that the number of first sub-data block sets in a data block is determined, wherein data stored in each sub-data block in the first sub-data block sets are all dirty data; when the number of the first sub-data block sets exceeds a threshold value, second sub-data block sets are determined, wherein the second sub-data sets are the set of continuous sub-data blocks where the data stored in the first sub-data block and the data stored in the last sub-data block are all dirty data; when the number of the second sub-data block sets does not exceed the threshold value, all the second sub-data block sets in the data block respectively generate a first data writing request, and the first data writing requests are sent to a storer; when the number of the second sub-data block sets exceeds the threshold value, all the second sub-data block sets in the data block generate a second data writing request, and the second data writing request is sent to the storer. According to the data writing method and device, in the writing-in process, the data does not need to be read from a disk to a cache, and reading-writing pressure on RAID is relieved.

Description

technical field [0001] The present invention relates to the field of storage, and in particular, to a method and device for writing data. Background technique [0002] Cache (English: cache) and Inexpensive Redundant Array of Inexpensive Drivers (English: Redundant Array of Inexpensive Drivers, abbreviation: RAID) are two important modules in a storage system. Among them, the cache, as the performance accelerator of the storage system, can well shield the delay of the array and make the input and output (English: Input and Output, abbreviation: IO) of the host more friendly to access the hard disk. The principle of RAID is to combine multiple relatively cheap hard disks into a hard disk array group, so that the performance can reach or even exceed an expensive hard disk with huge capacity, and with the design of data distributed arrangement, the security of data is improved. Depending on the version selected, compared with a single hard drive, RAID can not only increase sto...

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): G06F12/08G06F12/0871
CPCG06F12/0871G06F2212/1024
Inventor 董浩姚建业
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products