CN109558090A - A kind of IO stream resource application method, system, equipment and computer storage medium - Google Patents
A kind of IO stream resource application method, system, equipment and computer storage medium Download PDFInfo
- Publication number
- CN109558090A CN109558090A CN201811474592.5A CN201811474592A CN109558090A CN 109558090 A CN109558090 A CN 109558090A CN 201811474592 A CN201811474592 A CN 201811474592A CN 109558090 A CN109558090 A CN 109558090A
- Authority
- CN
- China
- Prior art keywords
- resource
- stream
- flows
- chain
- processed
- 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
Links
Classifications
-
- 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
-
- 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
- G06F3/0631—Configuration or reconfiguration of storage systems by allocating resources to 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/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application discloses a kind of IO stream resource application method, system, equipment and computer storage mediums, are applied in storage equipment, this method comprises: in the first IO stream resource to the resource chain being pre-created of the pre- first to file of carry;Obtain IO stream to be processed;Corresponding IO flows resource and flows to IO to be processed on distribution resource chain;Apply for that the 2nd IO flows resource, and in the 2nd IO of carry stream resource to resource chain.A kind of IO stream resource disclosed in the present application is after getting IO stream to be processed, directly IO corresponding on resource chain stream resource allocation is flowed to IO to be processed, avoid the reduction of storage IO PS, furthermore, during applying for the 2nd IO stream resource, it has no effect on the processing that storage equipment flows IO to be processed and improves the IOPS of storage equipment compared with prior art.A kind of IO stream resource bid system, equipment and computer readable storage medium disclosed in the present application also solve the problems, such as relevant art.
Description
Technical field
This application involves technical field of memory, flow resource application method, system, equipment more specifically to a kind of IO
And computer storage medium.
Background technique
It is higher and higher to storage equipment high load, the requirement of low time delay with the extensive use of storage equipment, this requires
Storage equipment have sufficiently high IOPS (Input/Output Operations Per Seconde, it is per second to be written and read
Number).And during storage device processes IO stream, need to apply that IO flows resource, such as application memory source, and apply
IO stream resource needs time-consuming, and the IOPS for storing equipment thus can be made to reduce.
In conclusion the IOPS for how improving storage equipment is a problem to be solved by those skilled in the art.
Summary of the invention
The purpose of the application is to provide a kind of IO stream resource application method, can solve how to improve to a certain extent to deposit
The technical issues of storing up the IOPS of equipment.Present invention also provides a kind of IO stream resource bid system, equipment and computer-readable deposit
Storage media.
To achieve the goals above, the application provides the following technical solutions:
A kind of IO stream resource application method, is applied in storage equipment, comprising:
In the first IO stream resource to the resource chain being pre-created of the pre- first to file of carry;
Obtain IO stream to be processed;
It distributes the corresponding IO on the resource chain and flows resource to the IO stream to be processed;
Apply for that the 2nd IO flows resource, and in the stream resource to the resource chain of the 2nd IO described in carry.
Preferably, the 2nd IO of the application flows resource, comprising:
Obtain the first sizes values of the IO stream resource of carry on the resource chain;
Judge whether first sizes values are less than default value, if so, executing the application the 2nd IO stream resource
Step, if it is not, then terminating.
Preferably, the 2nd IO of the application flows resource, comprising:
Apply for that the 2nd IO flows resource, the second sizes values of the 2nd IO stream resource are the default value and described first
The difference of sizes values.
Preferably, after the corresponding IO flows resource to the IO stream to be processed on the distribution resource chain, also
Include:
Judge whether that the IO that need to discharge the IO stream distribution to be processed flows resource, if so, release is described to be processed
The IO of IO stream distribution flows resource.
Preferably, the corresponding IO flows resource to the IO stream to be processed on the distribution resource chain, comprising:
Obtain the utilization rate of the IO stream resource on the resource chain;
Judge whether the utilization rate is less than default utilization rate value;
If so, executing the step that the corresponding IO on the distribution resource chain flows resource to the IO stream to be processed
Suddenly, if it is not, then terminating.
Preferably, the 2nd IO of the application flows resource, comprising:
Apply for that the 2nd IO of default size flows resource.
Preferably, in the first IO stream resource to the resource chain being pre-created of the pre- first to file of the carry, comprising:
Initialize the resource chain being pre-created;
Apply for that the first IO flows resource, and in the stream resource to the resource chain of the first IO described in carry.
A kind of IO stream resource bid system, is applied in storage equipment, comprising:
First carry module, the first IO for the pre- first to file of carry flow resource to the resource chain being pre-created;
First obtains module, for obtaining IO stream to be processed;
First distribution module flows resource to the IO stream to be processed for distributing the corresponding IO on the resource chain;
First application module, for applying for that the 2nd IO flows resource, and the 2nd IO described in carry flows resource to the resource chain
On.
A kind of IO stream resource bid equipment, is applied in storage equipment, comprising:
Memory, for storing computer program;
Processor realizes the step of as above any IO stream resource application method when for executing the computer program
Suddenly.
A kind of computer readable storage medium is applied in storage equipment, stores in the computer readable storage medium
There is computer program, realizes that as above any IO flows resource application method when the computer program is executed by processor
Step.
A kind of IO provided by the present application flows resource application method, is applied in storage equipment, the first of the pre- first to file of carry
IO flows in resource to the resource chain being pre-created;Obtain IO stream to be processed;It distributes corresponding IO on resource chain and flows resource to wait locate
Manage IO stream;Apply for that the 2nd IO flows resource, and in the 2nd IO of carry stream resource to resource chain.A kind of IO stream money provided by the present application
Source, since the first IO stream resource is mounted on resource chain in advance, so after getting IO stream to be processed, it can be directly by resource
Corresponding IO stream resource allocation is flowed to IO to be processed on chain, saves first application IO stream resource after getting IO stream to be processed
Time, so as to avoid the reduction of storage IO PS, in addition, corresponding IO flows resource to be processed on distribution resource chain
After IO stream, application the 2nd IO stream resource is also needed, and in the 2nd IO of carry stream resource to resource chain, is applying for the 2nd IO stream resource
In the process, processing flow to IO to be processed of storage equipment is had no effect on, ensure that the stability for storing the IOPS of equipment, and it is existing
Technology is compared, and the IOPS of storage equipment is improved.A kind of IO stream resource bid system, equipment and computer provided by the present application can
It reads storage medium and also solves the problems, such as relevant art.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is the first pass figure that a kind of IO provided by the embodiments of the present application flows resource application method;
Fig. 2 is the second flow chart that a kind of IO provided by the embodiments of the present application flows resource application method;
Fig. 3 is the structural schematic diagram that a kind of IO provided by the embodiments of the present application flows resource bid system;
Fig. 4 is the structural schematic diagram that a kind of IO provided by the embodiments of the present application flows resource bid equipment;
Fig. 5 is another structural schematic diagram that a kind of IO provided by the embodiments of the present application flows resource bid equipment.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
It is higher and higher to storage equipment high load, the requirement of low time delay with the extensive use of storage equipment, this requires
Storage equipment have sufficiently high IOPS (Input/Output Operations Per Seconde, it is per second to be written and read
Number).And during storage device processes IO stream, need to apply that IO flows resource, such as application memory source, and apply
IO stream resource needs time-consuming, and the IOPS for storing equipment thus can be made to reduce.A kind of IO provided by the present application flows resource applicant
The IOPS of storage equipment can be improved in method.
Referring to Fig. 1, Fig. 1 is the first pass figure that a kind of IO provided by the embodiments of the present application flows resource application method.
A kind of IO provided by the embodiments of the present application flows resource application method, is applied in storage equipment, may include following
Step:
Step S101: in the first IO stream resource to the resource chain being pre-created of the pre- first to file of carry.
In practical application, storage equipment can the first IO of the first pre- first to file of carry flow resource to the resource chain being pre-created
On.IO flows the type of resource and content can determine according to actual needs, for example IO stream resource may include memory headroom value, delay
Deposit path etc..It can be appreciated that also needing first establishing resource chain, it is noted that involved by the application if storing No Assets chain in equipment
Resource chain refer to carry IO stream resource chain;Pre- first to file described herein refers to obtaining IO stream to be processed
Before, first to file IO flows resource.The size of the first IO stream resource of pre- first to file can be determined according to concrete application scene.
In concrete application scene, storage equipment can initialize resource chain when restarting every time, to reduce the negative of resource chain
It carries, and resource chain is made to readily satisfy this carry demand.Then the first IO of carry pre- first to file flows resource to being pre-created
Process on resource chain can be with specifically: initializes the resource chain being pre-created;Apply for that the first IO flows resource, and the first IO of carry
It flows in resource to resource chain.
Specifically, in order to guarantee that the first IO stream resource can be completely suitable for IO stream to be processed, while avoiding IO stream resource
Waste can also first obtain the type of IO stream to be processed, the type Shen flowed according to IO to be processed when applying for the first IO stream resource
Please the IO needed for it flow resource.It is, of course, also possible to there is the method for other applications the first IO stream resource, the application is not done specifically herein
It limits.
Step S102: IO stream to be processed is obtained.
In practical application, after the first IO stream resource is mounted on resource chain, storage equipment can obtain to be processed
IO stream, the size and content of IO stream to be processed can determine according to actual needs, specifically, storage equipment can receive and itself
IO to be processed stream of transmission device transmission of connection etc..IO stream described herein is defined as follows: stream is a kind of abstract general
It reads, represents the Un-structured transmitting of data, input and output are carried out in the way of stream, data are treated as structureless syllable sequence
Or character string;The operation that data are obtained from stream is known as extraction operation, and behaviour is referred to as inserted into the operation that data are added into stream
Make;For carrying out the stream of input-output operation to be known as IO stream namely IO stream being exactly to carry out input and output in a streaming manner.
Step S103: corresponding IO flows resource and flows to IO to be processed on distribution resource chain.
In practical application, storage equipment can distribute corresponding IO stream money on resource chain after obtaining IO stream to be processed
It flows to IO to be processed in source.In the assignment procedure, the size according to IO stream resource needed for IO to be processed stream, distribution money be can choose
All or part of IO stream resource of carry is flowed to IO to be processed on the chain of source, can also there is other distribution methods, the application certainly
It is not specifically limited herein, such as can be according to the principle distribution IO stream money of each part IO stream resource retained on resource chain
After source, IO flow point to be processed in this way flow resource equipped with IO, and storage equipment gets new IO to be processed stream, resource can be distributed
The part IO retained on chain flows resource to new IO to be processed stream, so that storage equipment is handling new and old IO stream to be processed for the first time
When, it is not required to application IO stream resource, avoids the reduction of storage IO PS.
In concrete application scene, corresponding IO stream resource to the process that IO to be processed flows can be specific on distribution resource chain
Are as follows: obtain the utilization rate of the IO stream resource on resource chain;Judge whether utilization rate is less than default utilization rate value;If so, executing
The step of corresponding IO stream resource is flowed to IO to be processed on distribution resource chain, if it is not, then terminating.
In concrete application scene, after corresponding IO flows resource to IO to be processed stream on storage equipment distribution resource chain, just
IO stream to be processed can be handled, correspondingly, the performance in order to guarantee storage equipment, after having handled IO stream to be processed,
Also need to discharge IO stream to be processed and distribute resulting IO stream resource, then store on equipment distribution resource chain corresponding IO stream resource to
After handling IO stream, the IO stream resource that need to discharge IO stream distribution to be processed can also determine whether, if so, discharging IO to be processed
The IO of stream distribution flows resource.
Step S104: the 2nd IO of application flows resource, and in the 2nd IO of carry stream resource to resource chain.
In practical application, storage equipment is after corresponding IO flows resource to IO to be processed stream on distribution resource chain, can be with
Apply for that the 2nd IO flows resource, and in the 2nd IO of carry stream resource to resource chain, can save flow application IO for IO to be processed in this way
The time for flowing resource, the reduction of short time internal memory devices IOPS is avoided, the size of the 2nd IO that applies every time stream resource can be with
It, can also dynamic change according to the actual situation for default size etc..In concrete application, storage equipment is corresponding on distribution resource chain
IO flow resource to IO to be processed stream after, IO to be processed stream can be handled, during this namely storage device processes are to be processed
During IO flows, it can apply for that the 2nd IO flows resource, and in the 2nd IO of carry stream resource to resource chain, so that storage
Equipment application IO flows resource and the process of storage device processes IO stream to be processed is adapted, and improves the IOPS of storage equipment.It is not difficult
Understand, the first IO flows the resource that resource representation is applied before obtaining IO to be processed stream, and the 2nd IO stream resource representation obtain to
Handle the resource applied after IO stream.
In concrete application scene, in order to avoid the more IO of carry on resource chain flows resource, the performance for storing equipment is influenced,
The amount of the IO stream resource of carry on resource chain can be limited, then in the application, storage the 2nd IO of equipment application flows resource
Process can be with specifically: obtain the first sizes values of the IO stream resource of carry on resource chain;Judge whether the first sizes values are small
In default value, if so, the step of the 2nd IO of application for execution flows resource, if it is not, then terminating.The size of default value can root
Factually border it needs to be determined that.Specifically, during the 2nd IO of application for execution flows resource, it can be with specifically: application the 2nd IO stream
Resource, the second sizes values that the 2nd IO flows resource are the difference of default value and the first sizes values.
A kind of IO provided by the present application flows resource application method, is applied in storage equipment, the first of the pre- first to file of carry
IO flows in resource to the resource chain being pre-created;Obtain IO stream to be processed;It distributes corresponding IO on resource chain and flows resource to wait locate
Manage IO stream;Apply for that the 2nd IO flows resource, and in the 2nd IO of carry stream resource to resource chain.A kind of IO stream money provided by the present application
Source, since the first IO stream resource is mounted on resource chain in advance, so after getting IO stream to be processed, it can be directly by resource
Corresponding IO stream resource allocation is flowed to IO to be processed on chain, saves first application IO stream resource after getting IO stream to be processed
Time, so as to avoid the reduction of storage IO PS, in addition, corresponding IO flows resource to be processed on distribution resource chain
After IO stream, application the 2nd IO stream resource is also needed, and in the 2nd IO of carry stream resource to resource chain, is applying for the 2nd IO stream resource
In the process, processing flow to IO to be processed of storage equipment is had no effect on, ensure that the stability for storing the IOPS of equipment, and it is existing
Technology is compared, and the IOPS of storage equipment is improved.
Referring to Fig. 2, Fig. 2 is the second flow chart that a kind of IO provided by the embodiments of the present application flows resource application method.
In practical application, a kind of IO stream resource application method provided by the embodiments of the present application be may comprise steps of:
Step S201: the resource chain being pre-created is initialized.
Step S202: the first IO of application flows resource, and in the first IO of carry stream resource to resource chain.
Step S203: IO stream to be processed is obtained.
Step S204: the utilization rate of the IO stream resource on resource chain is obtained.
Step S205: judge whether utilization rate is less than default utilization rate value;If so, thening follow the steps S206.
Step S206: the first sizes values of the IO stream resource of carry on resource chain are obtained.
Step S207: judging whether the first sizes values are less than default value, if so, S208 is thened follow the steps, if it is not, then straight
It connects and executes step S209.
Step S208: the 2nd IO of application flows resource, and the second sizes values that the 2nd IO flows resource are that default value and first are big
The difference of small value executes step S209.
Step S209: judge whether that the IO stream resource of IO stream distribution to be processed need to be discharged, if so, thening follow the steps S210.
Step S210: the IO stream resource of IO stream distribution to be processed is discharged.
Present invention also provides a kind of IO to flow resource bid system, with a kind of IO stream money provided by the embodiments of the present application
The correspondence effect that source application method has.Referring to Fig. 3, Fig. 3 is that a kind of IO provided by the embodiments of the present application flows resource bid system
The structural schematic diagram of system.
A kind of IO provided by the embodiments of the present application flows resource bid system, is applied in storage equipment, may include:
First carry module 101, the first IO for the pre- first to file of carry flow resource to the resource chain being pre-created;
First obtains module 102, for obtaining IO stream to be processed;
First distribution module 103 flows resource for distributing corresponding IO on resource chain and flows to IO to be processed;
First application module 104, for applying for that the 2nd IO flows resource, and in the 2nd IO of carry stream resource to resource chain.
A kind of IO provided by the embodiments of the present application flows resource bid system, is applied in storage equipment, the first application module
May include:
First acquisition unit, the IO for obtaining carry on resource chain flow the first sizes values of resource;
First judging unit, for judging whether the first sizes values are less than default value, if so, the 2nd IO of application for execution
The step of flowing resource, if it is not, then terminating.
A kind of IO provided by the embodiments of the present application flows resource bid system, is applied in storage equipment, the first application module
May include:
First application unit, for applying for that the 2nd IO flows resource, the second sizes values that the 2nd IO flows resource are default value
With the difference of the first sizes values.
A kind of IO provided by the embodiments of the present application flows resource bid system, is applied in storage equipment, can also include:
First judgment module, corresponding IO flows resource and flows it to IO to be processed on the first distribution module distribution resource chain
Afterwards, judge whether that the IO that need to discharge IO stream distribution to be processed flows resource, if so, discharging the IO stream money of IO stream distribution to be processed
Source.
A kind of IO provided by the embodiments of the present application flows resource bid system, is applied in storage equipment, the first distribution module
May include:
Second acquisition unit, for obtaining the utilization rate of the stream resource of the IO on resource chain;
Second judgment unit, for judging whether utilization rate is less than default utilization rate value;
First execution unit when being less than default utilization rate value for utilization rate, prompts the first distribution module to execute distribution money
The step of corresponding IO stream resource is flowed to IO to be processed on the chain of source, if it is not, then terminating.
A kind of IO provided by the embodiments of the present application flows resource bid system, is applied in storage equipment, the first application module
May include:
Second application unit, for applying for that the 2nd IO of default size flows resource.
A kind of IO provided by the embodiments of the present application flows resource bid system, is applied in storage equipment, the first carry module
May include:
First initialization unit, for initializing the resource chain being pre-created;
Third application unit, for applying for that the first IO flows resource, and in the first IO of carry stream resource to resource chain.
Present invention also provides a kind of IO stream resource bid equipment and computer readable storage mediums, all have the application
The correspondence effect that a kind of IO stream resource application method that embodiment provides has.Referring to Fig. 4, Fig. 4 mentions for the embodiment of the present application
A kind of structural schematic diagram of IO stream resource bid equipment supplied.
A kind of IO provided by the embodiments of the present application flows resource bid equipment, is applied in storage equipment, including memory 201
With processor 202, computer program is stored in memory 201, processor 202 executes the computer stored in memory 201
Following steps are realized when program:
In the first IO stream resource to the resource chain being pre-created of the pre- first to file of carry;
Obtain IO stream to be processed;
Corresponding IO flows resource and flows to IO to be processed on distribution resource chain;
Apply for that the 2nd IO flows resource, and in the 2nd IO of carry stream resource to resource chain.
A kind of IO provided by the embodiments of the present application flows resource bid equipment, is applied in storage equipment, including memory 201
With processor 202, computer subprogram is stored in memory 201, processor 202 executes the calculating stored in memory 201
It is implemented as follows step when loom program: obtaining the first sizes values of the IO stream resource of carry on resource chain;Judge that first is big
Whether small value is less than default value, if so, the step of the 2nd IO of application for execution flows resource, if it is not, then terminating.
A kind of IO provided by the embodiments of the present application flows resource bid equipment, is applied in storage equipment, including memory 201
With processor 202, computer subprogram is stored in memory 201, processor 202 executes the calculating stored in memory 201
Step is implemented as follows when loom program: application the 2nd IO stream resource, the second sizes values that the 2nd IO flows resource are present count
The difference of value and the first sizes values.
A kind of IO provided by the embodiments of the present application flows resource bid equipment, is applied in storage equipment, including memory 201
With processor 202, computer subprogram is stored in memory 201, processor 202 executes the calculating stored in memory 201
Step is implemented as follows when loom program: after corresponding IO flows resource to IO to be processed stream on distribution resource chain, judgement is
The no IO stream resource that need to discharge IO stream distribution to be processed, if so, discharging the IO stream resource of IO stream distribution to be processed.
A kind of IO provided by the embodiments of the present application flows resource bid equipment, is applied in storage equipment, including memory 201
With processor 202, computer subprogram is stored in memory 201, processor 202 executes the calculating stored in memory 201
It is implemented as follows step when loom program: obtaining the utilization rate of the IO stream resource on resource chain;Judge whether utilization rate is less than
Default utilization rate value;If so, the step of corresponding IO stream resource is flowed to IO to be processed on distribution resource chain is executed, if it is not, then
Terminate.
A kind of IO provided by the embodiments of the present application flows resource bid equipment, is applied in storage equipment, including memory 201
With processor 202, computer subprogram is stored in memory 201, processor 202 executes the calculating stored in memory 201
It is implemented as follows step when loom program: applying for the 2nd IO stream resource of default size.
A kind of IO provided by the embodiments of the present application flows resource bid equipment, is applied in storage equipment, including memory 201
With processor 202, computer subprogram is stored in memory 201, processor 202 executes the calculating stored in memory 201
Step is implemented as follows when loom program: initializing the resource chain being pre-created;Apply for that the first IO flows resource, and carry first
IO flows in resource to resource chain.
Referring to Fig. 5, can also include: in another kind IO stream resource bid equipment provided by the embodiments of the present application and handle
The input port 203 that device 202 connects is used for transmission the extraneous order inputted to processor 202;What is connect with processor 202 is aobvious
Show unit 204, the processing result for video-stream processor 202 is to the external world;The communication module 205 connecting with processor 202, is used for
Realize IO stream resource bid equipment and extraneous communication.Display unit 204 can make display for display panel, laser scanning
Deng;Communication mode used by communication module 205 includes but is not limited to that mobile high definition chained technology (HML), general serial are total
Line (USB), is wirelessly connected high-definition media interface (HDMI): adopting wireless fidelity technology (WiFi), Bluetooth Communication Technology, low-power consumption
Bluetooth Communication Technology, the communication technology based on IEEE802.11s.
A kind of computer readable storage medium provided by the embodiments of the present application is applied in storage equipment, computer-readable
It is stored with computer program in storage medium, following steps are realized when computer program is executed by processor:
In the first IO stream resource to the resource chain being pre-created of the pre- first to file of carry;
Obtain IO stream to be processed;
Corresponding IO flows resource and flows to IO to be processed on distribution resource chain;
Apply for that the 2nd IO flows resource, and in the 2nd IO of carry stream resource to resource chain.
A kind of computer readable storage medium provided by the embodiments of the present application is applied in storage equipment, computer-readable
Computer subprogram is stored in storage medium, computer subprogram is implemented as follows step when being executed by processor: obtaining
First sizes values of the IO stream resource of carry on resource chain;Judge whether the first sizes values are less than default value, if so, executing
Apply for the step of the 2nd IO flows resource, if it is not, then terminating.
A kind of computer readable storage medium provided by the embodiments of the present application is applied in storage equipment, computer-readable
Computer subprogram is stored in storage medium, computer subprogram is implemented as follows step when being executed by processor: application
2nd IO flows resource, and the second sizes values that the 2nd IO flows resource are the difference of default value and the first sizes values.
A kind of computer readable storage medium provided by the embodiments of the present application is applied in storage equipment, computer-readable
Computer subprogram is stored in storage medium, computer subprogram is implemented as follows step when being executed by processor: distribution
After corresponding IO flows resource to IO to be processed stream on resource chain, judge whether the IO stream money that need to discharge IO stream distribution to be processed
Source, if so, discharging the IO stream resource of IO stream distribution to be processed.
A kind of computer readable storage medium provided by the embodiments of the present application is applied in storage equipment, computer-readable
Computer subprogram is stored in storage medium, computer subprogram is implemented as follows step when being executed by processor: obtaining
The utilization rate of IO stream resource on resource chain;Judge whether utilization rate is less than default utilization rate value;If so, executing distribution resource
The step of corresponding IO stream resource is flowed to IO to be processed on chain, if it is not, then terminating.
A kind of computer readable storage medium provided by the embodiments of the present application is applied in storage equipment, computer-readable
Computer subprogram is stored in storage medium, computer subprogram is implemented as follows step when being executed by processor: application
2nd IO of default size flows resource.
A kind of computer readable storage medium provided by the embodiments of the present application is applied in storage equipment, computer-readable
Computer subprogram is stored in storage medium, computer subprogram is implemented as follows step when being executed by processor: initial
Change the resource chain being pre-created;Apply for that the first IO flows resource, and in the first IO of carry stream resource to resource chain.
Computer readable storage medium involved in the application includes random access memory (RAM), memory, read-only memory
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
Any other form of storage medium well known to interior.
A kind of IO provided by the embodiments of the present application flows related in resource bid system, equipment and computer readable storage medium
Partial explanation refers to the detailed description of corresponding part in a kind of IO stream resource bid equipment provided by the embodiments of the present application,
This is repeated no more.In addition, in above-mentioned technical proposal provided by the embodiments of the present application with correspond in the prior art technical solution realize
The consistent part of principle is simultaneously unspecified, in order to avoid excessively repeat.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
The foregoing description of the disclosed embodiments makes those skilled in the art can be realized or use the application.To this
A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can
Without departing from the spirit or scope of the application, to realize in other embodiments.Therefore, the application will not be limited
It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest
Range.
Claims (10)
1. a kind of IO flows resource application method, which is characterized in that be applied in storage equipment, comprising:
In the first IO stream resource to the resource chain being pre-created of the pre- first to file of carry;
Obtain IO stream to be processed;
It distributes the corresponding IO on the resource chain and flows resource to the IO stream to be processed;
Apply for that the 2nd IO flows resource, and in the stream resource to the resource chain of the 2nd IO described in carry.
2. the method according to claim 1, wherein the 2nd IO of the application flows resource, comprising:
Obtain the first sizes values of the IO stream resource of carry on the resource chain;
Judge whether first sizes values are less than default value, if so, the step of executing the 2nd IO of application stream resource,
If it is not, then terminating.
3. according to the method described in claim 2, it is characterized in that, the 2nd IO of the application flows resource, comprising:
Apply for that the 2nd IO flows resource, the second sizes values of the 2nd IO stream resource are the default value and first size
The difference of value.
4. method according to any one of claims 1 to 3, which is characterized in that corresponding on the distribution resource chain
The IO flows after resource to the IO stream to be processed, further includes:
Judge whether that the IO that need to discharge the IO stream distribution to be processed flows resource, if so, the release IO stream to be processed
The IO of distribution flows resource.
5. according to the method described in claim 4, it is characterized in that, the corresponding IO stream provides on the distribution resource chain
It flows to the IO to be processed in source, comprising:
Obtain the utilization rate of the IO stream resource on the resource chain;
Judge whether the utilization rate is less than default utilization rate value;
If so, the step of corresponding IO stream resource is flowed to the IO to be processed on the distribution resource chain is executed,
If it is not, then terminating.
6. the method according to claim 1, wherein the 2nd IO of the application flows resource, comprising:
Apply for that the 2nd IO of default size flows resource.
7. the method according to claim 1, wherein the first IO of the pre- first to file of the carry flows resource to preparatory
On the resource chain of creation, comprising:
Initialize the resource chain being pre-created;
Apply for that the first IO flows resource, and in the stream resource to the resource chain of the first IO described in carry.
8. a kind of IO flows resource bid system, which is characterized in that be applied in storage equipment, comprising:
First carry module, the first IO for the pre- first to file of carry flow resource to the resource chain being pre-created;
First obtains module, for obtaining IO stream to be processed;
First distribution module flows resource to the IO stream to be processed for distributing the corresponding IO on the resource chain;
First application module, for applying for that the 2nd IO flows resource, and in the stream resource to the resource chain of the 2nd IO described in carry.
9. a kind of IO flows resource bid equipment, which is characterized in that be applied in storage equipment, comprising:
Memory, for storing computer program;
Processor realizes IO stream resource bid as described in any one of claim 1 to 7 when for executing the computer program
The step of method.
10. a kind of computer readable storage medium, which is characterized in that be applied in storage equipment, the computer-readable storage
It is stored with computer program in medium, realizes when the computer program is executed by processor such as any one of claim 1 to 7 institute
The step of IO stream resource application method stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811474592.5A CN109558090A (en) | 2018-12-04 | 2018-12-04 | A kind of IO stream resource application method, system, equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811474592.5A CN109558090A (en) | 2018-12-04 | 2018-12-04 | A kind of IO stream resource application method, system, equipment and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109558090A true CN109558090A (en) | 2019-04-02 |
Family
ID=65868910
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811474592.5A Pending CN109558090A (en) | 2018-12-04 | 2018-12-04 | A kind of IO stream resource application method, system, equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109558090A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113703965A (en) * | 2021-07-30 | 2021-11-26 | 苏州浪潮智能科技有限公司 | Resource processing method, system, equipment and computer readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020166038A1 (en) * | 2001-02-20 | 2002-11-07 | Macleod John R. | Caching for I/O virtual address translation and validation using device drivers |
CN103729145A (en) * | 2013-12-19 | 2014-04-16 | 华为技术有限公司 | IO (input output) request processing method and device |
CN104268036A (en) * | 2014-10-13 | 2015-01-07 | 浪潮电子信息产业股份有限公司 | Snapshot volume reading method based on zero copy |
CN106383742A (en) * | 2016-09-23 | 2017-02-08 | 郑州云海信息技术有限公司 | Linux-based IO scheduling method |
CN106933653A (en) * | 2017-03-16 | 2017-07-07 | 郑州云海信息技术有限公司 | A kind of data file storage method of virtual machine, device and KVM virtual machines |
CN107480281A (en) * | 2017-08-23 | 2017-12-15 | 金钱猫科技股份有限公司 | A kind of construction method of unified view between heterogeneous file system |
CN108038236A (en) * | 2017-12-27 | 2018-05-15 | 深信服科技股份有限公司 | File sharing method, device, system and readable storage medium storing program for executing |
-
2018
- 2018-12-04 CN CN201811474592.5A patent/CN109558090A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020166038A1 (en) * | 2001-02-20 | 2002-11-07 | Macleod John R. | Caching for I/O virtual address translation and validation using device drivers |
CN103729145A (en) * | 2013-12-19 | 2014-04-16 | 华为技术有限公司 | IO (input output) request processing method and device |
CN104268036A (en) * | 2014-10-13 | 2015-01-07 | 浪潮电子信息产业股份有限公司 | Snapshot volume reading method based on zero copy |
CN106383742A (en) * | 2016-09-23 | 2017-02-08 | 郑州云海信息技术有限公司 | Linux-based IO scheduling method |
CN106933653A (en) * | 2017-03-16 | 2017-07-07 | 郑州云海信息技术有限公司 | A kind of data file storage method of virtual machine, device and KVM virtual machines |
CN107480281A (en) * | 2017-08-23 | 2017-12-15 | 金钱猫科技股份有限公司 | A kind of construction method of unified view between heterogeneous file system |
CN108038236A (en) * | 2017-12-27 | 2018-05-15 | 深信服科技股份有限公司 | File sharing method, device, system and readable storage medium storing program for executing |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113703965A (en) * | 2021-07-30 | 2021-11-26 | 苏州浪潮智能科技有限公司 | Resource processing method, system, equipment and computer readable storage medium |
CN113703965B (en) * | 2021-07-30 | 2023-08-04 | 苏州浪潮智能科技有限公司 | Resource processing method, system, equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021120665A1 (en) | Solid state drive wear balancing method and apparatus, and computer-readable storage medium | |
US9582334B2 (en) | Resource management in MapReduce architecture and architectural system | |
CN101025821B (en) | Asymmetric multi-GPU processing | |
US9501318B2 (en) | Scheduling and execution of tasks based on resource availability | |
TWI518517B (en) | Method, apparatus and system using communications to control a target device | |
CN110198243A (en) | A kind of method for network access and relevant device of virtual machine | |
EP2378410A2 (en) | Method and apparatus to manage tier information | |
CN109101233A (en) | It is adapted to the method, storage equipment and Android device of a variety of screen resolutions | |
CN109976907B (en) | Task allocation method and system, electronic device and computer readable medium | |
CN109976679A (en) | A kind of distributed type assemblies volume pre-head method, system, equipment and computer media | |
CN105678681A (en) | GPU data processing method, GPU, PC architecture processor and GPU data processing system | |
CN102566939B (en) | Solid state disk (SSD) and read-modify-write operation data management method thereof | |
CN110378129A (en) | A kind of Hash encryption and decryption operation method, system, equipment and computer storage medium | |
CN104571956A (en) | Data writing method and splitting device | |
JP2023036774A (en) | Access control method of shared memory, access control device of shared memory, electronic apparatus, and autonomous vehicle | |
CN109558090A (en) | A kind of IO stream resource application method, system, equipment and computer storage medium | |
CN109358960A (en) | A kind of task distribution method, system, equipment and computer readable storage medium | |
CN109995595A (en) | A kind of RGW quota determines method, system, equipment and computer media | |
US9690736B2 (en) | Managing state transitions of a data connector using a finite state machine | |
CN108829490A (en) | A kind of method of cloud platform resetting KVM virtualization platform Linux virtual machine password | |
CN106909374B (en) | Method for realizing alarm clock in shutdown state of intelligent terminal and intelligent terminal | |
CN109408405B (en) | Memory page exchange method, device, terminal and storage medium | |
CN105094742A (en) | Data writing method and device | |
CN102521195A (en) | Address resource allocation method and memorizer | |
CN106844605A (en) | Batch data logical process 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190402 |