CN109783034A - A kind of method and its system promoting disk array treatment effeciency - Google Patents

A kind of method and its system promoting disk array treatment effeciency Download PDF

Info

Publication number
CN109783034A
CN109783034A CN201910111518.5A CN201910111518A CN109783034A CN 109783034 A CN109783034 A CN 109783034A CN 201910111518 A CN201910111518 A CN 201910111518A CN 109783034 A CN109783034 A CN 109783034A
Authority
CN
China
Prior art keywords
data
disk array
odd check
nand
write
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910111518.5A
Other languages
Chinese (zh)
Other versions
CN109783034B (en
Inventor
马越
冯元元
周晨杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ramaxel Technology Shenzhen Co Ltd
Original Assignee
Ramaxel Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ramaxel Technology Shenzhen Co Ltd filed Critical Ramaxel Technology Shenzhen Co Ltd
Priority to CN201910111518.5A priority Critical patent/CN109783034B/en
Publication of CN109783034A publication Critical patent/CN109783034A/en
Application granted granted Critical
Publication of CN109783034B publication Critical patent/CN109783034B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The present invention relates to a kind of methods and its system for promoting disk array treatment effeciency;Wherein, the method for disk array treatment effeciency is promoted, comprising the following steps: S1, disk array carry out write operation, data carried out storage transmission;Data are carried out exclusive or processing by S2, and for a part of data conversion at parity data, remaining data keep former data;NAND is written in former data by S3, and parity data is linked into even-odd check waiting list;S4 judges whether host is idle;If so, into S6;If it is not, then entering S5;S5, judges whether even-odd check queue writes all over;If so, into S6;Continue to judge if it is not, then returning;S6 writes parity data in NAND, and discharges even-odd check queue.The present invention improves the efficiency of disk array, reduces the write-in of invalid data, to reduce SSD loss, extends the service life of NAND, being capable of preferably meet demand.

Description

A kind of method and its system promoting disk array treatment effeciency
Technical field
The present invention relates to solid state hard disk technical fields, more specifically refer to a kind of side for promoting disk array treatment effeciency Method and its system.
Background technique
As the technology of SSD develops, tradition 2D Nand is replaced using TLC and with 3D Nand Flash in SSD The ratio of Flash is higher and higher.Although new technology reduces solid state hard disk cost, it is more next that data stability is also brought along at the same time Poorer negative effect;The importance of RAID (disk array) is wherein added with regard to especially prominent.
The definition of RAID be " it is cheap and with fault-tolerant ability disk array ", it can improve storage performance and can By property, the main parallel processing and redundancy for utilizing I/O, nowadays RAID technique is widely applied in storage.
But the RAID technique used now is that the data of NAND will be written, and is handled and is calculated by RAID Data and Parity data are written in NAND together again for Parity (even-odd check) data, ineffective, are unable to satisfy demand.
Summary of the invention
It is an object of the invention to overcome the deficiencies of existing technologies, a kind of method for promoting disk array treatment effeciency is provided And its system.
To achieve the above object, the present invention is used in lower technical solution:
A method of promoting disk array treatment effeciency, comprising the following steps:
S1, disk array carry out write operation, data are carried out storage transmission;
Data are carried out exclusive or processing by S2, and for a part of data conversion at parity data, remaining data keep former number According to;
NAND is written in former data by S3, and parity data is linked into even-odd check waiting list;
S4 judges whether host is idle;If so, into S6;If it is not, then entering S5;
S5, judges whether even-odd check queue writes all over;If so, into S6;Continue to judge if it is not, then returning;
S6 writes parity data in NAND, and discharges even-odd check queue.
Its further technical solution are as follows: the S1 includes:
S11, disk array carry out write operation;
Data are carried out storage transmission by S12.
Its further technical solution are as follows: the S3 includes:
NAND is written in former data by S31;
Parity data is linked into even-odd check waiting list by S32.
Its further technical solution are as follows: the S6 includes:
S61 writes parity data in NAND;
S62 discharges even-odd check queue.
A kind of system promoting disk array treatment effeciency, including memory cell is write, processing unit writes sheet member, and first sentences Disconnected unit, second judgment unit, and write-in releasing unit;
It is described to write memory cell, write operation is carried out for disk array, data are subjected to storage transmission;
The processing unit, for data to be carried out exclusive or processing, a part of data conversion is left at parity data Data keep former data;
Described to write sheet member, for NAND to be written in former data, parity data is linked into even-odd check waiting list;
First judging unit, for judging whether host is idle;
The second judgment unit, for judging whether even-odd check queue writes all over;
Said write releasing unit for writing parity data in NAND, and discharges even-odd check queue.
Its further technical solution are as follows: the memory cell of writing includes writing module and storage transmission module;
The writing module carries out write operation for disk array;
The storage transmission module, for data to be carried out storage transmission.
Its further technical solution are as follows: the sheet member of writing includes writing module and is linked into module;
The write module, for NAND to be written in former data;
It is described to be linked into module, for parity data to be linked into even-odd check waiting list.
Its further technical solution are as follows: said write releasing unit includes even-odd check writing module and release module;
The even-odd check writing module, for writing parity data in NAND;
The release module, for discharging even-odd check queue.
Compared with the prior art, the invention has the advantages that: the workflow by optimizing disk array improves magnetic The efficiency of disk array, reduces the write-in of invalid data, to reduce SSD loss, extends the service life of NAND, can be preferably Meet demand.
The invention will be further described in the following with reference to the drawings and specific embodiments.
Detailed description of the invention
Fig. 1 is a kind of method flow diagram for promoting disk array treatment effeciency of the present invention;
Fig. 2 is a kind of system block diagram for promoting disk array treatment effeciency of the present invention.
10 write 11 writing module of memory cell
12 storage 20 processing units of transmission module
30 write first 31 writing modules of sheet
32 are linked into 40 first judging unit of module
Releasing unit is written in 50 second judgment units 60
61 even-odd check writing module, 62 release module
Specific embodiment
In order to more fully understand technology contents of the invention, combined with specific embodiments below to technical solution of the present invention into One step introduction and explanation, but not limited to this.
Such as Fig. 1 to specific embodiment shown in Fig. 2, wherein the invention discloses a kind of promotion disk array treatment effeciencies Method, comprising the following steps:
S1, disk array carry out write operation, data are carried out storage transmission;
Data are carried out exclusive or processing by S2, and for a part of data conversion at parity data, remaining data keep former number According to;
NAND is written in former data by S3, and parity data is linked into even-odd check waiting list;
S4 judges whether host is idle;If so, into S6;If it is not, then entering S5;
S5, judges whether even-odd check queue writes all over;If so, into S6;Continue to judge if it is not, then returning;
S6 writes parity data in NAND, and discharges even-odd check queue.
Wherein, the S1 includes:
S11, disk array carry out write operation;
Data are carried out storage transmission by S12.
Wherein, the S3 includes:
NAND is written in former data by S31;
Parity data is linked into even-odd check waiting list by S32.
Further, the S6 includes:
S61 writes parity data in NAND;
S62 discharges even-odd check queue.
The present invention is relative to present RAID processing method, difference: the odd even school that script is written with former data It tests data and carries out caching process, temporarily different former data are written in NAND together, but hang in even-odd check queue, and will count According to parity data is labeled as, Host Idle or queue is waited to be written in NAND again when being occupied full, it can be with by this method The effective parity data for reducing write-in NAND, if being invalid data when due to the data not error correction, to improve The working efficiency of RAID, while the number of data write-in NAND is also relatively reduced, the loss of NAND is reduced, NAND is extended Service life.
As shown in Fig. 2, the invention also discloses a kind of systems for promoting disk array treatment effeciency, including write memory cell 10, processing unit 20 writes sheet member 30, the first judging unit 40, second judgment unit 50, and write-in releasing unit 60;
It is described to write memory cell 10, write operation is carried out for disk array, data are subjected to storage transmission;
The processing unit 20, for data to be carried out exclusive or processing, a part of data conversion is remained at parity data Under data keep former data;
Described to write sheet member 30, for NAND to be written in former data, parity data is linked into even-odd check waiting list In;
First judging unit 40, for judging whether host is idle;
The second judgment unit 50, for judging whether even-odd check queue writes all over;
Said write releasing unit 60 for writing parity data in NAND, and discharges even-odd check queue.
Wherein, the memory cell 10 of writing includes writing module 11 and storage transmission module 12;
The writing module 11 carries out write operation for disk array;
The storage transmission module 12, for data to be carried out storage transmission.
Wherein, the sheet member 30 of writing includes writing module 31 and is linked into module 32;
The write module 31, for NAND to be written in former data;
It is described to be linked into module 32, for parity data to be linked into even-odd check waiting list.
Wherein, said write releasing unit 60 includes even-odd check writing module 61 and release module 62;
The even-odd check writing module 61, for writing parity data in NAND;
The release module 62, for discharging even-odd check queue.
The present invention improves the efficiency of disk array, reduces the write-in of invalid data, to reduce SSD loss, extends It service life of NAND, being capable of preferably meet demand.
It is above-mentioned that technology contents of the invention are only further illustrated with embodiment, in order to which reader is easier to understand, but not It represents embodiments of the present invention and is only limitted to this, any technology done according to the present invention extends or recreation, by of the invention Protection.Protection scope of the present invention is subject to claims.

Claims (8)

1. a kind of method for promoting disk array treatment effeciency, which comprises the following steps:
S1, disk array carry out write operation, data are carried out storage transmission;
Data are carried out exclusive or processing by S2, and for a part of data conversion at parity data, remaining data keep former data;
NAND is written in former data by S3, and parity data is linked into even-odd check waiting list;
S4 judges whether host is idle;If so, into S6;If it is not, then entering S5;
S5, judges whether even-odd check queue writes all over;If so, into S6;Continue to judge if it is not, then returning;
S6 writes parity data in NAND, and discharges even-odd check queue.
2. a kind of method for promoting disk array treatment effeciency according to claim 1, which is characterized in that the S1 packet It includes:
S11, disk array carry out write operation;
Data are carried out storage transmission by S12.
3. a kind of method for promoting disk array treatment effeciency according to claim 1, which is characterized in that the S3 packet It includes:
NAND is written in former data by S31;
Parity data is linked into even-odd check waiting list by S32.
4. a kind of method for promoting disk array treatment effeciency according to claim 1, which is characterized in that the S6 packet It includes:
S61 writes parity data in NAND;
S62 discharges even-odd check queue.
5. a kind of system for promoting disk array treatment effeciency, which is characterized in that including writing memory cell, processing unit writes sheet Member, the first judging unit, second judgment unit, and write-in releasing unit;
It is described to write memory cell, write operation is carried out for disk array, data are subjected to storage transmission;
The processing unit, for data to be carried out exclusive or processing, a part of data conversion is at parity data, remaining number According to the former data of holding;
Described to write sheet member, for NAND to be written in former data, parity data is linked into even-odd check waiting list;
First judging unit, for judging whether host is idle;
The second judgment unit, for judging whether even-odd check queue writes all over;
Said write releasing unit for writing parity data in NAND, and discharges even-odd check queue.
6. a kind of system for promoting disk array treatment effeciency according to claim 5, which is characterized in that described to write deposit receipt Member includes writing module and storage transmission module;
The writing module carries out write operation for disk array;
The storage transmission module, for data to be carried out storage transmission.
7. a kind of system for promoting disk array treatment effeciency according to claim 5, which is characterized in that described to write sheet Member includes writing module and is linked into module;
The write module, for NAND to be written in former data;
It is described to be linked into module, for parity data to be linked into even-odd check waiting list.
8. a kind of system for promoting disk array treatment effeciency according to claim 5, which is characterized in that said write is released Putting unit includes even-odd check writing module and release module;
The even-odd check writing module, for writing parity data in NAND;
The release module, for discharging even-odd check queue.
CN201910111518.5A 2019-02-12 2019-02-12 Method and system for improving processing efficiency of disk array Expired - Fee Related CN109783034B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910111518.5A CN109783034B (en) 2019-02-12 2019-02-12 Method and system for improving processing efficiency of disk array

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910111518.5A CN109783034B (en) 2019-02-12 2019-02-12 Method and system for improving processing efficiency of disk array

Publications (2)

Publication Number Publication Date
CN109783034A true CN109783034A (en) 2019-05-21
CN109783034B CN109783034B (en) 2022-03-25

Family

ID=66504128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910111518.5A Expired - Fee Related CN109783034B (en) 2019-02-12 2019-02-12 Method and system for improving processing efficiency of disk array

Country Status (1)

Country Link
CN (1) CN109783034B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897495A (en) * 2020-07-28 2020-11-06 深圳忆联信息系统有限公司 Implementation method and device for improving SSD writing performance, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186438A (en) * 2013-04-02 2013-07-03 浪潮电子信息产业股份有限公司 Method of improving disk array data reconstruction efficiency
CN104956311A (en) * 2013-10-09 2015-09-30 株式会社日立制作所 Storage system and storage control method
US9891826B1 (en) * 2014-09-24 2018-02-13 SK Hynix Inc. Discard command support in parity based redundant array of flash memory disk

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186438A (en) * 2013-04-02 2013-07-03 浪潮电子信息产业股份有限公司 Method of improving disk array data reconstruction efficiency
CN104956311A (en) * 2013-10-09 2015-09-30 株式会社日立制作所 Storage system and storage control method
US9891826B1 (en) * 2014-09-24 2018-02-13 SK Hynix Inc. Discard command support in parity based redundant array of flash memory disk

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897495A (en) * 2020-07-28 2020-11-06 深圳忆联信息系统有限公司 Implementation method and device for improving SSD writing performance, computer equipment and storage medium
CN111897495B (en) * 2020-07-28 2023-07-04 深圳忆联信息系统有限公司 Implementation method, device, computer equipment and storage medium for improving SSD writing performance

Also Published As

Publication number Publication date
CN109783034B (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CA3073686C (en) Persistent writes for non-volatile memory
TW201303590A (en) Apparatus including memory system controllers and related methods
US20150293856A1 (en) Disk Array Flushing Method and Disk Array Flushing Apparatus
CN103019893A (en) Multi-disk fault-tolerant two-dimensional hybrid disk RAID4 system architecture and read-write method thereof
CN102750195A (en) Method for cluster file system data fault tolerance
CN103403667A (en) Data processing method and device
US20160210210A1 (en) Solid-state storage system, apparatus and method of writing data
CN109783034A (en) A kind of method and its system promoting disk array treatment effeciency
CN103488547A (en) Rapid reconstruction method of RAID group fault hard disk
CN101794246B (en) Backup storage system, backup system, data backup method and recovery method
CN103823766B (en) high-efficiency storage method of Flash memory
CN103034559A (en) PQ (Parity Qualification) inspection module and inspection method based on RDMA (Remote Direct Memory Access) architecture design
CN110647476B (en) Method, device and equipment for writing data in solid state disk and storage medium
CN101551779B (en) Computer and data storing method
WO2020155544A1 (en) Raid passive acceleration device in ssd master control and acceleration method
CN107807790B (en) Solid state disk data writing method
CN105260146A (en) Setting method and device capable of saving energy for disk
CN102750342A (en) Method for maintaining data consistency for cluster file system
CN103516812A (en) Method for accelerating cloud storage internal data transmission
CN108121509A (en) The method and SSD of RAID efficiency during a kind of raising SSD read operations
CN106648458A (en) Memorysystem with a plurality of disks and a plurality of SSDs
CN103744613A (en) I/O writing delay reducing system and method
CN103049218A (en) Data storage method and controller
US9251054B2 (en) Implementing enhanced reliability of systems utilizing dual port DRAM
WO2020186524A1 (en) Storage and checking method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220325

CF01 Termination of patent right due to non-payment of annual fee