CN102446261A - Method for increasing writing efficiency of RAID (Redundant Array of Independent Disks) - Google Patents

Method for increasing writing efficiency of RAID (Redundant Array of Independent Disks) Download PDF

Info

Publication number
CN102446261A
CN102446261A CN2011103601995A CN201110360199A CN102446261A CN 102446261 A CN102446261 A CN 102446261A CN 2011103601995 A CN2011103601995 A CN 2011103601995A CN 201110360199 A CN201110360199 A CN 201110360199A CN 102446261 A CN102446261 A CN 102446261A
Authority
CN
China
Prior art keywords
user data
raid
write
data
writing
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.)
Pending
Application number
CN2011103601995A
Other languages
Chinese (zh)
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN2011103601995A priority Critical patent/CN102446261A/en
Publication of CN102446261A publication Critical patent/CN102446261A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention provides a method for increasing writing efficiency of RAID (Redundant Array of Independent Disks), comprising the steps of: firstly opening up a sufficient cache region in system memory for processing user data, grouping the wrote user data according to the RAID disk group in the cache region and sequentially writing the user data in the RAID disk group so at to increase the writing efficiency of the RAID, wherein for fear of the loss of the user data in the cache region, caused by unexpected power down and power off, the data in the cache region are needed to be protected through a BBU ( Battery Backup Unit) or the data temporarily storied in the cache region because of insufficient memory are needed to be manually wrote in the RAID disk group. By utilizing the method provided by the invention, the data reading and writing time caused by write verification is decreased so that the memory property is increased, that is, the writing efficiency of the RAID disk group is increased.

Description

A kind of RAID of raising writes the method for efficient
Technical field
The present invention relates to a kind of data storage technology that relates to, specifically a kind of RAID of raising writes the method for efficient.
Background technology
RAID, raid-array, be a kind of polylith independently hard disk combine by different modes and form a hard disk groups, thereby provide than the higher memory property of single hard disk and the technology of data security.Yet to RAID random writing data the time,, thereby influence the performance that data write, reduce the efficient of writing of RAID owing to write check has produced frequent reading and writing data.Like Fig. 1, the RAID5 disk array group that RAID is made up of 6 hard disks among the figure after in hard disk wherein, writing data, according to the principle of RAID, has the application data of five data in the hard disk for the user this moment, and deposits checking data in another piece dish.Along with the change of application data in the hard disk, need to revise synchronously checking data.Therefore, at first read five user data in the hard disk, then,, draw the checking data of this moment, and the checking data that will newly obtain write the 6th check bit according to the algorithm of RAID5.Pass through said process; RAID according to common writes mechanism; Revise data of RAID disk groups and need carry out five read operations (reading five application datas in the disk) and secondary write operation (write user data and write checking data); By that analogy, when revising five data, need carry out 25 read operations and 10 write operations.It is thus clear that the reading and writing data that caused by write check still has considerable influence for memory property.
Summary of the invention
The purpose of this invention is to provide the method that a kind of RAID of raising writes efficient.
The objective of the invention is to realize by following mode; At first in Installed System Memory, open up enough buffer areas, be used for processes user data specially, in buffer area; According to the user data packets to writing in the RAID disk groups; Order writes the RAID disk groups with user data then, thereby improves the efficient that RAID writes disk, and step is following:
1) one group of batch data is write the RAID disk groups in proper order,, read five user data that write in batches, calculate check bit and write check disk to write check;
2) revise five user data, carry out five read operations and read user data and six write operations, wherein five times for writing user data, once for writing check bit;
3) the data order is write the RAID disk groups, when the not enough position of user data, just need user data be temporarily stored in the buffer memory, write the RAID disk groups together after wait has new data to write again;
4) loss of user data in unexpected power down and the buffer memory that causes of shutdown; Also need protect the data in the buffer area, or will write the RAID disk groups because of the data that not enough position is temporarily stored in the buffer area through manual mode through backup battery BBU.
The invention has the beneficial effects as follows: owing to reducing the reading and writing data number of times that write check causes, thereby improve memory property, promptly improved the efficient of writing of RAID disk groups, thereby, have good value for applications.
Description of drawings
Fig. 1 is the read-write mode synoptic diagram of traditional magnetic disk;
Fig. 2 is the read-write mode synoptic diagram of the inventive method disk;
Fig. 3 is the power down protection synoptic diagram.
Embodiment
Explanation at length below with reference to Figure of description method of the present invention being done.
If want the data order is write the RAID disk groups; At first need in Installed System Memory, open up enough buffer areas; Be used for processes user data specially, in buffer area, according to (quantity of disk-1) user data packets in the RAID disk groups to writing; Order writes the RAID disk groups then, thereby improves the efficient that RAID writes disk.When the not enough position of user data, just need user data be temporarily stored in the buffer memory, after having new data to write again, wait writes the RAID disk groups together.Loss of user data in unexpected power down and the buffer memory that causes of shutdown also need be protected the data in the buffer area through backup battery (BBU).Also availablely will write the RAID disk groups because of the data that not enough position is temporarily stored in the buffer area through manual mode.
Embodiment
As shown in Figure 2, one group of batch data is write the RAID disk groups in proper order, to write check, read five user data that write in batches, calculate check bit and give it and write check disk.This process has been revised five user data once, has carried out reading for five times the operation of user data and has write user data operation for six times, and wherein five times for writing user data, once for writing check bit.Be to revise the five-digit number certificate equally, sequential write is fashionable in batches, write check and the data that cause are write and will be significantly reduced, thus improved memory property, promptly improved the efficient that RAID writes.
Shown in accompanying drawing, be to revise the five-digit number certificate equally, sequential write is fashionable in batches, write check and the data that cause are write and will be significantly reduced, thus improved memory property, promptly improved the efficient that RAID writes.
Owing to reducing the reading and writing data number of times that write check causes, thereby improve memory property, promptly improved the efficient of writing of RAID disk groups.
Except that the described technical characterictic of instructions, be the known technology of those skilled in the art.

Claims (1)

1. one kind is improved the method that RAID writes efficient; It is characterized in that at first in Installed System Memory, opening up enough buffer areas, be used for processes user data specially, in buffer area; According to the user data packets to writing in the RAID disk groups; Order writes the RAID disk groups with user data then, thereby improves the efficient that RAID writes disk, and step is following:
1) one group of batch data is write the RAID disk groups in proper order,, read five user data that write in batches, calculate check bit and write check disk to write check;
2) revise five user data, carry out five read operations and read user data and six write operations, wherein five times for writing user data, once for writing check bit;
3) the data order is write the RAID disk groups, when the not enough position of user data, just need user data be temporarily stored in the buffer memory, write the RAID disk groups together after wait has new data to write again;
4) loss of user data in unexpected power down and the buffer memory that causes of shutdown; Also need protect the data in the buffer area, or will write the RAID disk groups because of the data that not enough position is temporarily stored in the buffer area through manual mode through backup battery BBU.
CN2011103601995A 2011-11-15 2011-11-15 Method for increasing writing efficiency of RAID (Redundant Array of Independent Disks) Pending CN102446261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103601995A CN102446261A (en) 2011-11-15 2011-11-15 Method for increasing writing efficiency of RAID (Redundant Array of Independent Disks)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103601995A CN102446261A (en) 2011-11-15 2011-11-15 Method for increasing writing efficiency of RAID (Redundant Array of Independent Disks)

Publications (1)

Publication Number Publication Date
CN102446261A true CN102446261A (en) 2012-05-09

Family

ID=46008750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103601995A Pending CN102446261A (en) 2011-11-15 2011-11-15 Method for increasing writing efficiency of RAID (Redundant Array of Independent Disks)

Country Status (1)

Country Link
CN (1) CN102446261A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598166A (en) * 2014-12-31 2015-05-06 曙光信息产业股份有限公司 System managing method and device
CN106788468A (en) * 2016-11-28 2017-05-31 北京三快在线科技有限公司 A kind of correcting and eleting codes update method and device, electronic equipment
CN109508147A (en) * 2018-11-09 2019-03-22 郑州云海信息技术有限公司 A kind of data cached storage method, system and storage equipment
CN111427508A (en) * 2019-01-09 2020-07-17 深圳市茁壮网络股份有限公司 File balanced distribution method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617110A (en) * 2003-11-12 2005-05-18 华为技术有限公司 Method for rewriting in magnetic disc array structure
CN101493795A (en) * 2008-01-24 2009-07-29 杭州华三通信技术有限公司 Storage system, storage controller, and cache implementing method in the storage system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617110A (en) * 2003-11-12 2005-05-18 华为技术有限公司 Method for rewriting in magnetic disc array structure
CN101493795A (en) * 2008-01-24 2009-07-29 杭州华三通信技术有限公司 Storage system, storage controller, and cache implementing method in the storage system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598166A (en) * 2014-12-31 2015-05-06 曙光信息产业股份有限公司 System managing method and device
CN104598166B (en) * 2014-12-31 2018-01-30 曙光信息产业股份有限公司 Method for managing system and device
CN106788468A (en) * 2016-11-28 2017-05-31 北京三快在线科技有限公司 A kind of correcting and eleting codes update method and device, electronic equipment
CN106788468B (en) * 2016-11-28 2021-01-01 北京三快在线科技有限公司 Erasure code updating method and device and electronic equipment
CN109508147A (en) * 2018-11-09 2019-03-22 郑州云海信息技术有限公司 A kind of data cached storage method, system and storage equipment
CN111427508A (en) * 2019-01-09 2020-07-17 深圳市茁壮网络股份有限公司 File balanced distribution method and device
CN111427508B (en) * 2019-01-09 2023-07-21 深圳市茁壮网络股份有限公司 File equilibrium distribution method and device

Similar Documents

Publication Publication Date Title
CN106462493B (en) The mitigation of solid-state memory damage
CN102122235B (en) RAID4 (redundant array of independent disks) system and data reading and writing method thereof
CN103049216B (en) Solid state hard disc and data processing method, system
CN102981783A (en) Cache accelerating method based on Nand Flash
WO2010088608A3 (en) Systems and methods for block-level management of tiered storage
TW200604796A (en) Mass storage accelerator
US20150019808A1 (en) Hybrid storage control system and method
CN103186438A (en) Method of improving disk array data reconstruction efficiency
CN102789403B (en) A kind of flash controller and control method thereof
US9639287B1 (en) Write command reporting
CN104424103A (en) Management method for cache in solid state storage device
CN102446261A (en) Method for increasing writing efficiency of RAID (Redundant Array of Independent Disks)
CN105786410A (en) Method for increasing processing speed of data storage system and data storage system
JP2009163647A (en) Disk array device
US20140075102A1 (en) Controller of a nonvolatile memory device and a command scheduling method thereof
CN102999428A (en) Four-stage addressing method for tile recording disk
CN104991738A (en) Solid state disk and read and write operation method thereof
US20110004728A1 (en) On-device data compression for non-volatile memory-based mass storage devices
CN102279825B (en) Intelligent DMA (Direct Memory Access) controller for solid-state hard disk controller
CN102096559B (en) Method for improving data transmission efficiency of SATA interface solid state disk
CN102915207A (en) Solid-state storage device and data storage method
US8954662B2 (en) SSD controller, and method for operating an SSD controller
CN104793892B (en) A method of accelerating disk stochastic inputs output (IO) read-write
AU2015203828A1 (en) Implementing enhanced performance with read before write to phase change memory to avoid write cancellations
CN102495680A (en) Reconstruction method of RAID (Redundant Array of Independent Disks) system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120509