CN106250331B - A method of for sata port multiplex optimization - Google Patents

A method of for sata port multiplex optimization Download PDF

Info

Publication number
CN106250331B
CN106250331B CN201610628185.XA CN201610628185A CN106250331B CN 106250331 B CN106250331 B CN 106250331B CN 201610628185 A CN201610628185 A CN 201610628185A CN 106250331 B CN106250331 B CN 106250331B
Authority
CN
China
Prior art keywords
sata
group
raid5
threshold
disks
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.)
Expired - Fee Related
Application number
CN201610628185.XA
Other languages
Chinese (zh)
Other versions
CN106250331A (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.)
SHENZHEN ZEXABOX TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN ZEXABOX TECHNOLOGY 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 SHENZHEN ZEXABOX TECHNOLOGY Co Ltd filed Critical SHENZHEN ZEXABOX TECHNOLOGY Co Ltd
Priority to CN201610628185.XA priority Critical patent/CN106250331B/en
Publication of CN106250331A publication Critical patent/CN106250331A/en
Application granted granted Critical
Publication of CN106250331B publication Critical patent/CN106250331B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1605Handling requests for interconnection or transfer for access to memory bus based on arbitration
    • G06F13/1652Handling requests for interconnection or transfer for access to memory bus based on arbitration in a multiprocessor architecture
    • G06F13/1657Access to multiple memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The present invention provides a kind of method for sata port multiplex optimization, it is characterized in that, including two kinds of implementation modes: S1, static poll pattern, after storing equipment creation RAID5, data disks in each SATA group are divided into the first and second two groups, this two group hard disc will be written in video data according to time threshold, timesharing, with when threshold 7 days alternate cycles processing;S2, dynamical feedback mode, after storing equipment creation RAID5, it in first time threshold, runs totally, statistics obtains average memory bandwidth n, and in each SATA interface, the temperature of each data disks and the state value of delay are ranked up from low to high, are denoted as S1 { a1 ... a4 }, S2 { a1 ... a4 }, S3 { a1 ... a4 }, S4 { a1 ... a4 }.The present invention can promote the stability and disk whole service life of storage system.Meanwhile guaranteeing that hard disc magnetic head is not read and write simultaneously, to promote the service life of hard disk.

Description

A method of for sata port multiplex optimization
Technical field
The present invention relates to sata port multiplexing technology field more particularly to a kind of sides for sata port multiplex optimization Method.
Background technique
In the storage equipment of China, the usage amount of video monitoring storage is maximum, simultaneously for the tolerance journey of data safety Spend highest.Therefore, sata port multiplexing technology is stored applied to video monitoring, is a trend.If the end SATA can be promoted Stability of the mouth multiplexing under FIS mode, then application of this scheme in video storage will be more and more.
Sata port multiplex mode is mainly used for 16 disk positions storage equipment, for such equipment, according to 4TB hard disk, wound A RAID5 (comprising a HotSpare disk) is built, equipment effective storage capacity is 50TB, video monitoring medium scale for one Scene, if storage time is set as 14 days, then storage performance demand is 40MB/S.It can be seen that most of video monitoring storages, In practical business, needing performance requirement to be achieved is 43MB/S.
The SATA interface bandwidth of mainstream has reached 300MB/S at present, and therefore, the physical transfer bandwidth of sata port multiplexing is 300MB/S will not become system bottleneck.However, after hard disk is RAID5, in video monitoring service, if to reach 43MB/S Memory bandwidth, it usually needs 5-6 block hard disk, without using whole hard disks.
Sata port multiplexing technology can be realized by both of which:
1. switch mode (Command-based switching) synchronization based on order, host is only and one piece hard Disk carries out data transmission, and before the command queue of this hard disk not yet completes, host is issued without other hard disks of normal direction and instructed.Therefore this mould Formula is unable to fully using SATA interface bandwidth, and storage transmission performance is general, weak to bandwidth demand suitable for strong to capacity requirement Application environment.But due to using simultaneously operating, this quasi-mode is not suitable for and RAID environment, therefore, current video Monitoring business seldom uses the multiplexed port scheme based on order exchange.
Frame Information Structure switch mode 2. (Frame Information Structure) synchronization, host can be to Multiple drivers simultaneously provide high performance storage connection, and ensure the data flow of stable equilibrium by arbitration algorithm.With base Different in the exchange of order, the exchange based on FIS can collect multiple read operations to make full use of host link available higher Bandwidth.Since FIS uses asynchronous work mode, it can be applied under RAID environment, still, compare SAS hardware, SATA The stability of hardware is relatively weak, and under FIS mode, the data of all hard disks all pass through SATA interface and interact with host, at this time There are hidden danger for the stability of SATA interface.
Summary of the invention
In view of the above drawbacks of the prior art, technical problem to be solved by the invention is to provide one kind to be directed to the end SATA The method of mouth multiplex optimization, so as to solve the deficiencies in the prior art.
To achieve the above object, the present invention provides a kind of methods for sata port multiplex optimization, which is characterized in that Including two kinds of implementation modes:
Data disks in each SATA group are divided into first and second liang after storage equipment creates RAID5 by S1, static poll pattern This two group hard disc will be written in group, video data according to time threshold, timesharing, with when threshold 7 days alternate cycles processing;
S2, dynamical feedback mode after storage equipment creates RAID5, in first time threshold, run totally, count To average memory bandwidth n, and in each SATA interface, the state value of the temperature of each data disks and delay from low to high into Row sequence, is denoted as S1 { a1 ... a4 }, S2 { a1 ... a4 }, S3 { a1 ... a4 }, S4 { a1 ... a4 }.
Further, according to the size of average memory bandwidth n, with when loop to determine processing within threshold 7 days, using state value as standard Determine the number for retaining hard disk, comprising:
A, n < 25MB/S: each group reserved state is worth 1 piece of minimum hard disk;
B, 25≤n < 50MB/S: each group reserved state is worth 2 pieces of minimum hard disks;
C, 50≤n < 80MB/S: each group reserved state is worth 3 pieces of minimum hard disks;
D, whole hard disks n > 80MB/S: are used.
The beneficial effects of the present invention are:
The present invention can the multiplexing quantity to sata port control, so that it is reduced to 1-2 by 4, to be promoted The stability and disk whole service life of storage system.It, can when carrying out video recording inquiry meanwhile after data timesharing write-in To realize a degree of read and write abruption, that is, when inquiring the data of a time cycle, the hard disk currently recorded a video, Read operation is not had, guarantees that hard disc magnetic head is not read and write simultaneously, to promote the service life of hard disk.
It is described further below with reference to technical effect of the attached drawing to design of the invention, specific structure and generation, with It is fully understood from the purpose of the present invention, feature and effect.
Detailed description of the invention
Fig. 1 is the multiplexed port figure based on order switch mode.
Fig. 2 is the multiplexed port figure based on Frame Information Structure switch mode.
Fig. 3 is the Frame Information Structure switch mode multiplexed port figure after optimization of the invention.
Specific embodiment
As shown in figure 3, a kind of method for sata port multiplex optimization, which is characterized in that including two kinds of implementation modes:
Data disks in each SATA group are divided into first and second liang after storage equipment creates RAID5 by S1, static poll pattern This two group hard disc will be written in group, video data according to time threshold, timesharing, with when threshold 7 days alternate cycles processing;This mode it is excellent Point be realize it is simple, it is stable, but it is inadequate to control precision, can be into if storage system is in the case of low-pressure One step reduces the quantity of work hard disk, thus preferably lifting system stability;
S2, dynamical feedback mode after storage equipment creates RAID5, in first time threshold, run totally, count To average memory bandwidth n, and in each SATA interface, the state value of the temperature of each data disks and delay from low to high into Row sequence, is denoted as S1 { a1 ... a4 }, S2 { a1 ... a4 }, S3 { a1 ... a4 }, S4 { a1 ... a4 }.
Further, according to the size of average memory bandwidth n, with when loop to determine processing within threshold 7 days, using state value as standard Determine the number for retaining hard disk, comprising:
A, n < 25MB/S: each group reserved state is worth 1 piece of minimum hard disk;
B, 25≤n < 50MB/S: each group reserved state is worth 2 pieces of minimum hard disks;
C, 50≤n < 80MB/S: each group reserved state is worth 3 pieces of minimum hard disks;
D, whole hard disks n > 80MB/S: are used.
The preferred embodiment of the present invention has been described in detail above.It should be appreciated that those skilled in the art without It needs creative work according to the present invention can conceive and makes many modifications and variations.Therefore, all technologies in the art Personnel are available by logical analysis, reasoning, or a limited experiment on the basis of existing technology under this invention's idea Technical solution, all should be within the scope of protection determined by the claims.

Claims (2)

1. a kind of method for sata port multiplex optimization, which is characterized in that including two kinds of implementation modes:
Data disks in each SATA group after storage equipment creation RAID5, are divided into the first and second two groups by S1, static poll pattern, depending on Frequency according to this two group hard disc will be written according to time threshold, timesharing, with when threshold alternate cycles processing in 7 days;
S2, dynamical feedback mode after storage equipment creates RAID5, in first time threshold, are run, statistics is put down totally Equal memory bandwidth n, and in each SATA interface, the temperature of each data disks and the state value of delay are arranged from low to high Sequence is denoted as S1 { a1 ... a4 }, S2 { a1 ... a4 }, S3 { a1 ... a4 }, S4 { a1 ... a4 }.
2. a kind of method for sata port multiplex optimization as described in claim 1, which is characterized in that according to average storage The size of bandwidth n, with when loop to determine processing within threshold 7 days, using state value as standard determine retain hard disk number, comprising:
A, n < 25MB/S: each group reserved state is worth 1 piece of minimum hard disk;
B, 25≤n < 50MB/S: each group reserved state is worth 2 pieces of minimum hard disks;
C, 50≤n < 80MB/S: each group reserved state is worth 3 pieces of minimum hard disks;
D, whole hard disks n > 80MB/S: are used.
CN201610628185.XA 2016-08-04 2016-08-04 A method of for sata port multiplex optimization Expired - Fee Related CN106250331B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610628185.XA CN106250331B (en) 2016-08-04 2016-08-04 A method of for sata port multiplex optimization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610628185.XA CN106250331B (en) 2016-08-04 2016-08-04 A method of for sata port multiplex optimization

Publications (2)

Publication Number Publication Date
CN106250331A CN106250331A (en) 2016-12-21
CN106250331B true CN106250331B (en) 2019-08-13

Family

ID=57606057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610628185.XA Expired - Fee Related CN106250331B (en) 2016-08-04 2016-08-04 A method of for sata port multiplex optimization

Country Status (1)

Country Link
CN (1) CN106250331B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6131139A (en) * 1996-01-25 2000-10-10 Tokyo Electron Limited Apparatus and method of simultaneously reading and writing data in a semiconductor device having a plurality of flash memories
CN1690944A (en) * 2004-04-21 2005-11-02 华为技术有限公司 Disk array system
CN101770437A (en) * 2008-12-30 2010-07-07 中国科学院电子学研究所 Structure and method for realizing concurrent reading and concurrent writing of IP of synchronous dual-port memory
CN102609223A (en) * 2012-02-13 2012-07-25 浪潮(北京)电子信息产业有限公司 Redundant array of independent disk system and initializing method thereof
CN104461385A (en) * 2014-12-02 2015-03-25 国电南瑞科技股份有限公司 Multi-hard disk balanced storage method with self-adaptive port traffic

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6131139A (en) * 1996-01-25 2000-10-10 Tokyo Electron Limited Apparatus and method of simultaneously reading and writing data in a semiconductor device having a plurality of flash memories
CN1690944A (en) * 2004-04-21 2005-11-02 华为技术有限公司 Disk array system
CN101770437A (en) * 2008-12-30 2010-07-07 中国科学院电子学研究所 Structure and method for realizing concurrent reading and concurrent writing of IP of synchronous dual-port memory
CN102609223A (en) * 2012-02-13 2012-07-25 浪潮(北京)电子信息产业有限公司 Redundant array of independent disk system and initializing method thereof
CN104461385A (en) * 2014-12-02 2015-03-25 国电南瑞科技股份有限公司 Multi-hard disk balanced storage method with self-adaptive port traffic

Also Published As

Publication number Publication date
CN106250331A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
WO2018019119A1 (en) Method and device for dynamic partial-parallel data layout for continuous data storage
CN102122235B (en) RAID4 (redundant array of independent disks) system and data reading and writing method thereof
TW201028843A (en) Method and system for dynamic storage tiering using allocate-on-write snapshots
CN103049216B (en) Solid state hard disc and data processing method, system
CN103229136B (en) Disk array brush method and disk array brush device
CN101593085A (en) Hard disk based on a plurality of FLASH storage cards
US20150019808A1 (en) Hybrid storage control system and method
CN104778018A (en) Broad-strip disk array based on asymmetric hybrid type disk image and storage method of broad-strip disk array
JP5325304B2 (en) Identify and control performance hot spots in virtual volumes
US20200089425A1 (en) Information processing apparatus and non-transitory computer-readable recording medium having stored therein information processing program
CN107526544A (en) A kind of distributed storage Ceph clusters hardware selection design method
CN110515549B (en) Data migration method and device
CN103645862A (en) Initialization performance improvement method of redundant arrays of inexpensive disks
CN102981783A (en) Cache accelerating method based on Nand Flash
US20120054430A1 (en) Storage system providing virtual volume and electrical power saving control method for the storage system
TWI401567B (en) Data storage system and control method thereof
CN109375868B (en) Data storage method, scheduling device, system, equipment and storage medium
CN201698255U (en) Server capable of accessing disc at high speed
CN105389126A (en) Blocking storage system of video monitoring data
JP2016500459A (en) Monitoring record management method and device
CN105205015B (en) A kind of date storage method and storage equipment
CN105653213A (en) Double control disk array based on Freescale P3041
CN102262657B (en) Method and system for storing multimedia data
CN106250331B (en) A method of for sata port multiplex optimization
CN201725323U (en) Independent redundant disk array

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: He Jubin

Inventor before: Ming Xiyuan

Inventor before: Huang Lei

Inventor before: Liu Baimin

Inventor before: He Jubin

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190813