CN107678927A - Distribute hard disk I O method, device, equipment and computer-readable recording medium - Google Patents
Distribute hard disk I O method, device, equipment and computer-readable recording medium Download PDFInfo
- Publication number
- CN107678927A CN107678927A CN201711044277.4A CN201711044277A CN107678927A CN 107678927 A CN107678927 A CN 107678927A CN 201711044277 A CN201711044277 A CN 201711044277A CN 107678927 A CN107678927 A CN 107678927A
- Authority
- CN
- China
- Prior art keywords
- traffic
- hard disk
- regional
- state parameter
- region
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000012545 processing Methods 0.000 claims abstract description 40
- 241000208340 Araliaceae Species 0.000 claims 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims 1
- 235000003140 Panax quinquefolius Nutrition 0.000 claims 1
- 235000008434 ginseng Nutrition 0.000 claims 1
- 230000008859 change Effects 0.000 abstract description 4
- 230000007613 environmental effect Effects 0.000 abstract description 3
- 238000012544 monitoring process Methods 0.000 abstract description 3
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3037—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3485—Performance evaluation by tracing or monitoring for I/O devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
- G06F3/0611—Improving I/O performance in relation to response time
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Human Computer Interaction (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses one kind to distribute complete machine hard disk I/O traffic method, including:The state parameter of hard disk backboard regional is obtained in real time, and state parameter comprises at least one kind in shockproofness parameter and temperature parameter two states parameter;The I/O traffic allocation strategy in the region of corresponding preset state parameter threshold is then more than according to predetermined corresponding relation, adjustment state parameter;Wherein, predetermined corresponding relation for predetermined regional state parameter from regional to the corresponding relation between the processing speed of various different I/O traffics.By monitoring the state parameter of hard disk regional in the present invention, determine which type of the change of environmental factor brings influence to the processing of I/O traffic, so as to more accurately adjust the I/O traffic of regional.Invention additionally discloses one kind distribution complete machine hard disk I/O traffic device, equipment and computer-readable recording medium, there is above-mentioned beneficial effect.
Description
Technical field
The present invention relates to technical field of memory, more particularly to one kind distribution complete machine hard disk I/O traffic method, apparatus, equipment
And computer-readable recording medium.
Background technology
Highly dense storage has highdensity feature, and the reliability of its data storage is to have to meet one of essential condition.
Highdensity memory requirement more hard disks under being filled in unit volume, substantial amounts of hard disk are one to complete machine radiating and huge chosen
War by powerful fan to hard disk areas, it is necessary to radiate, and the vibrations of fan in the process of running are brought to disk read-write
Interference be it is highly dense storage complete machine it is inevitable the problem of.After complete machine frame enters whole machine cabinet, the overall fan vibrations of rack also can
Very big interference is brought to disk read-write.Additionally due to uneven different with body depth, the different zones of complete machine air channel distribution
The temperature of hard disk is also different, and different influences can be equally caused to disk read-write.Therefore the shockproofness and temperature of hard disk are all
Influence can be brought on the I/O traffic of highly dense storage, so as to reduce the problem of highly dense storage complete machine handles the operating efficiency of I/O traffic.
At present, existing solution is to adjust the shockproofness and temperature of hard disk regional repeatedly, avoids vibrations strong
The influence that degree and temperature are brought to the I/O traffic of highly dense storage, or the duration of monitoring hard disk regional processing I/O traffic, one
Denier duration exceedes preset value, and just the IO of region distribution is adjusted.But because actual motion environment is complex, this is simultaneously
Can not solve the ineffective problem of highly dense storage processing I/O traffic.
The content of the invention
It is an object of the invention to provide one kind to distribute complete machine hard disk I/O traffic method, solves highly dense storage processing I/O traffic
Ineffective problem, improve it is highly dense storage processing I/O traffic service behaviour.
It is a further object of the present invention to provide one kind distribution complete machine hard disk I/O traffic device, equipment and computer-readable storage
Medium.
In order to solve the above technical problems, the present invention provides a kind of distribution complete machine hard disk I/O traffic method, including:
The state parameter of hard disk backboard regional is obtained in real time, wherein, the state parameter comprises at least shockproofness
One kind in parameter and temperature parameter two states parameter;Judge with the presence or absence of state parameter to be more than in current time regional
The region of corresponding preset state parameter threshold;If it is, according to predetermined corresponding relation, adjustment state parameter is more than corresponding
The I/O traffic allocation strategy in the region of preset state parameter threshold;Wherein, the predetermined corresponding relation is predetermined
The state parameter of regional is from regional to the corresponding relation between the processing speed of various different I/O traffics.
Wherein, after the state parameter of hard disk backboard regional is obtained in real time, in addition to:
The duration needed for the processing I/O traffic of hard disk backboard regional is obtained in real time;
Judge the region for being more than corresponding preset duration threshold value in current time regional with the presence or absence of the duration, such as
Fruit is the number amount and type for the I/O traffic for then adjusting the region that the duration is more than corresponding preset duration threshold value.
Wherein, in current time regional is judged with the presence or absence of the duration be more than preset duration threshold value region it
Afterwards, in addition to:
Judge to be more than preset duration threshold value with the presence or absence of the duration in regional in the first preset time period
Region;
If it is, judging whether not the duration is more than the state parameter in the region of corresponding preset duration threshold value
More than corresponding preset state parameter threshold, if it is, adjusting the preset state parameter threshold in the region.
Wherein, after the duration needed for the processing I/O traffic of hard disk backboard regional is obtained in real time, in addition to:
According to current time acquisition in the second preset time period, each region is in different state parameters
Under, the handling duration of various different I/O traffics is handled, analyzes and obtains each region various IO in different state parameters
The processing speed of business, and the default corresponding relation is carried out more according to the processing speed of each various I/O traffics in region
Newly.
Wherein, the default corresponding relation is updated according to the processing speed of each various I/O traffics in region
Afterwards, in addition to:
The default corresponding relation and the state parameter are stored, so as to by the default corresponding relation and
The state parameter is exported.
Wherein, after being stored to the default corresponding relation and state parameter of renewal, in addition to:
Predetermined allocation strategy and the predetermined corresponding relation are received, and according to the predetermined allocation strategy to each described
Region carries out the distribution of I/O traffic.
The present invention also provides a kind of distribution complete machine hard disk I/O traffic device, including:
Acquisition module, for obtaining the state parameter of hard disk backboard regional in real time, wherein, the state parameter is at least
Including one kind in shockproofness parameter and temperature parameter two states parameter;
Judge module, for judging to be more than corresponding preset state with the presence or absence of state parameter in current time regional
The region of parameter threshold;
Adjusting module, if being more than corresponding preset state threshold value for existence parameter in current time regional
Region, then according to predetermined corresponding relation, adjustment state parameter is more than the IO industry in the region of corresponding preset state threshold value
Business allocation strategy;Wherein, the predetermined corresponding relation for predetermined regional state parameter with regional to each
Corresponding relation between the disposal ability of the different I/O traffics of kind.
Wherein, the acquisition module is additionally operable to after the state parameter of hard disk backboard regional is obtained in real time, in real time
Obtain the duration needed for the processing I/O traffic of hard disk backboard regional;
The judge module is additionally operable to judge in current time regional pre- more than corresponding with the presence or absence of the duration
If the region of duration threshold value;
The adjusting module is additionally operable to adjust the IO industry in the region that the duration is more than corresponding preset duration threshold value
The allocation strategy of business.
The present invention also provides a kind of distribution complete machine hard disk I/O traffic equipment, including:
Memory, complete machine hard disk I/O traffic program is distributed for storing;
Processor, realize that the distribution is whole any one of as described above during for performing the distribution complete machine hard disk I/O traffic program
The step of machine hard disk I/O traffic method.
The present invention also provides a kind of computer-readable recording medium, and distribution is stored with the computer-readable recording medium
Complete machine hard disk I/O traffic program, the distribution complete machine hard disk I/O traffic program realize any one institute as described above when being executed by processor
The step of stating distribution complete machine hard disk I/O traffic method.
Distribution complete machine hard disk I/O traffic method provided by the present invention, because temperature and shockproofness are the operation rings of hard disk
Uncontrollable factor in border, and the two factors be influence whole highly dense storage hard disk processing I/O traffic performance it is main because
Element.Method in the present invention is that no longer uncontrollable factor is adjusted, and both factors are detected, according to each
The I/O traffic of regional temperature and shockproofness reasonable distribution hard disk regional, so as to avoid temperature and shockproofness to processing
The influence of I/O traffic.And it is only just to distribution to the area in the prior art when some regional processing IO durations of hard disk are long
The I/O traffic in domain is adjusted, due to can not be grasped well to the actual motion environment of hard disk, so distributing I/O traffic
Adjustment it is simultaneously not certain suitable, can not finally solve the problems, such as that hard disk processing I/O traffic efficiency is low.It is hard by monitoring in the present invention
The state parameter of disk regional, determine which type of the change of environmental factor brings influence to the processing of I/O traffic, so as to more
Add the I/O traffic of accurately adjustment regional.
In summary, the method for distribution I/O traffic of the invention, the work of highly dense storage processing I/O traffic can effectively be avoided
Make the problem of efficiency is low, the service behaviour of highly dense storage processing I/O traffic is improved, so as to improve the reliability of highly dense storage.
The present invention also provides a kind of distribution complete machine hard disk I/O traffic device, equipment and computer-readable recording medium, has
Above-mentioned beneficial effect.
Brief description of the drawings
, below will be to embodiment or existing for the clearer explanation embodiment of the present invention or the technical scheme of prior art
The required accompanying drawing used is briefly described in technology description, it should be apparent that, drawings in the following description are only this hair
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the distribution complete machine hard disk I/O traffic method of specific embodiment provided by the invention;
Fig. 2 is the structured flowchart of distribution complete machine hard disk I/O traffic device provided in an embodiment of the present invention;
Fig. 3 is the structural representation of distribution complete machine hard disk I/O traffic equipment provided in an embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiment is only part of the embodiment of the present invention, rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise
Lower obtained every other embodiment, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of the distribution complete machine hard disk I/O traffic method of specific embodiment provided by the invention, such as Fig. 1 institutes
Show, this method can include:
Step S101:The state parameter of hard disk backboard regional is obtained in real time.
Specifically, the state parameter is primarily referred to as shockproofness parameter and temperature parameter, also can also include other can shadow
Ring the parameter of hard disk processing I/O traffic.Because temperature and shockproofness are to influence one of highly dense most important factor of storage performance,
Therefore, it is that including temperature parameter and shockproofness parameter, both join state parameter simultaneously that the scheme for having choosing is compared in the present invention
Number.
Step S102:Judge the area for being more than corresponding preset state parameter threshold in regional with the presence or absence of state parameter
Domain, if it is, into step S103, if it is not, then into step S101.
It should be noted that for the regional of hard disk, influence of a variety of states to processing I/O traffic
It is different, for example, for a certain region A, when temperature is increased to T1, region A can be caused to handle long data block
The speed of I/O traffic reduce, and for another region B, when temperature is increased to T2, region A can be caused to handle big data
The speed of the I/O traffic of block reduces, and temperature T1 is more than temperature T2, then, for region A and region B, two regions need
The predetermined temperature threshold to be set just and differ, and for I/O traffic be include long data block continuously read and write, long data block with
It is machine-readable write, small data block is continuously read and write, a variety of types of service of small data block random read-write etc., therefore for it is various not
The I/O traffic of same type, threshold value also likely to be present difference.Similarly, it is also similar for the influence shaken to hard disk regional
Principle will not be repeated here.
In addition, if state parameter includes shockproofness parameter and temperature parameter simultaneously, it is necessary to which two kinds of parameters are all entered
Row judges, as long as there is a kind of parameter to exceed threshold value in some region of two states parameter, it is necessary to the I/O traffic in the region
Distribution is adjusted.
In brief, the preset state threshold value of the state parameter of regional differs on the hard disk in the present invention,
For each region, the preset state threshold value for a variety of I/O traffics is also different.
Step S103:According to predetermined corresponding relation, adjustment state parameter is more than the institute of corresponding preset state parameter threshold
State the I/O traffic number amount and type in region.
It should be noted that the predetermined corresponding relation is the state parameter and regional of predetermined regional
To the corresponding relation between the processing speed of various different I/O traffics.This is by equipment when handling I/O traffic, is obtained in real time
Regional handles the data such as the speed of a variety of I/O traffics under state parameter, and state parameter, and to these data
Constantly study and analysis and obtain.
When a certain zone state parameter reaches preset state parameter threshold, it is possible to carried out according to the predetermined corresponding relation
Adjustment is assigned to the number amount and type of the region I/O traffic.Detect that some region of shockproofness parameter exceedes in advance for example, working as
If shockproofness parameter threshold, the region just declines very low, and long data block random write to the continuous literacy of long data block
Write with small data block continuously read-write and small data block random read-write and unaffected, be reduced by being sent to the big data in the region
The request of I/O traffic that block is continuously read and write, then increase be sent to the long data block random read-write in the region, small data block it is continuous or
The type such as person's random read-write I/O traffic is asked.Accordingly.If the shadow that temperature factor reads and writes data to the region is further contemplated simultaneously
Ring, just with reference under Current Temperatures and shockproofness environment, adjust I O assignment strategy in real time.
In summary, in the present invention, the distribution to I/O traffic is to fully take into account various environmental factors to hard disk processing IO
The influence of ability, and be well understood that may cause I O process ability decline the reason for, can so as to make suitable adjustment
More effectively the read-write data of temperature and shockproofness to hard disk are avoided to impact.
For in the prior art, only when the duration of a certain regional processing I/O traffic exceedes threshold value, just reducing distribution and extremely should
The request of the I/O traffic in region.And can not recognize that what reason causes the regional processing I/O traffic duration long, except
The I/O request for the I/O traffic same type being presently processing with the region can be reduced, it is impossible to determine the region to other classes
The height of the I O process ability of type, also the transmission of other kinds of I/O traffic can not be just adjusted, therefore can not kept away completely
Exempt from the influence of the read-write of temperature and vibrations to hard disk.So the method in the present invention, can preferably ensure the property of highly dense storage
Can, improve the operating efficiency that I/O traffic is handled.
Based on above-described embodiment, it is contemplated that be likely present some factors that can not be measured either preset state parameter
Threshold value is set improper, and the ability of hard disk processing I/O traffic is had an impact.In order to avoid this influence causes entirely firmly
The performance of disk reduces, and in another specific embodiment of the invention, can further improve, can specifically include:
After the state parameter of hard disk backboard regional is obtained in real time, the place of hard disk backboard regional is obtained in real time
Manage the duration needed for I/O traffic;
Judge the region for being more than corresponding preset duration threshold value in current time regional with the presence or absence of the duration, such as
Fruit is the number amount and type for the I/O traffic for then adjusting the region that the duration is more than corresponding preset duration threshold value.
It should be noted that in actual application, the acquisition for state parameter and the duration of processing I/O traffic is simultaneously
In the absence of the precedence relationship of certainty.It is right in order to adjust the distribution to I/O traffic in time according to hard disk running environment and state
State parameter and duration are all obtained in real time, and the contrast of both state parameters and duration respectively with respective threshold value is judged
And carry out in real time.
Based on above-described embodiment, it is contemplated that in highly dense storing process, it is understood that there may be preset state parameter setting does not conform to
It is suitable, cause, in the case where having carried out state parameter and having detected and adjust the distribution of I/O traffic, still to occur at some regions
Manage the situation that I/O traffic duration exceedes preset duration threshold value.Therefore, in the another specific embodiment of the present invention, can also be further
Improve, specifically include:
Judge to be more than preset duration threshold value with the presence or absence of the duration in regional in the first preset time period
Region;
If it is, judge that whether duration is more than the state parameter in the region of corresponding preset duration threshold value not less than corresponding
Preset state parameter threshold, if it is, adjusting the preset state parameter threshold in the region.
It should be noted that the state parameter that duration is more than the region of corresponding preset duration threshold value in the present embodiment is
Refer to, when the duration for handling I/O traffic is more than preset duration threshold value, the status parameter values in the region.
Based on above-mentioned any embodiment, it is contemplated that obtained during for default corresponding relation according to conventional empirical learning
, but as the change of running environment, default corresponding relation may gradually become inapplicable, therefore just need to this default pair
It should be related to and be adjusted.
In another specifically embodiment of the present invention, it may further include:
According to current time acquisition in the first preset time period, the regional of hard disk is in different state parameters
Under, the handling duration of the various different I/O traffics of processing;
Analysis obtains the processing speed of each region various I/O traffics in different state parameters;
The default corresponding relation is updated according to the processing speed of each various I/O traffics in region.
Be the equal of that periodically default corresponding relation is updated in the present embodiment.To ensure the accurate of corresponding relation
Property.When the corresponding relation does not change in multiple cycle times, then it is considered that the operation conditions of the hard disk tends to be steady
It is fixed, then allocation strategy of user's can for the operation conditions sets itself hard disk I/O traffic of whole hard disk.Herein it
Before, user just needs to obtain the health information of DISK to Image
Therefore, in the another specific embodiment of the present invention, can include:
Default corresponding relation and state parameter are stored, so as to by the default corresponding relation and state parameter
Exported.User can grasp the operation conditions of the hard disk according to default corresponding relation and state parameter, and should to basis
The operation conditions of hard disk designs the allocation strategy of the hard disk I/O traffic, then the allocation strategy is imported in equipment, therefore this implementation
Example can also be further improved to:Predetermined allocation strategy and the predetermined corresponding relation are received, and according to the predetermined distribution
Strategy carries out the distribution of I/O traffic to each region.In addition, for the similar hard disk of operation conditions, can use same set of
Allocation strategy.
Distribution complete machine hard disk I/O traffic device provided in an embodiment of the present invention is introduced below, distribution described below
Complete machine hard disk I/O traffic device can be mutually to should refer to above-described distribution complete machine hard disk I/O traffic method.
Fig. 2 is the structured flowchart of distribution complete machine hard disk I/O traffic device provided in an embodiment of the present invention, and reference picture 2 is distributed whole
Machine hard disk I/O traffic device can include:
Acquisition module 21, for obtaining the state parameter of hard disk backboard regional in real time, wherein, the state parameter is extremely
Include one kind in shockproofness parameter and temperature parameter two states parameter less;
Judge module 22, for judging to be more than corresponding default shape with the presence or absence of state parameter in current time regional
The region of state parameter threshold;
Adjusting module 23, if being more than corresponding preset state threshold for existence parameter in current time regional
The region of value, then the IO in the region of corresponding preset state threshold value is more than according to predetermined corresponding relation, adjustment state parameter
Traffic assignments strategy;
Wherein, the predetermined corresponding relation for predetermined regional state parameter and regional to it is various not
With the corresponding relation between the disposal ability of I/O traffic.
Based on above-described embodiment, as the another specific embodiment of the present invention, can further include:
The acquisition module 21 is additionally operable to after the state parameter of hard disk backboard regional is obtained in real time, is obtained in real time
Duration needed for the processing I/O traffic of hard disk backboard regional;
The judge module 22 is additionally operable to judge in current time regional with the presence or absence of the duration more than corresponding
The region of preset duration threshold value;
The adjusting module 23 is additionally operable to adjust the IO in the region that the duration is more than corresponding preset duration threshold value
The allocation strategy of business.
The distribution complete machine hard disk I/O traffic device of the present embodiment is used to realize foregoing distribution complete machine hard disk I/O traffic method,
Therefore the visible distribution complete machine hard disk I/O traffic method hereinbefore of embodiment in distribution complete machine hard disk I/O traffic device
Embodiment part, for example, acquisition module 21, judge module 22, adjusting module 23, are respectively used to realize that above-mentioned distribution complete machine is hard
Step S101, S102 and S103 in disk I/O traffic method, so, it is real that its embodiment is referred to corresponding various pieces
The description of example is applied, will not be repeated here.
Fig. 3 is the structural representation of distribution complete machine hard disk I/O traffic equipment provided in an embodiment of the present invention, and the equipment can be with
Including:
Memory 31, complete machine hard disk I/O traffic program is distributed for storing;
Processor 32, any one of the as described above distribution is realized during for performing the distribution complete machine hard disk I/O traffic program
The step of complete machine hard disk I/O traffic method.
The present invention also provides a kind of specific embodiment of computer-readable recording medium, the computer-readable recording medium
On be stored with distribution complete machine hard disk I/O traffic program, the distribution complete machine hard disk I/O traffic program is realized such as when being executed by processor
The step of complete machine hard disk I/O traffic method is distributed described in any of the above-described.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be with it is other
The difference of embodiment, between each embodiment same or similar part mutually referring to.For dress disclosed in embodiment
For putting, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part
Explanation.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description
And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software, the composition and step of each example are generally described according to function in the above description.These
Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty
Technical staff can realize described function using distinct methods to each specific application, but this realization should not
Think beyond the scope of this invention.
Directly it can be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor
Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Above to distribution complete machine hard disk I/O traffic method, apparatus, equipment and computer-readable storage provided by the present invention
Medium is described in detail.Specific case used herein is set forth to the principle and embodiment of the present invention, with
The explanation of upper embodiment is only intended to help the method and its core concept for understanding the present invention.It should be pointed out that led for this technology
For the those of ordinary skill in domain, under the premise without departing from the principles of the invention, can also to the present invention carry out it is some improvement and
Modification, these are improved and modification is also fallen into the protection domain of the claims in the present invention.
Claims (10)
1. one kind distribution complete machine hard disk I/O traffic method, it is characterised in that including:
The state parameter of hard disk backboard regional is obtained in real time, wherein, the state parameter comprises at least shockproofness parameter
With one kind in temperature parameter two states parameter;
Judge the region for being more than corresponding preset state parameter threshold in current time regional with the presence or absence of state parameter;
If it is, according to predetermined corresponding relation, adjustment state parameter is more than the area of corresponding preset state parameter threshold
The I/O traffic number amount and type in domain;
Wherein, the predetermined corresponding relation for predetermined regional state parameter from regional to various different IO
Corresponding relation between the processing speed of business.
2. according to the method for claim 1, it is characterised in that obtaining the state parameter of hard disk backboard regional in real time
Afterwards, in addition to:
The duration needed for the processing I/O traffic of hard disk backboard regional is obtained in real time;
Judge the region for being more than corresponding preset duration threshold value in current time regional with the presence or absence of the duration, if
It is the number amount and type for the I/O traffic for then adjusting the region that the duration is more than corresponding preset duration threshold value.
3. according to the method for claim 2, it is characterised in that with the presence or absence of described in current time regional is judged
Duration is more than after the region of preset duration threshold value, in addition to:
Judge the region for being more than preset duration threshold value in regional with the presence or absence of the duration in the first preset time period;
If it is, judge the duration be more than the region of corresponding preset duration threshold value state parameter whether not less than
Corresponding preset state parameter threshold, if it is, adjusting the preset state parameter threshold in the region.
4. according to the method in claim 2 or 3, it is characterised in that obtaining the processing of hard disk backboard regional in real time
After duration needed for I/O traffic, in addition to:
According to current time acquisition in the second preset time period, each region is under different state parameters, place
The handling duration of various different I/O traffics is managed, analysis obtains each region various I/O traffics in different state parameters
Processing speed, and the default corresponding relation is updated according to the processing speed of each various I/O traffics in region.
5. according to the method for claim 4, it is characterised in that in the processing speed according to each various I/O traffics in region
After degree is updated to the default corresponding relation, in addition to:
The default corresponding relation and the state parameter are stored, so as to by the default corresponding relation and described
State parameter is exported.
6. according to the method for claim 5, it is characterised in that in the default corresponding relation and the state ginseng to renewal
After number is stored, in addition to:
Predetermined allocation strategy and the predetermined corresponding relation are received, and according to the predetermined allocation strategy to each region
Carry out the distribution of I/O traffic.
7. one kind distribution complete machine hard disk I/O traffic device, it is characterised in that including:
Acquisition module, for obtaining the state parameter of hard disk backboard regional in real time, wherein, the state parameter comprises at least
One kind in shockproofness parameter and temperature parameter two states parameter;
Judge module, for judging to be more than corresponding preset state parameter with the presence or absence of state parameter in current time regional
The region of threshold value;
Adjusting module, if being more than the area of corresponding preset state threshold value for existence parameter in current time regional
Domain, then the I/O traffic point in the region of corresponding preset state threshold value is more than according to predetermined corresponding relation, adjustment state parameter
With strategy;
Wherein, the predetermined corresponding relation for predetermined regional state parameter from regional to various different IO
Corresponding relation between the disposal ability of business.
8. device according to claim 7, it is characterised in that the acquisition module is additionally operable to obtaining hard disk backboard in real time
After the state parameter of regional, the duration needed for the processing I/O traffic of hard disk backboard regional is obtained in real time;
When the judge module is additionally operable to judge in current time regional be more than corresponding default with the presence or absence of the duration
The region of long threshold value;
The adjusting module is additionally operable to adjust the I/O traffic in the region that the duration is more than corresponding preset duration threshold value
Allocation strategy.
9. one kind distribution complete machine hard disk I/O traffic equipment, it is characterised in that including:
Memory, complete machine hard disk I/O traffic program is distributed for storing;
Processor, for perform it is described distribution complete machine hard disk I/O traffic program when realize as described in claim any one of 1-6 divide
The step of with complete machine hard disk I/O traffic method.
10. a kind of computer-readable recording medium, it is characterised in that it is whole that distribution is stored with the computer-readable recording medium
Machine hard disk I/O traffic program, the distribution complete machine hard disk I/O traffic program realize that claim 1-6 such as appoints when being executed by processor
The step of one distribution complete machine hard disk I/O traffic method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711044277.4A CN107678927B (en) | 2017-10-31 | 2017-10-31 | Method, device and equipment for allocating hard disk IO and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711044277.4A CN107678927B (en) | 2017-10-31 | 2017-10-31 | Method, device and equipment for allocating hard disk IO and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107678927A true CN107678927A (en) | 2018-02-09 |
CN107678927B CN107678927B (en) | 2021-01-29 |
Family
ID=61142462
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711044277.4A Active CN107678927B (en) | 2017-10-31 | 2017-10-31 | Method, device and equipment for allocating hard disk IO and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107678927B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109445996A (en) * | 2018-11-09 | 2019-03-08 | 郑州云海信息技术有限公司 | A kind of method, system and the associated component of distribution IO stream |
WO2020057282A1 (en) * | 2018-09-20 | 2020-03-26 | 华为技术有限公司 | Resource allocation method and device for hard disks in distributed storage system |
CN111274098A (en) * | 2018-12-05 | 2020-06-12 | 杭州海康威视数字技术股份有限公司 | IoT-based storage device alarm method and device |
CN113127298A (en) * | 2021-03-30 | 2021-07-16 | 山东英信计算机技术有限公司 | Method, system, equipment and medium for protecting mechanical hard disk |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101140500A (en) * | 2006-09-07 | 2008-03-12 | 国际商业机器公司 | Data storing seal and configuring method |
US20080288124A1 (en) * | 2007-05-16 | 2008-11-20 | I Huei Huang | System and Method for Moderating Computer Fan Speed |
CN102495784A (en) * | 2011-11-16 | 2012-06-13 | 浪潮(北京)电子信息产业有限公司 | Hard disc monitor and management method and system |
CN102999442A (en) * | 2012-11-16 | 2013-03-27 | 成都索贝数码科技股份有限公司 | Media application oriented storage system and method |
CN103218173A (en) * | 2013-03-27 | 2013-07-24 | 华为技术有限公司 | Method and device for storage control |
CN103365384A (en) * | 2012-03-27 | 2013-10-23 | 纬创资通股份有限公司 | Management module, storage system and temperature and vibration management method thereof |
CN103500143A (en) * | 2013-09-27 | 2014-01-08 | 华为技术有限公司 | Hard disc parameter adjusting method and device |
CN104391656A (en) * | 2014-11-19 | 2015-03-04 | 华为技术有限公司 | IO (input/ output) resource allocation method and device of storage device and storage device |
CN104537045A (en) * | 2014-12-24 | 2015-04-22 | 华为技术有限公司 | Service distribution method and device based on distributive system |
US20170123446A1 (en) * | 2015-10-30 | 2017-05-04 | Sandisk Technologies Inc. | On-chip self calibration of io driver impedance for pvt variation using dynamically adjusted internal reference |
CN107196869A (en) * | 2017-07-14 | 2017-09-22 | 北京知道创宇信息技术有限公司 | The adaptive load balancing method, apparatus and system of Intrusion Detection based on host actual loading |
-
2017
- 2017-10-31 CN CN201711044277.4A patent/CN107678927B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101140500A (en) * | 2006-09-07 | 2008-03-12 | 国际商业机器公司 | Data storing seal and configuring method |
US20080288124A1 (en) * | 2007-05-16 | 2008-11-20 | I Huei Huang | System and Method for Moderating Computer Fan Speed |
CN102495784A (en) * | 2011-11-16 | 2012-06-13 | 浪潮(北京)电子信息产业有限公司 | Hard disc monitor and management method and system |
CN103365384A (en) * | 2012-03-27 | 2013-10-23 | 纬创资通股份有限公司 | Management module, storage system and temperature and vibration management method thereof |
CN102999442A (en) * | 2012-11-16 | 2013-03-27 | 成都索贝数码科技股份有限公司 | Media application oriented storage system and method |
CN103218173A (en) * | 2013-03-27 | 2013-07-24 | 华为技术有限公司 | Method and device for storage control |
CN103500143A (en) * | 2013-09-27 | 2014-01-08 | 华为技术有限公司 | Hard disc parameter adjusting method and device |
CN104391656A (en) * | 2014-11-19 | 2015-03-04 | 华为技术有限公司 | IO (input/ output) resource allocation method and device of storage device and storage device |
CN104537045A (en) * | 2014-12-24 | 2015-04-22 | 华为技术有限公司 | Service distribution method and device based on distributive system |
US20170123446A1 (en) * | 2015-10-30 | 2017-05-04 | Sandisk Technologies Inc. | On-chip self calibration of io driver impedance for pvt variation using dynamically adjusted internal reference |
CN107196869A (en) * | 2017-07-14 | 2017-09-22 | 北京知道创宇信息技术有限公司 | The adaptive load balancing method, apparatus and system of Intrusion Detection based on host actual loading |
Non-Patent Citations (1)
Title |
---|
罗晓翔: "本地多点分配业务(LMDS)***技术", 《邮电设计技术》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020057282A1 (en) * | 2018-09-20 | 2020-03-26 | 华为技术有限公司 | Resource allocation method and device for hard disks in distributed storage system |
US11385814B2 (en) | 2018-09-20 | 2022-07-12 | Huawei Cloud Computing Technologies Co., Ltd. | Method and device for allocating resource of hard disk in distributed storage system |
CN109445996A (en) * | 2018-11-09 | 2019-03-08 | 郑州云海信息技术有限公司 | A kind of method, system and the associated component of distribution IO stream |
CN109445996B (en) * | 2018-11-09 | 2022-02-18 | 郑州云海信息技术有限公司 | Method, system and related assembly for distributing IO stream |
CN111274098A (en) * | 2018-12-05 | 2020-06-12 | 杭州海康威视数字技术股份有限公司 | IoT-based storage device alarm method and device |
CN111274098B (en) * | 2018-12-05 | 2023-10-10 | 杭州海康威视数字技术股份有限公司 | Storage device alarm method and device based on internet of things (IoT) |
CN113127298A (en) * | 2021-03-30 | 2021-07-16 | 山东英信计算机技术有限公司 | Method, system, equipment and medium for protecting mechanical hard disk |
CN113127298B (en) * | 2021-03-30 | 2023-01-06 | 山东英信计算机技术有限公司 | Method, system, equipment and medium for protecting mechanical hard disk |
Also Published As
Publication number | Publication date |
---|---|
CN107678927B (en) | 2021-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107678927A (en) | Distribute hard disk I O method, device, equipment and computer-readable recording medium | |
CN107608631A (en) | A kind of data file storage method, device, equipment and storage medium | |
CN106529883A (en) | Data object distribution method and device | |
CN104951361B (en) | A kind of triggering method and device of timed task | |
CN107193649A (en) | A kind of method for scheduling task and device based on NUMA system | |
CN109428913B (en) | Storage capacity expansion method and device | |
CN103502944B (en) | Virutal machine memory method of adjustment and equipment | |
CN107463440A (en) | A kind of pop-up methods of exhibiting and device | |
CN106375975B (en) | A kind of conflicting policies test method and device | |
CN104011683A (en) | Virtual machine management program, method and device | |
CN107220121A (en) | Sandbox environment method of testing and its system under a kind of NUMA architecture | |
CN107608911A (en) | One kind is data cached to write with a brush dipped in Chinese ink method, apparatus, equipment and storage medium | |
GB2473194A (en) | Monitoring the performance of a computer based on the value of a net useful activity metric | |
CN107145388A (en) | Method for scheduling task and system under a kind of multitask environment | |
CN107239337A (en) | The distribution of virtual resources and dispatching method and system | |
CN108289246A (en) | Data processing method, device, storage medium and electronic device | |
CN106202280A (en) | A kind of information processing method and server | |
CN108874324A (en) | A kind of access request processing method, device, equipment and readable storage medium storing program for executing | |
CN108111427A (en) | Data flow control method and device in a kind of terminal device | |
CN107180118A (en) | A kind of file system cache data managing method and device | |
CN106055271A (en) | Method and device for de-repetition selection of repeated data based on cloud computing | |
CN103559142B (en) | The method for refreshing of dynamic RAM | |
CN110688360A (en) | Distributed file system storage management method, device, equipment and storage medium | |
CN110490639A (en) | A kind of data volume monitoring method, modification method, system and computer equipment | |
CN107908730A (en) | A kind of method and apparatus of downloading data |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20201203 Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd. Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601 Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |