CN105519055B - A kind of channel I/O QoS method for dynamically balancing and device - Google Patents

A kind of channel I/O QoS method for dynamically balancing and device Download PDF

Info

Publication number
CN105519055B
CN105519055B CN201480037434.7A CN201480037434A CN105519055B CN 105519055 B CN105519055 B CN 105519055B CN 201480037434 A CN201480037434 A CN 201480037434A CN 105519055 B CN105519055 B CN 105519055B
Authority
CN
China
Prior art keywords
channel
sla
resource
information
parameter
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.)
Active
Application number
CN201480037434.7A
Other languages
Chinese (zh)
Other versions
CN105519055A (en
Inventor
祁凯
王伟
陈克平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN105519055A publication Critical patent/CN105519055A/en
Application granted granted Critical
Publication of CN105519055B publication Critical patent/CN105519055B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present invention provides a kind of channel I/O QoS method for dynamically balancing and device, is related to field of computer technology, provides a kind of Adjusted Option of I/O channel resource service condition, solves the problems, such as that QoS of survice demand not can guarantee.Its method are as follows: by the resource information and SLA information for obtaining every channel I/O, inquiry QoS knowledge base obtains the corresponding standard resource in each channel I/O and uses after parameter, it is compared and determines Current resource service condition and standard resource using the unmatched channel I/O of parameter, further indicate that file system carries out resource adjustment to the unmatched channel I/O.The embodiment of the present invention for realizing the channel I/O QoS dynamic equalization.

Description

A kind of channel I/O QoS method for dynamically balancing and device
Technical field
The present invention relates to field of computer technology more particularly to a kind of channel I/O QoS method for dynamically balancing and device.
Background technique
QoS (Quality of Service, service quality) security mechanism, for according to the characteristics of various network services come Internet resources are reasonably planned and distributed, so that Internet resources be made efficiently to be utilized.SLA(Service Level Agreement, service-level agreement) it is under certain expense for the Performance And Reliability for ensureing service, service provider and use A kind of agreement of the mutual concession defined between family.
In the prior art, the core processor of computer system needs in process (Process) operational process to data When carrying out read/write (Read/Write) operation, it is real that I/O (Input/Output, input/output) channel access memory can be controlled The reading or write-in of existing data.In order to meet requirement of the data transmission to performance and reliability, industry can be met for I/O path setting The SLA of business demand, so that the demand specified according to the SLA regulates and controls the channel I/O, to guarantee that the channel I/O carries out data QoS when transmission.
Although however, for the different SLA of multiple I/O path settings, in the real work in the channel I/O, due to fortune The resource service condition of the variation of row service condition, each channel I/O often varies widely, and deviates from the SLA of setting, leads It causes the utilization power of each I/O channel resource that the predetermined demand of user is not achieved, and then not can guarantee the channel I/O and carry out data transmission When QoS.
Summary of the invention
The embodiment of the present invention provides a kind of channel I/O QoS method for dynamically balancing and device, to solve because of service operation The problem of I/O channel resource utilization rate caused by state change reduces, and the QoS demand of business not can guarantee.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, providing a kind of channel I/O QoS method for dynamically balancing, comprising:
The resource information for the every channel I/O Current resource service condition of expression that file system is sent is received, and indicates every The SLA information of the service-level agreement SLA of I/O path setting;
QoS knowledge base is inquired, according to the SLA information in every channel I/O, matching is obtained set by each channel I/O The corresponding standard resource of SLA use parameter;Wherein, the corresponding standard money of each SLA is previously stored in the QoS knowledge base Source uses parameter;
Parameter is used according to the corresponding standard resource of each SLA, compares the SLA information, the money in every channel I/O Source information determines that Current resource service condition and standard resource use the unmatched channel I/O of parameter;
It sends and instructs to the file system, so that the file system uses parameter according to the corresponding standard resource of SLA, The resource for adjusting the unmatched channel I/O uses.
With reference to first aspect, in the first possible implementation, every in the expression of the reception file system transmission The resource information of the channel I/O Current resource service condition, and indicate the service-level agreement SLA of every I/O path setting Before SLA information, further includes:
Situation request message is sent to file system, it is every that the situation request message is used to indicate the file system feedback The resource information and the SLA information in the channel I/O.
The possible implementation of with reference to first aspect the first, in the second possible implementation, the reception The resource information for the every channel I/O Current resource service condition of expression that file system is sent, and indicate every I/O path setting The SLA information of service-level agreement SLA include:
The situation request message is received in file system, bottom hardware is passed through according to the instruction of the situation request message Resource service condition current on every channel I/O is counted, the resource information and the SLA for obtaining every channel I/O are believed After ceasing and feeding back transmission, the resource information and the SLA information are received.
With reference to first aspect, in the third possible implementation, the inquiry QoS knowledge base, it is logical according to every I/O The SLA information in road, matching obtain the corresponding standard resource of SLA set by each channel I/O using parameter and include:
According to the SLA information in every channel I/O, the corresponding inquiry request message in every channel I/O is constructed, it is described to look into Ask the SLA information that request message includes the corresponding channel I/O;
Successively according to inquiry request message described in every, the QoS knowledge base is traversed, obtains each inquiry request message Corresponding response to query message, the response to query message include the SLA information in the corresponding channel I/O in the QoS The corresponding standard resource uses parameter in knowledge base.
With reference to first aspect, in the fourth possible implementation, described to be made according to the corresponding standard resource of each SLA With parameter, the SLA information, the resource information in every channel I/O are compared, determines Current resource service condition and standard Resource includes: using the unmatched channel I/O of parameter
Obtain the parameter item that the every channel I/O corresponding resource information is included;
The corresponding parameter item in every channel I/O standard resource corresponding with the channel this I/O is compared using parameter respectively Compared with;
The value of the parameter item is greater than the standard resource to be determined as not using the channel I/O of the corresponding value provided of parameter The matched channel I/O.
Second aspect provides a kind of channel I/O QoS dynamic balancing device, comprising:
Receiving unit, the resource of the every channel I/O Current resource service condition of expression for receiving file system transmission Information, and indicate the SLA information of the service-level agreement SLA of every I/O path setting;
Query unit, for inquiring QoS knowledge base, according to the SLA information in every channel I/O, matching obtains each item The corresponding standard resource of SLA set by the channel I/O uses parameter;Wherein, it is previously stored in the QoS knowledge base each The corresponding standard resource of SLA uses parameter;
Acquiring unit compares the described of every channel I/O for using parameter according to the corresponding standard resource of each SLA SLA information, the resource information determine that Current resource service condition and standard resource use the unmatched channel I/O of parameter;
Indicating unit is instructed for sending to the file system, so that the file system is according to the corresponding standard of SLA Resource uses parameter, and the resource for adjusting the unmatched channel I/O uses.
In conjunction with second aspect, in the first possible implementation, further includes:
Request unit, for receiving the every channel I/O Current resource of expression that file system is sent in the receiving unit The resource information of service condition, and indicate every I/O path setting service-level agreement SLA SLA information before, to file System sends situation request message, and the situation request message is used to indicate the institute that the file system feeds back every channel I/O State resource information and the SLA information.
In conjunction with the first possible implementation of second aspect, in the second possible implementation, the reception Unit is specifically used for:
The situation request message is received in file system, bottom hardware is passed through according to the instruction of the situation request message Resource service condition current on every channel I/O is counted, the resource information and the SLA for obtaining every channel I/O are believed After ceasing and feeding back transmission, the resource information and the SLA information are received.
In conjunction with second aspect, in the third possible implementation, the query unit is specifically used for:
According to the SLA information in every channel I/O, the corresponding inquiry request message in every channel I/O is constructed, it is described to look into Ask the SLA information that request message includes the corresponding channel I/O;
Successively according to inquiry request message described in every, the QoS knowledge base is traversed, obtains each inquiry request message Corresponding response to query message, the response to query message include the SLA information in the corresponding channel I/O in the QoS The corresponding standard resource uses parameter in knowledge base.
In conjunction with second aspect, in the fourth possible implementation, the acquiring unit is specifically used for:
Obtain the parameter item that the every channel I/O corresponding resource information is included;
The corresponding parameter item in every channel I/O standard resource corresponding with the channel this I/O is compared using parameter respectively Compared with;
The value of the parameter item is greater than the standard resource to be determined as not using the channel I/O of the corresponding value provided of parameter The matched channel I/O.
The third aspect provides a kind of channel I/O QoS dynamic balancing device, comprising: bus and is connected to the bus Processor, memory and interface;The memory is for storing instruction;The processor executes described instruction and is used for:
The resource information for the every channel I/O Current resource service condition of expression that file system is sent is received, and indicates every The SLA information of the service-level agreement SLA of I/O path setting;
QoS knowledge base is inquired, according to the SLA information in every channel I/O, matching is obtained set by each channel I/O The corresponding standard resource of SLA use parameter;Wherein, the corresponding standard money of each SLA is previously stored in the QoS knowledge base Source uses parameter;
Parameter is used according to the corresponding standard resource of each SLA, compares the SLA information, the money in every channel I/O Source information determines that Current resource service condition and standard resource use the unmatched channel I/O of parameter;
It sends and instructs to the file system, so that the file system uses parameter according to the corresponding standard resource of SLA, The resource for adjusting the unmatched channel I/O uses.
It is in the first possible implementation, every in the expression that the reception file system is sent in conjunction with the third aspect The resource information of the channel I/O Current resource service condition, and indicate the service-level agreement SLA of every I/O path setting Before SLA information, the processor executes described instruction and is specifically used for:
Situation request message is sent to file system, it is every that the situation request message is used to indicate the file system feedback The resource information and the SLA information in the channel I/O.
In conjunction with the first possible implementation of the third aspect, in the second possible implementation, the processing Device executes described instruction and is specifically used for:
The situation request message is received in file system, bottom hardware is passed through according to the instruction of the situation request message Resource service condition current on every channel I/O is counted, the resource information and the SLA for obtaining every channel I/O are believed After ceasing and feeding back transmission, the resource information and the SLA information are received.
In conjunction with the third aspect, in the third possible implementation, the processor executes described instruction and is specifically used for:
According to the SLA information in every channel I/O, the corresponding inquiry request message in every channel I/O is constructed, it is described to look into Ask the SLA information that request message includes the corresponding channel I/O;
Successively according to inquiry request message described in every, the QoS knowledge base is traversed, obtains each inquiry request message Corresponding response to query message, the response to query message include the SLA information in the corresponding channel I/O in the QoS The corresponding standard resource uses parameter in knowledge base.
In conjunction with the third aspect, in the fourth possible implementation, the processor executes described instruction and is specifically used for:
Obtain the parameter item that the every channel I/O corresponding resource information is included;
The corresponding parameter item in every channel I/O standard resource corresponding with the channel this I/O is compared using parameter respectively Compared with;
The value of the parameter item is greater than the standard resource to be determined as not using the channel I/O of the corresponding value provided of parameter The matched channel I/O.
As it can be seen that the embodiment of the present invention provides a kind of channel I/O QoS method for dynamically balancing and device, by obtain it is every The resource information and SLA information in the channel I/O, inquiry QoS knowledge base obtain the corresponding standard of SLA set by each channel I/O After resource uses parameter, it is compared and determines that Current resource service condition and standard resource use the unmatched I/O of parameter Channel further indicates that file system carries out resource adjustment to the above-mentioned unmatched channel I/O.It so, can be logical to I/O The resource in road is adjusted according to different SLA requirements, solve in the prior art I/O during carrying out data transmission, by Lead to the reduction of channel resource utilization rate, the problem of QoS demand of business not can guarantee in reasons such as service condition variations.Therefore, Compared with the existing technology, the QoS of the various aspects configuration needs and I/O interchannel that ensure that customer service is equal for the embodiment of the present invention Weighing apparatus, improves I/O channel performance.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, 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 Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of more I/O channel computer systems based on SLA;
Fig. 2 is a kind of flow diagram one of the channel I/O QoS method for dynamically balancing provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram two of the channel I/O QoS method for dynamically balancing provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram three of the channel I/O QoS method for dynamically balancing provided in an embodiment of the present invention;
Fig. 5 is a kind of flow diagram four of the channel I/O QoS method for dynamically balancing provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram one of the channel I/O QoS dynamic balancing device provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram two of the channel I/O QoS dynamic balancing device provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram three of the channel I/O QoS dynamic balancing device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Method provided in an embodiment of the present invention can be applied to it is a kind of based on SLA (Service Level Agreement, Service-level agreement) more I/O (Input/Output, input/output) channel computer system, the structure of the system is as schemed Shown in 1, the core processor in computer system carries out read/write to data in each customer service process initiated according to user terminal (Read/Write) when operating, main each channel I/O by between core processor and memory, realize data reading or Write-in.On the one hand, corresponding customer sla demand (i.e. resource service condition needed for business) is set for each customer service, it should Customer sla demand is used to be resource control scheme needed for I/O path setting business used in the business, and such as part is to resource Use the parameter set, comprising: SLA requirement grade (SLA_level), channel processing capacity (SLA_iops), channel stream Measure (SLA_bps), service state (SLA_server) etc.;It on the other hand, is the corresponding SLA information of each I/O path setting, such as SLA title (SLA Name), when carrying out data transmission, the channel I/O is with the different entitled indexes of SLA, from different users SLA requirement is corresponding, i.e., the different channels I/O is responsible for processing and sets the customer service of relative users SLA requirement, and then can be with By the file system in core processor, point of resource on the channel I/O is realized according to the customer sla demand of each customer service setting Match and adjust, so that each customer service can be according to the instruction of preset corresponding customer sla demand, in corresponding I/O when initiating Channel uses corresponding resource distribution, so that the resource utilization in more channels I/O can satisfy preset requirement, QoS (Quality of Service, service quality) is protected whereby.Wherein, pair of different user business and customer sla demand It should be related to, the corresponding relationship in each channel I/O and SLA information, the SLA I/O QoS monitoring module that can be provided by computer system (Monitor) it is controlled, each standard resource in each customer sla demand corresponding resource control program can be by being using parameter System building QoS knowledge base is stored.
The embodiment of the present invention provides a kind of channel I/O QoS method for dynamically balancing, as shown in Fig. 2, this method comprises:
S101, the resource information and table for receiving the every channel I/O Current resource service condition of expression that file system is sent Show the SLA information of the service-level agreement SLA of every I/O path setting.
Wherein, the resource information in every channel I/O specifically may be used for indicating the current resource service condition in the channel I/O To include: SLA requirement grade, channel processing capacity information, channel capacity information, service status information etc.;Every channel I/O SLA information is used to be expressed as the SLA of the I/O path setting, is specifically as follows: SLA title.
It in an implementation mode, can be with before receiving the resource information and SLA information in the channel above-mentioned every I/O Situation request message is sent to file system, which is used to indicate the money that file system feeds back every channel I/O Source information and SLA information.
Optionally, situation request message may further be received in file system, according to circumstances the instruction of request message is logical The resource service condition that bottom hardware counts current on every channel I/O is crossed, the resource information and SLA in every channel I/O are obtained Information and after feeding back transmission, receives resource information and SLA information.
S102, inquiry QoS knowledge base, according to the SLA information in every channel I/O, matching is obtained set by each channel I/O The corresponding standard resource of SLA use parameter.
Wherein, the corresponding standard resource of each SLA is previously stored in QoS knowledge base using parameter, which makes It may include: standard SLA requirement grade, standard channel processing capacity information, standard channel flow information etc. with parameter.
In an implementation mode, it can construct that every channel I/O is corresponding looks into according to the SLA information in every channel I/O Ask request message, wherein the inquiry request message includes the SLA information in the corresponding channel I/O;
Successively according to every inquiry request message, QoS knowledge base is traversed, obtains that each inquiry request message is corresponding to be looked into Inquiry replies message, wherein the response to query message include the corresponding channel I/O SLA information in QoS knowledge base corresponding standard Resource uses parameter.
S103, parameter is used according to the corresponding standard resource of each SLA, compares SLA information, the resource in every channel I/O Information determines that Current resource service condition and standard resource use the unmatched channel I/O of parameter.
In an implementation mode, the parameter item that the channel available every I/O corresponding resource information is included;
The corresponding parameter item in every channel I/O standard resource corresponding with the channel this I/O is compared using parameter respectively Compared with;
The value of parameter item is greater than standard resource and is determined as unmatched I/ using the channel I/O of the corresponding value provided of parameter O channel.
S104, instruction is sent to file system, so that file system uses parameter according to the corresponding standard resource of SLA, adjusted The resource in the whole unmatched channel I/O uses.
The embodiment of the present invention provides a kind of channel I/O QoS method for dynamically balancing, by obtaining every channel I/O Resource information and SLA information, inquiry QoS knowledge base obtain the corresponding standard resource of SLA set by each channel I/O and use parameter Later, it is compared and determines that Current resource service condition and standard resource using the unmatched channel I/O of parameter, further refer to Show that file system carries out resource adjustment to the above-mentioned unmatched channel I/O.So, it solves I/O carrying out data transmission In the process, since service condition variation leads to the reduction of channel resource utilization rate, the problem of QoS demand of business not can guarantee, is protected The QoS of the various aspects configuration needs and I/O interchannel of having demonstrate,proved customer service is balanced, improves I/O channel performance.
In order to enable those skilled in the art to be more clearly understood that technical solution provided in an embodiment of the present invention, lead to below Specific embodiment is crossed, a kind of channel I/O QoS method for dynamically balancing provided in an embodiment of the present invention is described in detail, is worth One mention, examples provided below only does example, implementation of the invention is without being limited thereto.As shown in figure 3, this method packet It includes:
S201, QoS dynamic balancing device send situation request message to file system.
Disappear specifically, QoS dynamic balancing device sends the corresponding situation request in every channel I/O to file system Breath, the current state for each channel I/O of request.
Wherein, which can be SLA I/O QoS monitoring module, and the QoS monitoring module can be A part of corresponding function is executed in computer system, or an independent equipment, herein without limitation;File system It can be the software mechanism module for being responsible for management and storage file information, can be one of core processor in computer system Point, and controlled by core processor, it can be interacted with user, the resource service condition in each channel I/O is controlled System.
Situation request message corresponding to every channel I/O can include the corresponding SLA information in the requested channel I/O, The SLA information is used to set relationship indexed I/O channel according to the SLA in the channel I/O, is specifically as follows SLA title.Above-mentioned each situation Request message is used to indicate the information needed in the SLA title instruction channel I/O in file system feedback information.
Wherein, the corresponding relationship in the channel I/O and SLA information it is equal can be stored in above-mentioned QoS dynamic to be preset It weighs in device, can be selected according to user specific corresponding to relationship or application scenarios require to be adjusted, herein without limitation.
Optionally, which can also include: type of message, memory address digit, message identifier, data The format of storage address etc., message can be as follows:
Wherein, in the part " Header " (i.e. information header): " Message Type:I/O Channel Usage Information " indicate the information for interaction specify the channel I/O channel service condition;" Length " indicates memory address Digit is " 32 ";" Transaction ID " instruction message identifier is " 0 ";The selected I/O of " Channel Name " instruction is logical The corresponding SLA title in road.
In the part " I/O channel Usage Request ": " Message Type:I/O Channel Usage Request Information " is for further indicating that the information is situation request message;" Channel Name " instruction is selected The corresponding SLA title in the channel I/O, can be identical with the part " Header ";" Body " designation date storage address.
It is exemplary only comprising item shown in above-mentioned message format, and the corresponding numerical value of shown items or character are (such as " 32 ", " SLA Name ", " * usage [4] " etc.), only make exemplary application, in specific application according to the difference of application scenarios and Corresponding change, including but not limited to this, and herein without limitation.
It is worth mentioning, QoS dynamic balancing device can send each situation to file system after receiving external instruction Request message periodically can also send each situation request message to file system, and execute after at interval of preset time Subsequent operating process, when concrete application, adoptable triggering mode included but is not limited to this, and herein without limitation.
S202, QoS dynamic balancing device receive the case where file system is sent message.
Specifically, receiving each situation request message of QoS dynamic balancing device transmission in file system, construction obtains phase The case where answering message, and after sending each situation message to QoS dynamic balancing device feedback, QoS dynamic balancing device receives text Situation message corresponding to each channel I/O that part system is sent.
Wherein, each situation message can include: to indicate that the message corresponds to the channel I/O Current resource service condition Resource information, and indicate that the message corresponds to the SLA information of the SLA of I/O path setting, and the SLA information can be SLA title.
Illustratively, the parameter for indicating that the resource information of the channel I/O Current resource service condition may include has: IOPS (Input/Output Operations Per Second, input and output number per second) information, for showing that channel handles energy Power;Bps (Bits per Second) information, for showing the message transmission rate in channel;Precedence information etc., and above-mentioned column The partial parameters of act are exemplary only, can also include parameter or index that other are used to indicate channel performance, not do herein It limits.
Optionally, above situation message can also include: type of message, memory address digit, message identifier, parameter number According to etc., the format of message can be as follows:
SLA_server:iops_usage_rate/bps_usage_rate/Time_period
Wherein, " Header " is partially identical as above situation request message, and details are not described herein again;"I/O channel In the part Usage Reply ": " Message Type:I/O Channel Usage Reply Information " is used for into one Step indicates that the information is situation message;The selected corresponding SLA title in the channel I/O of " Channel Name " instruction, Ke Yiyu It is identical in the part " Header ", it is corresponding with situation request message;" Body " indicates the supplemental characteristic for including, and specifically includes: I/O Corresponding SLA requirement grade SLA_level, the IOPS information SLA_iops in channel, rate information SLA_bps, utilization rate information SLA_server。
It is exemplary only comprising item shown in above-mentioned message format, and the corresponding numerical value of shown items or character, only make Exemplary application, including but not limited to this.
Optionally, file system obtains phase after each situation request message for receiving the transmission of QoS dynamic balancing device The process for each situation message answered, as shown in figure 4, may include:
S2021, file system send the corresponding statistical message in every channel I/O to bottom hardware.
Specifically, file system receive QoS dynamic balancing device transmission each situation request message after, according to every One situation request message, construction generates the corresponding statistical message in every channel I/O, and is sent to bottom hardware, so as to bottom Hardware carries out statistics and feedback operation according to each statistical message.
Wherein, bottom hardware can be a part of equipment of execution corresponding function in computer system, or one Independent storage equipment, herein without limitation;It can ((Solid State Disk, solid-state be hard by such as SSD with hardware memory Disk), disk array Disk Array) form realize that and there are more channels I/O to interact between core processor.
Illustratively, above-mentioned statistical message may include requesting the corresponding SLA information in the channel I/O of statistics, SLA letter Breath is specifically as follows SLA title for setting relationship indexed I/O channel according to the SLA in the channel I/O.The statistical message is for referring to Show that bottom hardware is counted and fed back to the relevant information of SLA title instruction I/O channel resource service condition in message.
Optionally, which can also include: type of message, memory address digit, message identifier, data storage The format of address etc., message can be as follows:
Wherein, in the part " Header " (i.e. information header): " Message Type:I/O Channel Usage Information " indicate the information for interaction specify the channel I/O channel service condition;" Length " indicates memory address Digit is " 32 ";" Transaction ID " instruction message identifier is " 1 ";The selected I/O of " Channel Name " instruction is logical The corresponding SLA title in road.
In the part " I/O channel Usage Statistics Request ": " Message Type:I/O Channel Usage Request Information " is for further indicating that the information is statistical message;"Channel The selected corresponding SLA title in the channel I/O of Name " instruction, can be identical with the part " Header ";" Body " designation date is deposited Store up address.
It is exemplary only comprising item shown in above-mentioned message format, and the corresponding numerical value of shown items or character, only make Exemplary application, including but not limited to this.
S2022, bottom hardware feed back the corresponding statistics in every channel I/O of transmission to file system and reply message.
Specifically, bottom hardware receive file system transmission each statistical message after, according to the finger of each statistical message Show, specified each channel I/O is counted in default statistical time, obtain corresponding statistics and reply message, and to file System sends each statistics and replies message.
Wherein, it presets statistical time to be used to be defined the duration for carrying out statistical operation, can be set for system default, Or external input is given, herein without limitation;It includes: to indicate SLA information in statistical message that above-mentioned statistics, which replies message, The resource information of the channel the I/O Current resource service condition of instruction.
Optionally, it can also include: type of message, memory address digit, message identifier, ginseng that above-mentioned statistics, which replies message, Number data etc., the format of message can be as follows:
Wherein, " Header " is partially identical as above-mentioned statistical message, and details are not described herein again;"I/O channel Usage In the part Reply ": " Message Type:I/O Channel Usage Reply Information " is for further indicating The information is that statistics replies message;The selected corresponding SLA title in the channel I/O of " Channel Name " instruction, Ke Yiyu It is identical in the part " Header ", it is corresponding with statistical message;" Body " indicates the supplemental characteristic for including, and specifically includes: the channel I/O Corresponding SLA requirement grade SLA_level, IOPS information SLA_iops, rate information SLA_bps.
It is exemplary only comprising item shown in above-mentioned message format, and the corresponding numerical value of shown items or character, only make Exemplary application, including but not limited to this.
S2023, file system obtain situation message corresponding to every channel I/O.
Specifically, file system receive bottom hardware feedback every channel I/O it is corresponding statistics reply message after, The corresponding each situation message of acquisition can be constructed.
S203, QoS dynamic balancing device inquire QoS knowledge base.
Specifically, the situation that QoS dynamic balancing device is corresponding in every channel I/O for receiving file system feedback transmission After message, QoS knowledge base is inquired, determines that each channel I/O standard resource corresponding to QoS knowledge base uses parameter.
Wherein, QoS knowledge base is the database for recording the corresponding standard resource of pre-stored each SLA and using parameter, It can be a part of execution corresponding function in QoS balancer, or an independent equipment, herein without limitation. It is manually the selected relevant parameter of different SLA that each standard resource can be user using parameter in advance, be can specifically include: IOPS Information, Bps information, precedence information etc., and the above-mentioned partial parameters enumerated are exemplary only, according to application in practical application There may be differences for the difference of scene or demand, can also be including other adjustable parameters relevant to channel performance or index, this Place is without limitation.
It is worth mentioning, the foundation of QoS knowledge base is to receive knowledge base update message by QoS dynamic balancing device to realize , which can obtain from customer service process, it can also be directly acquired from outside, herein without limitation, Each knowledge base update message contains the relevant parameter of a SLA mark (such as SLA title) and its corresponding customer sla demand (such as standard resource uses parameter).For QoS dynamic balancing device after obtaining knowledge base update message, retrieval judges QoS knowledge Whether existing knowledge base update message instruction SLA identifies corresponding knowledge base list item in library, if it does not exist, then creates list item It is recorded, and if it exists, then further determine whether the parameter wherein recorded needs to update, accordingly choose whether to execute more After new, the foundation of QoS knowledge base is completed.
Illustratively, the record format of each knowledge base list item can be as shown in table 1 in QoS knowledge base:
Table 1
Optionally, the above-mentioned QoS balancer situation message corresponding according to every channel I/O inquires QoS knowledge base, such as Shown in Fig. 5, it can specifically include:
S2031, QoS dynamic balancing device send the corresponding inquiry request message in every channel I/O to QoS knowledge base.
Specifically, QoS dynamic balancing device receive file system transmission each situation message after, to QoS knowledge Library sends the corresponding inquiry request message in each channel I/O.
Wherein, inquiry request message may include the corresponding SLA information in the inquired channel I/O, which can be SLA title is used to indicate the specified corresponding standard resource of SLA of the QoS knowledge base-feedback SLA title and uses parameter.
Optionally, which can also include: type of message, memory address digit, message identifier, data The format of storage address etc., message can be as follows:
Wherein, in the part " Header " (i.e. information header): " Message Type:I/O QOS lookup Information " indicates that the information specifies the corresponding parameter information of SLA title for interacting in QoS knowledge base;" Length " refers to Show that memory address digit is " 32 ";" Transaction ID " instruction message identifier is " 2 ";" Channel Name " instruction choosing The corresponding SLA title in the fixed channel I/O.
In the part " I/O channel Usage Statistics Request ": " Message Type:I/O QOS Lookup Request Information " is for further indicating that the information is inquiry request message;"Channel Name" Indicate the selected corresponding SLA title in the channel I/O, it can be identical with the part " Header ";" Body " designation date storage ground Location.
It is exemplary only comprising item shown in above-mentioned message format, and the corresponding numerical value of shown items or character, only make Exemplary application, including but not limited to this.
S2032, QoS dynamic balancing device receive QoS knowledge base-feedback and send the corresponding response to query letter in every channel I/O Breath.
Specifically, QoS knowledge base receive QoS dynamic balancing device transmission each inquiry request message after, according to each Instruction in inquiry request message, the SLA that retrieval obtains each I/O path setting are used in the corresponding standard resource of QoS knowledge base Parameter constructs the corresponding response to query message of each inquiry request message, and sends each response to query to QoS dynamic balancing device and disappear Breath.
Wherein, the corresponding response to query message in every channel I/O may include the SLA of the I/O path setting in QoS knowledge The corresponding standard resource in library uses parameter.
Optionally, above-mentioned response to query message can also include: type of message, memory address digit, message identifier, ginseng Number data etc., the format of message can be as follows:
Wherein, " Header " is partially identical as above-mentioned inquiry request message, and details are not described herein again;"I/O channel In the part Usage Statistics Reply ": " Message Type:I/O QOS lookup Reply Information " For further indicating that the information is response to query message;The selected channel I/O of " Channel Name " instruction is SLA corresponding Claim, can be identical with the part " Header ", it is corresponding with inquiry request message;" Body " indicates the supplemental characteristic for including, tool Body includes: corresponding SLA requirement grade SLA_level, the IOPS information SLA_iops in the channel I/O, rate information SLA_bps, benefit With rate information SLA_service.
It is exemplary only comprising item shown in above-mentioned message format, and the corresponding numerical value of shown items or character, only make Exemplary application, including but not limited to this.
S204, QoS dynamic balancing device change the resource service condition in the channel I/O.
Specifically, QoS dynamic balancing device determines the unmatched channel I/O, and change message is constructed, passes through customer sla Change the resource service condition in each unmatched channel I/O.
Wherein, customer sla is used to manage the SLA requirement of each customer service, can be by interacting with file system, for not The same corresponding resource of customer sla demand assignment can be a part of execution corresponding function in QoS dynamic balancing device, It can be an independent functional module in computer system, herein without limitation.
Illustratively, QoS dynamic balancing device is in the corresponding inquiry in every channel I/O for receiving QoS knowledge base-feedback After replying message, parameter corresponding relationship is used according to the channel I/O of each response to query message instruction and standard resource, in conjunction with situation The corresponding relationship of the resource information of its Current resource service condition of the channel I/O and expression of message instruction, is compared judgement, By in whole channels I/O, the numerical value of parameter item included in the corresponding resource information of channel, which corresponds to standard resource greater than the channel, to be made It is determined as the unmatched channel I/O with the channel I/O in parameter being the numerical value that the parameter item provides.
By taking the format that statistics replies message, response to query message provides in above-described embodiment as an example, when any channel pair I/O The statistics answered replies message middle SLA_iops greater than SLA_iops (i.e. Avg_min_iops/Avg_max_ in response to query message Iops > min_iops/max_iops), or, statistics replies message middle SLA_bps (i.e. greater than SLA_bps in response to query message Avg_min_bps/Avg_max_bps > min_bps/max_bps) when, determine that the channel I/O is the unmatched channel I/O.I.e. Show that business is current on the channel I/O resource service condition has exceeded resource requirement specified by setting SLA, need into The change of row resource service condition is to reach the equilibrium of each channel resource.Wherein, the unmatched channel I/O of above-mentioned determination can be with For one or more.
Further, QoS dynamic balancing device sends change message to customer sla, and customer sla is according to the change message Determine the above-mentioned unmatched channel I/O, instruction file system carries out resource change to the specified channel I/O.
It further include judging whether hardware and each channel I/O are capable of providing change institute before executing the resource change operation The respective resources needed.For reflecting the parameter IOPS of equipment read-write handling capacity, i.e., situation message corresponding according to each channel I/O Judged, if current IOPS value is less than the attainable maximum IOPS value of channel institute in the resource information in channel, shows that the I/O is logical Road is capable of providing additional IOPS ability, so that it is determined that resource change operation is executable.And the above-mentioned judgement to IOPS ability Journey is exemplary only, other adjustable parameters are such as reflected with the bps parameter of setting read and write rate, corresponding operation can also be used Judged, herein without limitation.
Further, after being determined that hardware and channel are capable of providing additional required resource, by above-mentioned unmatched I/O The resource in channel is changed to parameter value (the i.e. min_iops/ that the corresponding standard resource in the channel I/O is accordingly provided using parameter Max_iops or min_bps/max_bps etc.), complete the change of resource service condition.
It is worth mentioning, if hardware and channel cannot provide additional required resource, shows above-mentioned resource change operation It can not execute, resource change failure.
Optionally, file system can be developed based on (SuSE) Linux OS kernel, logical to specified above-mentioned unmatched I/O The operation that road carries out resource change can be realized by Linux Cgroups (Control groups) mechanism.
Linux Cgroups mechanism be one kind for providing of linux kernel can limit, record, isolated process group The mechanism of physical resource used in (process groups) (such as: cpu, memory, I/O resource), is applicable to a variety of Application scenarios.Function include: limiting process group can be used resource quantity (Resource limiting), process group it is excellent First grade controls (Prioritization), the resource quantity (Accounting) that record the process group uses, process group isolation (isolation), process group control (control) etc..
Customer sla indicates that file system executes change operation, and file system is according to each above-mentioned unmatched in QoS knowledge base The corresponding standard resource in the channel I/O uses parameter, passes through the Linux Cgroups mechanism (money that such as limiting process group can be used Source quantity, two priority classes of process group etc.) the resource service condition in each channel I/O is changed.Terminate in change operation Afterwards, customer sla sends change to QoS dynamic balancing device and replies message, and is used to indicate the result of change operation.
Wherein, change reply message may include: type of message, memory address digit, message identifier, change operation not After the corresponding SLA information (such as SLA title) in the matched channel I/O, change the supplemental characteristic of state, reaction change operation state Mode bit is changed, the format of message can be as follows:
Wherein, in the part " Header " (i.e. information header): " Message Type:I/O QOS modify Information " indicate the information for interaction specify the alteration in the above-mentioned unmatched channel I/O;" Length " instruction Memory address digit is " 32 ";" Transaction ID " instruction message identifier is " 3 ";" Channel Name " instruction is selected The corresponding SLA title in the unmatched channel I/O.
In the part " I/O QOS modify Information Message Reply ": " Message Type:I/O QOS modify Reply Information " is for further indicating that the information replies message for change;"Channel The selected corresponding SLA title in the unmatched channel I/O of Name " instruction, can be identical with the part " Header ";" Body " refers to Show supplemental characteristic after the change for including, specifically includes: the corresponding SLA requirement grade SLA_ in the channel change operation object I/O Level, IOPS information SLA_iops, rate information SLA_bps, change mode bit SLA_status.
It is exemplary only comprising item shown in above-mentioned message format, and the corresponding numerical value of shown items or character, only make Exemplary application, including but not limited to this.
It is worth mentioning, during above-mentioned change replies message, when SLA_status original state is 0, may indicate that and do not carry out Resource change;When being 1, it may indicate that resource changes successfully;When being 2, resource change failure may indicate that, and specific corresponding to side Formula is herein without limitation.
It should be noted that, it is above-mentioned to be based on (SuSE) Linux OS kernel, using the implementation of Linux Cgroups mechanism It is exemplary only, it is contemplated that when being realized using other types operating platform, such as XEN virtual machine architecture, KVM (Kernel-based Virtual Machine, virtual machine based on kernel) etc. is that those skilled in the art can not do It is readily occurred under the premise of creative work out, therefore also in the embodiment of the present invention protection scope.
The embodiment of the present invention provides a kind of channel I/O QoS method for dynamically balancing, by obtaining every channel I/O Resource information and SLA information, inquiry QoS knowledge base obtain the corresponding standard resource of SLA set by each channel I/O and use parameter Later, it is compared and determines that Current resource service condition and standard resource using the unmatched channel I/O of parameter, further refer to Show that file system carries out resource adjustment to the above-mentioned unmatched channel I/O.So, solve in the prior art I/O into In row data transmission procedure, since service condition changes, channel resource service condition changes, and leads to channel resource utilization rate The problem of reduction, the QoS demand of business not can guarantee, therefore, the embodiment of the present invention compared with the existing technology, can be to I/O The resource service condition in channel changes adjustment, ensure that the various aspects configuration needs of customer service and the QoS of I/O interchannel Equilibrium improves I/O channel performance.
The embodiment provides a kind of channel I/O QoS dynamic balancing device 00, one provided with previous embodiment The kind channel I/O QoS method for dynamically balancing is corresponding, as shown in fig. 6, the QoS dynamic balancing device 00 includes:
Receiving unit 001, the money of the every channel I/O Current resource service condition of expression for receiving file system transmission Source information, and indicate the SLA information of the service-level agreement SLA of every I/O path setting.
Query unit 002, for inquiring QoS knowledge base, according to the SLA information in every channel I/O, matching obtains each I/ The corresponding standard resource of SLA set by O channel uses parameter.
Wherein, it is previously stored with the corresponding standard resource of each SLA in QoS knowledge base and uses parameter.
Acquiring unit 003 compares every channel I/O for using parameter according to the corresponding standard resource of each SLA SLA information, resource information determine that Current resource service condition and standard resource use the unmatched channel I/O of parameter.
Indicating unit 004 is instructed for sending to file system, so that file system is according to the corresponding standard resource of SLA Using parameter, the resource for adjusting the unmatched channel I/O is used.
It should be noted that wherein dotted line indicates can have connection relationship between unit, it may not possess and directly connect Connect relationship, for example receiving unit 001 and query unit 002 contribute to interact with the equipment outside device, receiving unit 001 can notify query unit 002 after receiving information needed, can also not notify.
Optionally, as shown in fig. 7, the QoS dynamic balancing device 00 can also include:
Request unit 005 is currently provided for receiving every channel I/O of expression that file system is sent in receiving unit 001 The resource information of source service condition, and indicate every I/O path setting service-level agreement SLA SLA information before, Xiang Wen Part system sends situation request message, and situation request message is used to indicate the resource information that file system feeds back every channel I/O With SLA information.
Optionally, receiving unit 001 can be specifically used for:
Situation request message is received in file system, according to circumstances the instruction of request message counts every by bottom hardware Current resource service condition on the channel I/O obtains the resource information and SLA information and after feeding back transmission in every channel I/O, connects Receive resource information and SLA information.
Optionally, query unit 002 can be specifically used for:
According to the SLA information in every channel I/O, the corresponding inquiry request message in every channel I/O is constructed, inquiry request disappears Breath includes the SLA information in the corresponding channel I/O;
Successively according to every inquiry request message, QoS knowledge base is traversed, obtains that each inquiry request message is corresponding to be looked into Inquiry replies message, response to query message include the corresponding channel I/O SLA information in QoS knowledge base corresponding standard resource make Use parameter.
Optionally, acquiring unit 003 can be specifically used for:
Obtain the parameter item that the every channel I/O corresponding resource information is included;
The corresponding parameter item in every channel I/O standard resource corresponding with the channel this I/O is compared using parameter respectively Compared with;
The value of parameter item is greater than standard resource and is determined as unmatched I/ using the channel I/O of the corresponding value provided of parameter O channel.
The embodiment of the present invention provides a kind of channel I/O QoS dynamic balancing device, by obtaining every channel I/O Resource information and SLA information, inquiry QoS knowledge base obtain the corresponding standard resource of SLA set by each channel I/O and use parameter Later, it is compared and determines that Current resource service condition and standard resource using the unmatched channel I/O of parameter, further refer to Show that file system carries out resource adjustment to the above-mentioned unmatched channel I/O.So, it solves I/O carrying out data transmission In the process, since service condition variation leads to the reduction of channel resource utilization rate, the problem of QoS demand of business not can guarantee, is protected The QoS of the various aspects configuration needs and I/O interchannel of having demonstrate,proved customer service is balanced, improves I/O channel performance.
The embodiments of the present invention also provide a kind of channel I/O QoS dynamic balancing devices 01, as shown in figure 8, the QoS is dynamic State balancer 01 includes:
Bus 011 and the processor 012, memory 013 and interface 014 for being connected to bus 011, wherein interface 014 is used Connection communication between each node of realization;
For storing instruction, which executes the instruction and is specifically used for receiving file system transmission the memory 013 The every channel I/O Current resource service condition of expression resource information, and indicate the grade of service association of every I/O path setting Discuss the SLA information of SLA.
The processor 012 executes the instruction and is also used to: inquiry QoS knowledge base, according to the SLA information in every channel I/O, Parameter is used with the corresponding standard resource of SLA set by each channel I/O is obtained.
Wherein, it is previously stored with the corresponding standard resource of each SLA in QoS knowledge base and uses parameter.
The processor 012 executes the instruction and is also used to: according to the corresponding standard resource of each SLA using parameter, comparing every SLA information, the resource information in the channel I/O determine that Current resource service condition is unmatched using parameter with standard resource The channel I/O.
The processor 012 executes the instruction and is also used to: sending and instructs to file system, so that file system is according to SLA pairs The standard resource answered uses parameter, and the resource for adjusting the unmatched channel I/O uses.
In embodiments of the present invention, optionally, make in the every channel the I/O Current resource of expression for receiving file system transmission With the resource information of situation, and before indicating the SLA information of service-level agreement SLA of every I/O path setting, the processor 012, which executes the instruction, to be specifically used for:
Situation request message is sent to file system, and situation request message is used to indicate file system, and to feed back every I/O logical The resource information and SLA information in road.
Further, in embodiments of the present invention, optionally, which executes the instruction and can be specifically used for:
Situation request message is received in file system, according to circumstances the instruction of request message counts every by bottom hardware Current resource service condition on the channel I/O obtains the resource information and SLA information and after feeding back transmission in every channel I/O, connects Receive resource information and SLA information.
In embodiments of the present invention, optionally, which executes the instruction and can be specifically used for:
According to the SLA information in every channel I/O, the corresponding inquiry request message in every channel I/O is constructed, inquiry request disappears Breath includes the SLA information in the corresponding channel I/O;
Successively according to every inquiry request message, QoS knowledge base is traversed, obtains that each inquiry request message is corresponding to be looked into Inquiry replies message, response to query message include the corresponding channel I/O SLA information in QoS knowledge base corresponding standard resource make Use parameter.
In embodiments of the present invention, optionally, which executes the instruction and can be specifically used for:
Obtain the parameter item that the every channel I/O corresponding resource information is included;
The corresponding parameter item in every channel I/O standard resource corresponding with the channel this I/O is compared using parameter respectively Compared with;
The value of parameter item is greater than standard resource and is determined as unmatched I/ using the channel I/O of the corresponding value provided of parameter O channel.
The embodiment of the present invention provides a kind of channel I/O QoS dynamic balancing device, by obtaining every channel I/O Resource information and SLA information, inquiry QoS knowledge base obtain the corresponding standard resource of SLA set by each channel I/O and use parameter Later, it is compared and determines that Current resource service condition and standard resource using the unmatched channel I/O of parameter, further refer to Show that file system carries out resource adjustment to the above-mentioned unmatched channel I/O.So, it solves I/O carrying out data transmission In the process, since service condition variation leads to the reduction of channel resource utilization rate, the problem of QoS demand of business not can guarantee, is protected The QoS of the various aspects configuration needs and I/O interchannel of having demonstrate,proved customer service is balanced, improves I/O channel performance.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, apparatus embodiments described above are merely indicative, the division of the unit, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.
In addition, each functional unit can integrate to be handled at one in equipment and system in each embodiment of the present invention In unit, being also possible to the independent physics of each unit includes that can also be integrated in one unit with two or more units. And above-mentioned each unit both can take the form of hardware realization, can also add the form of SFU software functional unit real using hardware It is existing.
This can be accomplished by hardware associated with program instructions for all or part of the steps of realization above method embodiment, preceding The program stated can be stored in a computer readable storage medium, and when being executed, execute includes that the above method is real to the program The step of applying;And storage medium above-mentioned includes: USB flash disk, mobile hard disk, ROM (Read Only Memory, read-only storage Device), RAM (Random Access Memory, random access memory), magnetic or disk etc. is various can store program generation The medium of code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (15)

1. a kind of channel I/O QoS method for dynamically balancing characterized by comprising
The resource information for the every channel I/O Current resource service condition of expression that file system is sent is received, and indicates every I/O The SLA information of the service-level agreement SLA of path setting;The resource for indicating the every channel I/O Current resource service condition Information includes: SLA requirement grade, channel processing capacity information, channel capacity information and service status information;
QoS knowledge base is inquired, according to the SLA information in every channel I/O, matching obtains SLA set by each channel I/O Corresponding standard resource uses parameter;Wherein, the corresponding standard resource of each SLA is previously stored in the QoS knowledge base makes Use parameter;
Parameter is used according to the corresponding standard resource of each SLA, compares the SLA information, the resource letter in every channel I/O Breath determines that Current resource service condition and standard resource use the unmatched channel I/O of parameter;
It sends and instructs to the file system, so that the file system uses parameter, adjustment according to the corresponding standard resource of SLA The resource in the unmatched channel I/O uses.
2. the method according to claim 1, wherein the every I/O of expression sent in the reception file system The resource information of channel Current resource service condition, and indicate the SLA letter of the service-level agreement SLA of every I/O path setting Before breath, further includes:
Situation request message is sent to file system, the situation request message is used to indicate the file system and feeds back every I/ The resource information of O channel and the SLA information.
3. according to the method described in claim 2, it is characterized in that, described every I/O of expression for receiving file system transmission is logical The resource information of road Current resource service condition, and indicate the SLA information of the service-level agreement SLA of every I/O path setting Include:
The situation request message is received in file system, is counted according to the instruction of the situation request message by bottom hardware Current resource service condition on every channel I/O, the resource information and the SLA information for obtaining every channel I/O are simultaneously After feedback is sent, the resource information and the SLA information are received.
4. the method according to claim 1, wherein the inquiry QoS knowledge base, according to every channel I/O The SLA information, matching obtain the corresponding standard resource of SLA set by each channel I/O using parameter and include:
According to the SLA information in every channel I/O, the corresponding inquiry request message in every channel I/O is constructed, the inquiry is asked Seeking message includes the SLA information in the corresponding channel I/O;
Successively according to inquiry request message described in every, the QoS knowledge base is traversed, obtains each inquiry request message difference Corresponding response to query message, the response to query message include the SLA information in the corresponding channel I/O in the QoS knowledge The corresponding standard resource uses parameter in library.
5. the method according to claim 1, wherein described use ginseng according to the corresponding standard resource of each SLA Number compares the SLA information, the resource information in every channel I/O, determines Current resource service condition and standard resource Include: using the unmatched channel I/O of parameter
Obtain the parameter item that the every channel I/O corresponding resource information is included;
The corresponding parameter item in every channel I/O standard resource corresponding with the channel this I/O is compared using parameter respectively;
The channel I/O that the value of the parameter item is greater than the value that the standard resource is provided using parameter is determined as unmatched I/ O channel.
6. a kind of channel I/O QoS dynamic balancing device characterized by comprising
Receiving unit, the resource information of the every channel I/O Current resource service condition of expression for receiving file system transmission, With the SLA information for the service-level agreement SLA for indicating every I/O path setting;The every channel I/O Current resource of the expression makes It include: SLA requirement grade, channel processing capacity information, channel capacity information and service status information with the resource information of situation;
Query unit, for inquiring QoS knowledge base, according to the SLA information in every channel I/O, it is logical that matching obtains each I/O The corresponding standard resource of SLA set by road uses parameter;Wherein, it is corresponding that each SLA is previously stored in the QoS knowledge base Standard resource use parameter;
Acquiring unit compares the SLA letter in every channel I/O for using parameter according to the corresponding standard resource of each SLA Breath, the resource information determine that Current resource service condition and standard resource use the unmatched channel I/O of parameter;
Indicating unit is instructed for sending to the file system, so that the file system is according to the corresponding standard resource of SLA Using parameter, the resource for adjusting the unmatched channel I/O is used.
7. device according to claim 6, which is characterized in that further include:
Request unit is used for receiving the every channel I/O Current resource of expression that file system is sent in the receiving unit The resource information of situation, and indicate every I/O path setting service-level agreement SLA SLA information before, to file system Situation request message is sent, the situation request message is used to indicate the money that the file system feeds back every channel I/O Source information and the SLA information.
8. device according to claim 7, which is characterized in that the receiving unit is specifically used for:
The situation request message is received in file system, is counted according to the instruction of the situation request message by bottom hardware Current resource service condition on every channel I/O, the resource information and the SLA information for obtaining every channel I/O are simultaneously After feedback is sent, the resource information and the SLA information are received.
9. device according to claim 6, which is characterized in that the query unit is specifically used for:
According to the SLA information in every channel I/O, the corresponding inquiry request message in every channel I/O is constructed, the inquiry is asked Seeking message includes the SLA information in the corresponding channel I/O;
Successively according to inquiry request message described in every, the QoS knowledge base is traversed, obtains each inquiry request message difference Corresponding response to query message, the response to query message include the SLA information in the corresponding channel I/O in the QoS knowledge The corresponding standard resource uses parameter in library.
10. device according to claim 6, which is characterized in that the acquiring unit is specifically used for:
Obtain the parameter item that the every channel I/O corresponding resource information is included;
The corresponding parameter item in every channel I/O standard resource corresponding with the channel this I/O is compared using parameter respectively;
The channel I/O that the value of the parameter item is greater than the value that the standard resource is provided using parameter is determined as unmatched I/ O channel.
11. a kind of channel I/O QoS dynamic balancing device characterized by comprising bus and the place for being connected to the bus Manage device, memory and interface;The memory is for storing computer program;When the processor runs the computer program When, described device performs the steps of
The resource information for the every channel I/O Current resource service condition of expression that file system is sent is received, and indicates every I/O The SLA information of the service-level agreement SLA of path setting;The resource for indicating the every channel I/O Current resource service condition Information includes: SLA requirement grade, channel processing capacity information, channel capacity information and service status information;
QoS knowledge base is inquired, according to the SLA information in every channel I/O, matching obtains SLA set by each channel I/O Corresponding standard resource uses parameter;Wherein, the corresponding standard resource of each SLA is previously stored in the QoS knowledge base makes Use parameter;
Parameter is used according to the corresponding standard resource of each SLA, compares the SLA information, the resource letter in every channel I/O Breath determines that Current resource service condition and standard resource use the unmatched channel I/O of parameter;
It sends and instructs to the file system, so that the file system uses parameter, adjustment according to the corresponding standard resource of SLA The resource in the unmatched channel I/O uses.
12. device according to claim 11, which is characterized in that in every I/ of expression that the reception file system is sent The resource information of O channel Current resource service condition, and indicate the SLA letter of the service-level agreement SLA of every I/O path setting Before breath, the processor runs the computer program and is specifically used for:
Situation request message is sent to file system, the situation request message is used to indicate the file system and feeds back every I/ The resource information of O channel and the SLA information.
13. device according to claim 12, which is characterized in that the processor runs the computer program and specifically uses In:
The situation request message is received in file system, is counted according to the instruction of the situation request message by bottom hardware Current resource service condition on every channel I/O, the resource information and the SLA information for obtaining every channel I/O are simultaneously After feedback is sent, the resource information and the SLA information are received.
14. device according to claim 11, which is characterized in that the processor runs the computer program and specifically uses In:
According to the SLA information in every channel I/O, the corresponding inquiry request message in every channel I/O is constructed, the inquiry is asked Seeking message includes the SLA information in the corresponding channel I/O;
Successively according to inquiry request message described in every, the QoS knowledge base is traversed, obtains each inquiry request message difference Corresponding response to query message, the response to query message include the SLA information in the corresponding channel I/O in the QoS knowledge The corresponding standard resource uses parameter in library.
15. device according to claim 11, which is characterized in that the processor runs the computer program and specifically uses In:
Obtain the parameter item that the every channel I/O corresponding resource information is included;
The corresponding parameter item in every channel I/O standard resource corresponding with the channel this I/O is compared using parameter respectively;
The channel I/O that the value of the parameter item is greater than the value that the standard resource is provided using parameter is determined as unmatched I/ O channel.
CN201480037434.7A 2014-07-29 2014-07-29 A kind of channel I/O QoS method for dynamically balancing and device Active CN105519055B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/083225 WO2016015223A1 (en) 2014-07-29 2014-07-29 Dynamic equilibrium method and apparatus for qos of i/o channel

Publications (2)

Publication Number Publication Date
CN105519055A CN105519055A (en) 2016-04-20
CN105519055B true CN105519055B (en) 2019-03-01

Family

ID=55216590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480037434.7A Active CN105519055B (en) 2014-07-29 2014-07-29 A kind of channel I/O QoS method for dynamically balancing and device

Country Status (2)

Country Link
CN (1) CN105519055B (en)
WO (1) WO2016015223A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304993B (en) * 2018-01-05 2022-04-29 创新先进技术有限公司 Service execution method and device
CN110661708B (en) * 2018-06-29 2021-01-15 华为技术有限公司 Network optimization method, system and network equipment
CN111708496A (en) * 2020-06-19 2020-09-25 广州市品高软件股份有限公司 Scheduling method of read-write request, storage medium and distributed storage system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905340A (en) * 2012-12-26 2014-07-02 中国电信股份有限公司 Network resource co-allocation method and device, and Internet network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7519725B2 (en) * 2003-05-23 2009-04-14 International Business Machines Corporation System and method for utilizing informed throttling to guarantee quality of service to I/O streams
US7349958B2 (en) * 2003-06-25 2008-03-25 International Business Machines Corporation Method for improving performance in a computer storage system by regulating resource requests from clients
US20140092740A1 (en) * 2012-09-29 2014-04-03 Ren Wang Adaptive packet deflection to achieve fair, low-cost, and/or energy-efficient quality of service in network on chip devices

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905340A (en) * 2012-12-26 2014-07-02 中国电信股份有限公司 Network resource co-allocation method and device, and Internet network

Also Published As

Publication number Publication date
WO2016015223A1 (en) 2016-02-04
CN105519055A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
US11949562B2 (en) Systems and methods for group bandwidth management in a communication systems network
CN108924221B (en) Method and device for allocating resources
US7320032B2 (en) Methods and structure for reducing resource hogging
US20110131306A1 (en) Systems and methods for service aggregation using graduated service levels in a cloud network
US20110035248A1 (en) Distributed Service Platform Computing with a Guaranteed Quality of Service
US9032016B2 (en) Communication method and apparatus
CN107533484A (en) System and method for dynamically managing virtual network function descriptor
AU2012207471A1 (en) Systems and methods for group bandwidth management in a communication systems network
EP3531749B1 (en) Management method, management unit and system for network function
JP5466723B2 (en) Host providing system and communication control method
JP2018518736A (en) Receive buffer credits over multiple channels of one or more host computing devices to transmit data to the control unit
WO2014194869A1 (en) Request processing method, device and system
CN105519055B (en) A kind of channel I/O QoS method for dynamically balancing and device
CN108347731A (en) A kind of method, medium, equipment and terminal carrying out secure binding
WO2023045552A1 (en) Service deployment method, service deployment system, electronic device, and storage medium
KR102389334B1 (en) Virtual machine provisioning system and method for cloud service
US11316916B2 (en) Packet processing method, related device, and computer storage medium
US9641440B2 (en) Method and apparatus for maintaining token
WO2019184107A1 (en) System and method for establishing data transmission channel, network storage apparatus, server, and storage medium
US10219052B2 (en) Agile resource on demand service provisioning in software defined optical networks
CN112019358A (en) Network configuration method, device, equipment and system
CN102200928A (en) Computation resource control apparatus, computation resource control method, and non-transitory computer-readable recording medium
CN111970194B (en) Configuration and request processing method of API gateway
WO2020166617A1 (en) Resource-contention arbitration apparatus, resource-contention arbitration method, and program
JP6554011B2 (en) Timeout time setting device and timeout time setting method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant