CN105519055A - Dynamic equilibrium method and apparatus for QoS of I/O channel - Google Patents

Dynamic equilibrium method and apparatus for QoS of I/O channel Download PDF

Info

Publication number
CN105519055A
CN105519055A CN201480037434.7A CN201480037434A CN105519055A CN 105519055 A CN105519055 A CN 105519055A CN 201480037434 A CN201480037434 A CN 201480037434A CN 105519055 A CN105519055 A CN 105519055A
Authority
CN
China
Prior art keywords
sla
information
resource
passages
passage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201480037434.7A
Other languages
Chinese (zh)
Other versions
CN105519055B (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

Provided are a dynamic equilibrium method and apparatus for the QoS of an I/O channel, which relate to the technical field of computers, and an adjustment solution for I/O channel resource usage conditions is provided, which solves the problem that the QoS demand of services cannot be guaranteed. The method comprises: acquiring resource information and SLA information of each I/O channel, inquiring a QoS knowledge base to acquire a standard resource usage parameter corresponding to each I/O channel, then determining an I/O channel the current resource usage conditions of which does not match the standard resource usage parameter by means of comparison, and further instructing a file system to perform resource adjustment on the unmatched I/O channel. The embodiments of the present invention are used for implementing dynamic equilibrium of the QoS of an I/O channel.

Description

Dynamic equilibrium method and apparatus for QoS of I/O channel
A kind of I/O passages QoS method for dynamically balancing and engineering device technique field
The present invention relates to field of computer technology, more particularly to a kind of I/O passages QoS method for dynamically balancing and device.
Background technology
QoS (Quality of Service, service quality)Security mechanism, for carrying out reasonably planning and distributing to Internet resources according to the characteristics of various Networks, so that Internet resources are efficiently utilized.SLA (Service Level Agreement, service-level agreement)It is the Performance And Reliability for guarantee service under certain expense, a kind of agreement of the mutual concession defined between service provider and user.
In the prior art, the core processor of computer system is in process(Process) need to carry out read/write to data in running(When Read/Write) operating, I/O (Input/Output, input/output can be controlled)Channel access memory realizes the reading or write-in of data.In order to meet requirement of the data transfer to performance and reliability, the SLA of business demand can be met for I/O path settings, so that the demand specified according to the SLA regulates and controls to I/O passages, so as to ensure QoS when I/O passages carry out data transmission.
But, although the different SLA for multiple I/O path settings, but in the real work of I/O passages, due to running the change of service condition, the resource service condition of each I/O passages is often varied widely, the SLA of setting is deviate from, causes the utilization power of each I/O channel resources not reach the predetermined demand of user, and then QoS when I/O passages carry out data transmission can not be ensured.
The content of the invention
Embodiments of the invention provide a kind of I/O passages QoS method for dynamically balancing and device, are reduced to solve the I/O channel resources utilization rate caused by service operation state change, the problem of QoS demand of business can not ensure.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
First aspect there is provided a kind of I/O passages QoS method for dynamically balancing, including: The resource information for every I/O passage Current resource service condition of expression that file system is sent is received, and represents the service-level agreement SLA of every I/O path setting SLA information;QoS knowledge bases are inquired about, according to the SLA information of every I/O passage, the corresponding standard resources of SLA obtained set by each bar I/O passages is matched and uses parameter;Wherein, the corresponding standard resources of each SLA are previously stored with the QoS knowledge bases and use parameter;Parameter is used according to the corresponding standard resources of each SLA, the SLA information, the resource information of every I/O passage is compared, determines that Current resource service condition uses the unmatched I/O passages of parameter with standard resource;
Send and instruct to the file system, so that the file system uses parameter according to the corresponding standard resources of SLA, the resource for adjusting the unmatched I/O passages is used.
With reference to first aspect, in the first possible implementation, it is described reception file system send expression every I/O passage Current resource service condition resource information, and represent every I/O path setting service-level agreement SLA SLA information before, in addition to:Situation request message is sent to file system, the situation request message is used for the resource information and the SLA information for indicating that the file system feeds back every I/O passage.
With reference to the first possible implementation of first aspect, in second of possible implementation, it is described to receive the resource information for every I/O passage Current resource service condition of expression that file system is sent, and represent that the service-level agreement SLA of every I/O path setting SLA information includes:
The situation request message is received in file system, resource service condition current on every I/O passage is counted by bottom hardware according to the instruction of the situation request message, obtain the resource information and the SLA information of every I/O passage and feed back after transmission, receive the resource information and the SLA information.
With reference in a first aspect, in the third possible implementation, the inquiry QoS knowledge bases, according to the SLA information of every I/O passage, match the corresponding standard resources of SLA obtained set by each bar I/O passages is included using parameter:
According to the SLA information of every I/O passage, the corresponding inquiry request message of every I/O passage of construction, the inquiry request message includes the SLA information of correspondence I/O passages; Successively according to every inquiry request message, travel through the QoS knowledge bases, obtain each inquiry request message and distinguish corresponding response to query message, the SLA information of the response to query message including corresponding I/O passages corresponding standard resource in the QoS knowledge bases uses parameter.
With reference to first aspect, in the 4th kind of possible implementation, it is described that parameter is used according to the corresponding standard resources of each SLA, the SLA information, the resource information of every I/O passage are compared, determines that Current resource service condition is included with standard resource using the unmatched I/O passages of parameter:
Obtain the parameter item that every I/O passages correspondence resource information is included;
The corresponding parameter item of every I/O passage standard resource corresponding with this I/O passages is compared using parameter respectively;
The I/O passages that the value of the parameter item is more than the value that the standard resource is provided using parameter correspondence are defined as unmatched I/O passages.
Second aspect there is provided a kind of I/O passages QoS dynamic balancing devices, including:Receiving unit, the resource information of every I/O passage Current resource service condition of expression for receiving file system transmission, and represent the service-level agreement SLA of every I/O path setting SLA information;
Query unit, for inquiring about QoS knowledge bases, according to the SLA information of every I/O passage, matches the corresponding standard resources of SLA obtained set by each bar I/O passages and uses parameter;Wherein, the corresponding standard resources of each SLA are previously stored with the QoS knowledge bases and use parameter;
Acquiring unit, for using parameter according to the corresponding standard resources of each SLA, compares the SLA information, the resource information of every I/O passage, determines that Current resource service condition uses the unmatched I/O passages of parameter with standard resource;
Indicating member, is instructed for being sent to the file system, so that the file system uses parameter according to the corresponding standard resources of SLA, the resource for adjusting the unmatched I/O passages is used.
With reference to second aspect, in the first possible implementation, in addition to:Request unit, for receiving the expression every that file system is sent in the receiving unit The resource information of I/O passage Current resource service conditions, before the SLA information for the service-level agreement SLA for representing every I/O path setting, situation request message is sent to file system, the situation request message is used for the resource information and the SLA information for indicating that the file system feeds back every I/O passage.
With reference to the first possible implementation of second aspect, in second of possible implementation, the receiving unit specifically for:
The situation request message is received in file system, resource service condition current on every I/O passage is counted by bottom hardware according to the instruction of the situation request message, obtain the resource information and the SLA information of every I/O passage and feed back after transmission, receive the resource information and the SLA information.
With reference to second aspect, in the third possible implementation, the query unit specifically for:
According to the SLA information of every I/O passage, the corresponding inquiry request message of every I/O passage of construction, the inquiry request message includes the SLA information of correspondence I/O passages;
Successively according to every inquiry request message, travel through the QoS knowledge bases, obtain each inquiry request message and distinguish corresponding response to query message, the SLA information of the response to query message including corresponding I/O passages corresponding standard resource in the QoS knowledge bases uses parameter.
With reference to second aspect, in the 4th kind of possible implementation, the acquiring unit specifically for:
Obtain the parameter item that every I/O passages correspondence resource information is included;
The corresponding parameter item of every I/O passage standard resource corresponding with this I/O passages is compared using parameter respectively;
The I/O passages that the value of the parameter item is more than the value that the standard resource is provided using parameter correspondence are defined as unmatched I/O passages.
The third aspect there is provided a kind of I/O passages Qo S dynamic balancing devices, including:Bus and the processor, memory and interface for being connected to the bus;The memory is used for store instruction;Being instructed described in the computing device is used for: The resource information for every I/O passage Current resource service condition of expression that file system is sent is received, and represents the service-level agreement SLA of every I/O path setting SLA information;QoS knowledge bases are inquired about, according to the SLA information of every I/O passage, the corresponding standard resources of SLA obtained set by each bar I/O passages is matched and uses parameter;Wherein, the corresponding standard resources of each SLA are previously stored with the QoS knowledge bases and use parameter;Parameter is used according to the corresponding standard resources of each SLA, the SLA information, the resource information of every I/O passage is compared, determines that Current resource service condition uses the unmatched I/O passages of parameter with standard resource;
Send and instruct to the file system, so that the file system uses parameter according to the corresponding standard resources of SLA, the resource for adjusting the unmatched I/O passages is used.
With reference to the third aspect, in the first possible implementation, the resource information of the every I/O passage Current resource service condition of expression sent in the reception file system, with represent every I/O path setting service-level agreement SLA SLA information before, instructed described in the computing device specifically for:
Situation request message is sent to file system, the situation request message is used for the resource information and the SLA information for indicating that the file system feeds back every I/O passage.
With reference to the first possible implementation of the third aspect, in second of possible implementation, instructed described in the computing device specifically for:
The situation request message is received in file system, resource service condition current on every I/O passage is counted by bottom hardware according to the instruction of the situation request message, obtain the resource information and the SLA information of every I/O passage and feed back after transmission, receive the resource information and the SLA information.
With reference to the third aspect, in the third possible implementation, instructed described in the computing device specifically for:
According to the SLA information of every I/O passage, the corresponding inquiry request message of every I/O passage of construction, the inquiry request message includes the SLA information of correspondence I/O passages;
Successively according to every inquiry request message, the QoS knowledge bases are traveled through, each inquiry request message is obtained and distinguishes corresponding response to query message, the response to query message The SLA information including corresponding I/O passages corresponding standard resource in the QoS knowledge bases uses parameter.
With reference to the third aspect, in the 4th kind of possible implementation, instructed described in the computing device specifically for:
Obtain the parameter item that every I/O passages correspondence resource information is included;
The corresponding parameter item of every I/O passage standard resource corresponding with this I/O passages is compared using parameter respectively;
The I/O passages that the value of the parameter item is more than the value that the standard resource is provided using parameter correspondence are defined as unmatched I/O passages.
It can be seen that, embodiments of the invention provide a kind of I/O passages QoS method for dynamically balancing and device, by obtaining the resource information and SLA information of every I/O passage, the corresponding standard resources of SLA set by inquiring about each bar I/O passages of QoS knowledge bases acquisition are used after parameter, it is compared and determines that Current resource service condition uses the unmatched I/O passages of parameter with standard resource, further indicates that file system carries out resource adjustment to above-mentioned unmatched I/O passages.So, the resource of I/O passages can be adjusted according to different SLA requirements, solve in the prior art I/O during carrying out data transmission, due to service condition change etc. reason cause channel resource utilization rate reduction, the problem of Qo S demands of business can not ensure.Therefore, embodiments of the invention are relative to prior art, it is ensured that each side configuration needs of customer service and the QoS of I/O interchannels are balanced, improve I/O channel performances.Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, the required accompanying drawing used in embodiment or description of the prior art will be briefly described below, apparently, drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of many I/O channel computers systems based on SLA;Fig. 2 is a kind of schematic flow sheet one of I/O passages QoS method for dynamically balancing provided in an embodiment of the present invention;
Fig. 3 is a kind of I/O passages QoS method for dynamically balancing provided in an embodiment of the present invention Schematic flow sheet two;
Fig. 4 is a kind of schematic flow sheet three of I/O passages QoS method for dynamically balancing provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic flow sheet four of I/O passages QoS method for dynamically balancing provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation one of I/O passages QoS dynamic balancing devices provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation two of I/O passages QoS dynamic balancing devices provided in an embodiment of the present invention;
Fig. 8 is a kind of structural representation three of I/O passages QoS dynamic balancing devices provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made belongs to the scope of protection of the invention.
Method provided in an embodiment of the present invention can apply to a kind of based on SLA (Service Level Agreement, service-level agreement)Many I/O (Input/Output, input/output)The computer system of passage, the structure of the system is as shown in Fig. 1, and the core processor in computer system carries out read/write in each customer service process initiated according to user terminal to data(When Read/Write) operating, mainly by each I/O passages between core processor and memory, the reading or write-in of data are realized.On the one hand, it is that each customer service sets corresponding customer sla demand(Resource service condition i.e. needed for business), the customer sla demand is used for resource control scheme for used in the business needed for I/O path settings business, such as part to resource using the parameter set, including:SLA demand levels (SLA-level), passage disposal ability (SLA_iops), passage amount (SLA_bps), the moon good business state(SLA-server) etc.;On the other hand, be each I/O path settings corresponding SLA information, such as SLA titles(SLA Name), when carrying out data transmission, I/O passages are not with The same entitled indexes of SLA, it is corresponding from different customer sla demands, i.e. different I/O passages are responsible for handling the customer service for setting relative users SLA requirement, and then can be by the file system in core processor, the customer sla demand set according to each customer service realizes the distribution and regulation of resource on I/O passages, so that each customer service can be according to the default instruction for corresponding to customer sla demand when initiating, corresponding resource distribution is used in corresponding I/O passages, so that the resource utilization of many I/O passages disclosure satisfy that preset requirement, QoS (Quality of Service, service quality)It is protected whereby.Wherein, different user business and the corresponding relation of the corresponding relation, each I/O passages and SLA information of customer sla demand, the SLA I/O QoS monitoring modules that can be provided by computer system(Monitor) it is controlled, each standard resource in each customer sla demand correspondence resource control scheme can be stored using parameter by system constructing QoS knowledge bases.
Embodiments of the invention provide a kind of I/O passages QoS method for dynamically balancing, and as shown in Fig. 2, this method includes:
5101st, the resource information for every I/O passage Current resource service condition of expression that file system is sent is received, and represents the service-level agreement SLA of every I/O path setting SLA information.
Wherein, the resource information of every I/O passage is used to represent the current resource service condition of the I/O passages, can specifically include:SLA demand levels, passage disposal ability information, channel capacity information, service status information etc.;The SLA information of every I/O passage is used for the SLA for being expressed as the I/O path settings, is specifically as follows:SLA titles.
Under a kind of implementation, before the resource information and SLA information of above-mentioned every I/O passages is received, situation request message can also be sent to file system, the situation request message is used for the resource information and SLA information for indicating that file system feeds back every I/O passage.
Optionally, situation request message further can be received in file system, according to circumstances the instruction of request message counts resource service condition current on every I/O passage by bottom hardware, obtain the resource information and SLA information of every I/O passage and feed back after transmission, receive resource information and SLA information.
5102nd, QoS knowledge bases are inquired about, according to the SLA information of every I/O passage, the corresponding standard resources of SLA obtained set by each bar I/O passages is matched and uses parameter. Wherein, the corresponding standard resources of each SLA are previously stored with QoS knowledge bases and use parameter, the standard resource can be included using parameter:Standard SLA requirement grade, standard channel disposal ability information, standard channel flow information etc..
, can be according to the SLA information of every I/O passage under a kind of implementation, the corresponding inquiry request message of every I/O passage of construction, wherein, the inquiry request message includes the SLA information of correspondence I/O passages;
Successively according to every inquiry request message, travel through QoS knowledge bases, obtain each inquiry request message and distinguish corresponding response to query message, wherein, SLA information of the response to query message including corresponding I/O passages corresponding standard resource in QoS knowledge bases uses parameter.
5103rd, parameter is used according to the corresponding standard resources of each SLA, compares SLA information, the resource information of every I/O passage, determine that Current resource service condition uses the unmatched I/O passages of parameter with standard resource.
Under a kind of implementation, the parameter item that every I/O passages correspondence resource information is included can be obtained;
The corresponding parameter item of every I/O passage standard resource corresponding with this I/O passages is compared using parameter respectively;
The I/O passages that the value of parameter item is more than the value that standard resource is provided using parameter correspondence are defined as unmatched I/O passages.
5104th, send and instruct to file system, so that file system uses parameter according to the corresponding standard resources of SLA, the resource for adjusting unmatched I/O passages is used.
Embodiments of the invention provide a kind of I/O passages QoS method for dynamically balancing, by obtaining the resource information and SLA information of every I/O passage, the corresponding standard resources of SLA set by inquiring about each bar I/O passages of QoS knowledge bases acquisition are used after parameter, it is compared and determines that Current resource service condition uses the unmatched I/O passages of parameter with standard resource, further indicates that file system carries out resource adjustment to above-mentioned unmatched I/O passages.So, I/O is solved during carrying out data transmission, because service condition change causes the reduction of channel resource utilization rate, the problem of QoS demand of business can not ensure, the each side configuration needs of customer service and the QoS equilibriums of I/O interchannels are ensure that, I/O channel performances are improved. In order that those skilled in the art can be more clearly understood that technical scheme provided in an embodiment of the present invention, below by specific embodiment, a kind of I/O passages QoS method for dynamically balancing provided in an embodiment of the present invention is described in detail, it is worth mentioning, examples provided below only does example, implementation not limited to this of the invention.As shown in Fig. 3, this method includes:
S201, QoS dynamic balancing device send situation request message to file system.
Specifically, Qo S dynamic balancing devices send each self-corresponding situation request message of every I/O passage, the current state for each I/O passages of acquisition request to file system.
Wherein, the QoS dynamic balancing devices can be SLA I/O QoS monitoring modules, and the QoS monitoring modules can be a part for execution corresponding function in computer system, or an independent equipment, not limit herein;File system can be to be responsible for the software mechanism module with storage file information, it can be a part for core processor in computer system, and be controlled by core processor, it can be interacted with user, the resource service condition to each I/O passages is controlled.
The corresponding situation request message of every I/O passage can include the asked corresponding SLA information of I/O passages, and the SLA information is used to set relation indexed I/O passage according to the SLA of I/O passages, is specifically as follows SLA titles.Above-mentioned each situation request message is used to indicate the information needed of SLA titles instruction I/O passages in file system feedback information.
Wherein, I/O passages and the corresponding relation of SLA information, can be set in advance, be stored in above-mentioned Qo S dynamic balancing devices, and specific corresponding to relation can be adjusted according to user's selection or application scenarios requirement, not limited herein.
Optionally, the situation request message can also include:Type of message, memory address digit, message identifier, address data memory etc., the form of message can be with as follows:
I/O Channel Usage Information Message
Header
Message Ty e: I/O Channel Usage Information
Length: 32
Transaction ID: 0
Channel Name: SLA Name I/O channel Usage Request
Message Ty e: I/O Channel Usage Request Information Channel Name: SLA Name
Body: *usage [4]
Wherein, " Header " part(That is information header)In: " Message Type:I/O Channel Usage Information " indicate the information be used for interaction specify the passage service conditions of I/O passages;" Length " indicates that memory address digit is " 32 ";" Transaction ID " indicates that message identifier is " 0 ";" Channel Name " indicates the selected corresponding SLA titles of I/O passages.
In " I/O channel Usage Request " part: " Message Type :I/O Channel Usage Request Information " are used to further indicate that the information is situation request message;" Channel Name " indicates the selected corresponding SLA titles of I/O passages, can be identical with " Header " part;" Body " indicates address data memory.
It is exemplary only comprising item shown in above-mentioned message format, and shown every corresponding numerical value or character(Such as " 32 ", " SLA Name ", " * usage [4], etc.), only make exemplary application, in specific application the respective change according to the difference of application scenarios, include but is not limited to this, and do not limit herein.
It is worth mentioning, Qo S dynamic balancing devices can be after outside indicate be received to each situation request message of file system transmission, can also be after at interval of preset time, periodically each situation request message is sent to file system, and perform follow-up operating process, adoptable triggering mode includes but is not limited to this during concrete application, and does not limit herein.
S202, QoS dynamic balancing device receive the situation message that file system is sent.
Specifically, each situation request message of QoS dynamic balancing devices transmission is received in file system, construction obtains corresponding situation message, and after to QoS dynamic balancing devices feedback sending each situation message, Qo S dynamic balancing devices receive the corresponding situation message of each I/O passages that file system is sent.
Wherein, each situation message can include:The resource information of message correspondence I/O passage Current resource service conditions, the SLA of I/O path settings corresponding with the message is represented SLA information are represented, and the SLA information can be SLA titles. Exemplary, the parameter that representing the resource information of I/O passage Current resource service conditions can include has:IOPS (Input/Output Operations Per Second, input and output number of times per second)Information, for showing passage disposal ability;Bps (Bits per Second) information, the message transmission rate for showing passage;Precedence information etc., and the above-mentioned partial parameters enumerated are exemplary only, can also include other parameters or index for being used to represent channel performance, not limit herein.
Optionally, above-mentioned situation message can also include:Type of message, memory address digit, message identifier, supplemental characteristic etc., the form of message can be with as follows:
I/O Channel Usage Information Message
Header
Message Type: I/O Channel Usage Information
Length: 32
Transaction ID: 0
Channel Name: SLA Name
I/O channel Usage Reply
Message Type: I/O Channel Usage Reply Information
Channel Name: SLA Name
Body:
SLA— level: priority
SLA— iops: Avg_min_iops I Avg— max— iops
SLA— bps: Avg_min_bps I Avg— max— bps
SLA— server:Wherein, " Header " is partly identical with above-mentioned situation request message, and here is omitted by iops-usage-rate I bps-usage-rate I Time-period;" I/O channel Usage Reply " Shao Fenzhong: " Message Type:I/O Channel Usage Reply Information " are used to further indicate that the information is situation message;" Channel Name " indicates the selected corresponding SLA titles of I/O passages, can be identical with " Header " part, corresponding with situation request message;" B ody " indicates the supplemental characteristic included, specifically includes:The corresponding SLA demand levels SLA of I/O passages-level, IOPS information SLA_iops, rate information SLA_bps, utilization rate information SLA_server.
It is exemplary only comprising item shown in above-mentioned message format, and shown items are corresponding Numerical value or character, only make exemplary application, include but is not limited to this.
Optionally, file system obtains the process of corresponding each situation message, as shown in Fig. 4, can included after each situation request message of Qo S dynamic balancing devices transmission is received:
S2021, file system sends the corresponding statistical message of every I/O passage to bottom hardware.
Specific file system is after each situation request message of QoS dynamic balancing devices transmission is received according to each situation request message, the corresponding statistical message of construction every I/O passage of generation, and send to bottom hardware, so that bottom hardware is counted 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 an independent storage device, not limit herein;Can be with hardware memory(Such as S SD (Solid State Disk, solid state hard disc), disk array Disk Array) form realize and there are many I/O passages between core processor and interact.
Exemplary, above-mentioned statistical message can include the corresponding SLA information of I/O passages for asking statistics, and the SLA information is used to set relation indexed I/O passage according to the SLA of I/O passages, is specifically as follows SLA titles.The statistical message is used to indicate that bottom hardware indicates SLA titles in message the relevant information of I/O channel resource service conditions is counted and fed back.
Optionally, the statistical message can also include:Type of message, memory address digit, message identifier, address data memory etc., the form of message can be with as follows:
I/O Channel Usage statistics Information Message
Header
Message Ty e: I/O Channel Usage Information
Length: 32
Transaction ID: 1
Channel Name: SLA Name
I/O channel Usage Statistics Request
Message Ty e: I/O Channel Usage Request Information Channel Name: SLA Name
Body: *usage [3 ]
Wherein, " Header " part(That is information header)In: " Message Type :I/O Channel Usage Information " indicate the information be used for interaction specify the passage service conditions of I/O passages;" Length " indicates that memory address digit is " 32 ";" Transaction ID " indicates that message identifier is " 1 ";" Channel Name " indicates the selected corresponding SLA titles of I/O passages.
" I/O channel Usage Statistics Request " Shao Fenzhong: " Message Ty e:I/O Channel Usage Request Information " are used to further indicate that the information is statistical message;" Channel Name " indicates the selected corresponding SLA titles of I/O passages, can be identical with " Header " part;" Body " indicates address data memory.
It is exemplary only comprising item shown in above-mentioned message format, and shown every corresponding numerical value or character, only make exemplary application, include but is not limited to this.
S2022, bottom hardware sends the corresponding statistics of every I/O passage to file system feedback and replied message.
Specifically, bottom hardware, according to the instruction of each statistical message, is counted after each statistical message of file system transmission is received in default timing statisticses to specified each I/O passages, obtain corresponding statistics to reply message, and each statistics is sent to file system and reply message.
Wherein, presetting timing statisticses is used to be defined the duration for carrying out statistical operation, can be system default setting, or outside input gives, and does not limit herein;Above-mentioned statistics reply message including:Represent the resource information of the I/O passage Current resource service conditions that SLA information is indicated in statistical message.
Optionally, above-mentioned statistics, which is replied message, to include:Type of message, memory address digit, message identifier, supplemental characteristic etc., the form of message can be with as follows:
I/O Channel Usage statistics Information Message
Header
Message Ty e: I/O Channel Usage Information
Length: 32 Transaction ID: 1
Channel Name: SLA Name
I/O channel Usage Statistics Reply
Message Type: I/O Channel Usage Reply Information
Channel Name: SLA Name
B ody:
SLA— level: priority
SLA_iop s: Avg_min_iops I Avg— max— iops
SLA— bps: Avg_min_bps I Avg— max— bps
Wherein, " Header " is partly identical with above-mentioned statistical message, and here is omitted;" I/O channel Usage Reply " Shao Fenzhong: " Message Type :I/O Channel Usage Reply Information " are used to further indicate that the information replies message for statistics;" Channel Name " indicates the selected corresponding SLA titles of I/O passages, can be identical with " Header " part, corresponding with statistical message;" B ody " indicates the supplemental characteristic included, specifically includes:The corresponding SLA requirement grade SLA of I/O passages-level, IOPS information SLA-iops, rate information SLA-bps.
It is exemplary only comprising item shown in above-mentioned message format, and shown every corresponding numerical value or character, only make exemplary application, include but is not limited to this.
S2023, file system obtain the corresponding situation message of every I/O passage.
Specifically, file system is after the corresponding statistics of every I/O passage for receiving bottom hardware feedback is replied message, you can construction obtains corresponding each situation message.
S203, Qo S dynamic balancing devices inquire about Qo S knowledge bases.
Specifically, Qo S dynamic balancing devices are inquired about Qo S knowledge bases after the corresponding situation message of every I/O passage that file system feedback is sent is received, determine that each I/O passages use parameter in the standard resource corresponding to Qo S knowledge bases.
Wherein, Qo S knowledge bases use the database of parameter for the corresponding standard resources of each SLA that record is prestored, and can be a part for execution corresponding function in Qo S balancers, or an independent equipment, not limit herein.Each standard resource can be that user is manually the selected relevant parameters of different SLA in advance using parameter, can specifically include: IOPS information, Bps information, precedence information etc., and above-mentioned partial parameters enumerated are exemplary only, difference there may be according to the difference of application scenarios or demand in practical application, other adjustable parameters related to channel performance or index can also be included, do not limited herein.
It is worth mentioning, the foundation of QoS knowledge bases is to receive knowledge base update message by QoS dynamic balancing devices to realize, the knowledge base update message can be obtained from customer service process, can also directly it be obtained from outside, do not limit herein, each knowledge base update message contains a SLA mark(Such as SLA titles)And its relevant parameter of correspondence customer sla demand(As standard resource uses parameter).QoS dynamic balancing devices are after knowledge base update message is obtained, retrieval judges whether the existing knowledge base update message indicates that SLA identifies corresponding knowledge base list item in QoS knowledge bases, if being not present, then newly-built list item is recorded, if in the presence of, then further determine whether whether the parameter wherein recorded needs renewal, accordingly choose whether to perform after renewal, complete the foundation of QoS knowledge bases.
Exemplary, the record format of each knowledge base list item can be as shown in table 1 in QoS knowledge bases:
Table 1
Optionally, above-mentioned QoS balancers inquire about QoS knowledge bases, as shown in figure 5, can specifically include according to the corresponding situation message of every I/O passage:
S203 1, QoS dynamic balancing device send the corresponding inquiry request message of every I/O passage to QoS knowledge bases.
Specifically, QoS dynamic balancing devices are after each situation message of file system transmission is received, the corresponding inquiry request message of each I/O passages is sent to QoS knowledge bases.
Wherein, inquiry request message can include inquiring about the corresponding SLA information of I/O passages, The SLA information can be SLA titles, for indicating that the corresponding standard resources of SLA that the Qo S knowledge base-feedbacks SLA titles are specified use parameter.
Optionally, the inquiry request message can also include:Type of message, memory address digit, message identifier, address data memory etc., the form of message can be with as follows:
I/O QOS lookup Information Message
Header
Message Ty e: I/O QOS lookup Information
Length: 32
Transaction ID: 2
Channel Name: SLA Name
I/O channel Usage Statistics Request
Message Type: I/O QOS lookup Request Information
Channel Name: SLA Name
Body: *usage [4]
Wherein, " Header " part(That is information header)In: " Message Type :I/O QOS lookup Information " indicate that the information is used to interact in QoS knowledge bases and specify the corresponding parameter information of SLA titles;" Length " indicates that memory address digit is " 32 ";
" Transaction ID " indicates that message identifier is " 2 ";" Channel Name " indicates the selected corresponding SLA titles of I/O passages.
" I/O channel Usage Statistics Request " Shao Fenzhong: " Message Type:I/O QOS lookup Request Information " are used to further indicate that the information is inquiry request message;" Channel Name " indicates the selected corresponding SLA titles of I/O passages, can be identical with " Header " part;" Body " indicates address data memory.
It is exemplary only comprising item shown in above-mentioned message format, and shown every corresponding numerical value or character, only make exemplary application, include but is not limited to this.
S2032, Qo S dynamic balancing devices receive QoS knowledge base-feedbacks and send the corresponding response to query information of every I/O passage.
Specifically, QoS knowledge bases are after each inquiry request message of QoS dynamic balancing devices transmission is received, according to the instruction in each inquiry request message, retrieval obtains each I/O passages The SLA of setting uses parameter in the corresponding standard resource of Qo S knowledge bases, constructs the corresponding response to query message of each inquiry request message, and send each response to query message to Qo S dynamic balancing devices.
Wherein, the corresponding response to query message of every I/O passage can use parameter including the SLA of the I/O path settings in the corresponding standard resource of Qo S knowledge bases.
Optionally, above-mentioned response to query message can also include:Type of message, memory address digit, message identifier, supplemental characteristic etc., the form of message can be with as follows:
I/O QO S lookup Information Message
Header
Message Ty e: I/O QO S lookup Information
Length: 32
Transaction ID: 2
Channel Name: SLA Name
I/O channel Usage Statistics Reply
Message Type: I/O QO S lookup Reply Information
Channel Name: SLA Name
B ody:
SLA— level: priority
SLA_iops: min_iop s I max— iops
SLA— bps: min— bps I max— bps
SLA— service:Wherein, " Header " is partly identical with above-mentioned inquiry request message, and here is omitted by iops-usage I bps-usage I time-period;" I/O channel Usage Statistics Reply " Shao Fenzhong: " Message Type :I/O QO S lookup Reply Information " are used to further indicate that the information is response to query message;" Channel Name " indicates the selected corresponding SLA titles of I/O passages, can be identical with " Header " part, corresponding with inquiry request message;" B ody " indicates the supplemental characteristic included, specifically includes:The corresponding SLA requirement grade SLA of I/O passages-level, IOPS information SLA-iops, rate information SLA-bps, utilization rate information SLA-service.
It is exemplary only comprising item shown in above-mentioned message format, and shown items are corresponding Numerical value or character, only make exemplary application, include but is not limited to this.
S204, Qo S dynamic balancing devices are changed to the resource service condition of I/O passages.Specifically, Qo S dynamic balancing devices determine unmatched I/O passages, and change message is constructed, the resource service condition of each unmatched I/O passages is changed by customer sla.
Wherein, customer sla is used for the SLA demands for managing each customer service, can be by being interacted with file system, for the different corresponding resources of customer sla demand assignment, it can be a part for execution corresponding function in Qo S dynamic balancing devices, it can also be an independent functional module in computer system, not limit herein.
Exemplary, Qo S dynamic balancing devices are after the corresponding response to query message of every I/O passage of Qo S knowledge base-feedbacks is received, the I/O passages indicated according to each response to query message use parameter corresponding relation with standard resource, with reference to situation message indicate the I/O passages with represent its Current resource service condition resource information corresponding relation, judgement is compared, by in whole I/O passages, the numerical value of parameter item is defined as unmatched I/O passages more than passage correspondence standard resource using the I/O passages of the numerical value provided in parameter for the parameter item included in passage correspondence resource information.
By taking the form that statistics is replied message, response to query message is provided in above-described embodiment as an example, when the corresponding statistics of any I/O passages replies message middle SLA-iops more than SLA_iops (i.e. Avg_min_iops I Avg-max-iops in response to query message>Min_iops I max-iops), or, statistics replies message middle SLA-bps more than SLA_bp s (i.e. Avg_min_bp s I Avg-max-bp s in response to query message>Min-bp s I max-bps) when, it is unmatched I/O passages to determine the I/O passages.Show the current resource service condition of business on the I/O passages beyond the resource use requirement specified by setting SLA, it is necessary to carry out the change of resource service condition to reach the equilibrium of each channel resource.Wherein, the unmatched I/O passages of above-mentioned determination can be one or more.
Further, Qo S dynamic balancing devices send change message to customer sla, and customer sla is determining above-mentioned unmatched I/O passages according to the change message, indicating that file system carries out resource change to specified I/O passages.
Before resource change operation is performed, in addition to judge whether hardware and each I/O passages can provide the respective resources needed for change.To reflect that equipment reads and writes the parameter of handling capacity Exemplified by IOP S, judged according to the corresponding situation message of each I/O passages, if current IOP S values are less than the maximum IOP S values that passage can reach in the resource information of passage, show that the I/O passages can provide extra IOP S abilities, so that it is determined that resource change operation is executable.And the above-mentioned deterministic process to IOP S abilities is exemplary only, other adjustable parameters are such as reflected with the bps parameters of setting read-write speed, can also be judged using corresponding operation, do not limited herein.
Further, after being determined hardware and passage can provide extra required resource, the resource of above-mentioned unmatched I/O passages is changed to parameter value that the corresponding standard resource of I/O passages should provide using parameter institute mesh (i.e. min_iops I max-iops or min-bps I max-bps etc.), complete the change of resource service condition.
It is worth mentioning, if hardware and passage can not provide extra required resource, shows that above-mentioned resource change operation can not be performed, resource change failure.
Optionally, file system can be based on (SuSE) Linux OS kernel development, and the operation that specified above-mentioned unmatched I/O passages carry out resource change can be realized by Linux Cgroup s (Control groups) mechanism.
Linux Cgroups mechanism can be limited for one kind that linux kernel is provided, recorded, physical resource used in isolated process group (rocess group s) (such as:Cpu, memory, I/O resources etc.)Mechanism, be applicable to plurality of application scenes.Function includes:The resource quantity that limiting process group can be used(Resource limiting), the resource quantity that uses of the two priority classes (Prioritization) of process group, record the process group(Accounting), process group is isolated(Isolation) process group control (control) etc..
Customer sla indicates that file system performs change operation, and file system uses parameter according to the corresponding standard resource of each above-mentioned unmatched I/O passages in Qo S knowledge bases, passes through Linux Cgroups mechanism(Resource quantity that such as limiting process group can be used, the two priority classes of process group)Resource service condition to each I/O passages is changed.After change operation terminates, customer sla sends change to Qo S dynamic balancing devices and replied message, the result for indicating change operation.
Wherein, change is replied message and can included:Type of message, memory address digit, message identifier, the corresponding SLA information of the unmatched I/O passages of change operation(Such as SLA Claim), the supplemental characteristic of state, the change mode bit of reaction change mode of operation after change, the form of message can be with as follows:
I/O QOS modify Information Message
Header
Message Type: I/O QOS modify Information
Length: 32
Transaction ID: 3
Channel Name: SLA Name
I/O QOS modify Information Message Reply
Message Type: I/O QOS modify Reply Information
Channel Name: SLA Name
Body:
SLA— level: priority
SLA— iops: min_iops I max— iops
SLA— bps: min— bps I max— bps
SLA— status: 0/1/2
Wherein, " Header " part(That is information header)In: "Message Type:I/O QOS modify Information " indicate the information be used for interaction specified above-mentioned unmatched I/O passages alteration;" Length " indicates that memory address digit is " 32 ";" Transaction ID " indicates that message identifier is " 3 ";" Channel Name " indicates the selected corresponding SLA titles of unmatched I/O passages.
In " I/O QOS modify Information Message Reply " part: " Message Type:I/O QOS modify Reply Information " are used to further indicate that the information replies message for change;" Channel Name " indicates the selected corresponding SLA titles of unmatched I/O passages, can be identical with " Header " part;Supplemental characteristic after the change that " Body " instruction is included, is specifically included:Change corresponding SLA requirement grade SLA-level, IOPS information SLA-iops of operation object I/O passages, rate information SLA-bps, the husband's state position SLA-status of change ^ 1.
It is exemplary only comprising item shown in above-mentioned message format, and shown items are corresponding Numerical value or character, only make exemplary application, include but is not limited to this.
It is worth mentioning, during above-mentioned change is replied message, when SLA-status original states are 0, may indicate that and do not carry out resource change;For 1 when, may indicate that resource is changed successfully;For 2 when, may indicate that resource change failure, and specific corresponding to mode do not limit herein.
It should be noted, it is above-mentioned to be based on (SuSE) Linux OS kernel, implementation using Linux Cgroups mechanism is exemplary only, it is conceivable that when being realized using other types operating platform, such as XEN virtual machine architectures, KVM (Kernel-based Virtual Machine, the virtual machine based on kernel)Deng, it is that those skilled in the art can readily occur under the premise of creative work is not made, therefore also in embodiments of the invention protection domain.
Embodiments of the invention provide a kind of I/O passages QoS method for dynamically balancing, by obtaining the resource information and SLA information of every I/O passage, the corresponding standard resources of SLA set by inquiring about each bar I/O passages of QoS knowledge bases acquisition are used after parameter, it is compared and determines that Current resource service condition uses the unmatched I/O passages of parameter with standard resource, further indicates that file system carries out resource adjustment to above-mentioned unmatched I/O passages.So, solve in the prior art I/O during carrying out data transmission, due to service condition change, channel resource service condition changes, cause the reduction of channel resource utilization rate, the problem of QoS demand of business can not ensure, therefore, embodiments of the invention are relative to prior art, change and adjustment can be carried out to the resource service condition of I/O passages, the each side configuration needs of customer service and the QoS equilibriums of I/O interchannels are ensure that, I/O channel performances are improved.
The embodiment provides a kind of I/O passages Qo S dynamic balancing devices 00, corresponding with a kind of I/O passages QoS method for dynamically balancing that previous embodiment is provided, as shown in Fig. 6, the QoS dynamic balancing devices 00 include:
Receiving unit 001, the resource information of every I/O passage Current resource service condition of expression for receiving file system transmission, and represent the service-level agreement SLA of every I/O path setting SLA information.
Query unit 002, for inquiring about QoS knowledge bases, according to the SLA information of every I/O passage, the corresponding standard resources of SLA that matching obtains set by each bar I/O passages use ginseng Number.
Wherein, the corresponding standard resources of each SLA are previously stored with QoS knowledge bases and use parameter.
Acquiring unit 003, for using parameter according to the corresponding standard resources of each SLA, compares SLA information, the resource information of every I/O passage, determines that Current resource service condition uses the unmatched I/O passages of parameter with standard resource.
Indicating member 004, is instructed for being sent to file system, so that file system uses parameter according to the corresponding standard resources of SLA, the resource for adjusting unmatched I/O passages is used.
It should be noted that, can possess annexation between where the dotted line signifies that unit, can not also possess direct annexation, such as receiving unit 001 and query unit 002 contribute to what is interacted with the equipment outside device, receiving unit 001 can notify query unit 002 after information needed is received, and can also not notify.
Optionally, as shown in fig. 7, the QoS dynamic balancing devices 00 can also include:Request unit 005, resource information for receiving every I/O passage Current resource service condition of expression that file system is sent in receiving unit 001, before the SLA information for the service-level agreement SLA for representing every I/O path setting, situation request message is sent to file system, situation request message is used for the resource information and SLA information for indicating that file system feeds back every I/O passage.
Optionally, receiving unit 001 can be specifically for:
Situation request message is received in file system, according to circumstances the instruction of request message counts resource service condition current on every I/O passage by bottom hardware, obtain the resource information and SLA information of every I/O passage and feed back after transmission, receive resource information and SLA information.
Optionally, query unit 002 can be specifically for:
According to the SLA information of every I/O passage, the corresponding inquiry request message of every I/O passage of construction, inquiry request message includes the SLA information of correspondence I/O passages;
Successively according to every inquiry request message, travel through QoS knowledge bases, obtain each inquiry request message and distinguish corresponding response to query message, SLA information of the response to query message including corresponding I/O passages corresponding standard resource in QoS knowledge bases uses parameter. Optionally, acquiring unit 003 can be specifically for:
Obtain the parameter item that every I/O passages correspondence resource information is included;
The corresponding parameter item of every I/O passage standard resource corresponding with this I/O passages is compared using parameter respectively;
The I/O passages that the value of parameter item is more than the value that standard resource is provided using parameter correspondence are defined as unmatched I/O passages.
Embodiments of the invention provide a kind of I/O passages QoS dynamic balancing devices, by obtaining the resource information and SLA information of every I/O passage, the corresponding standard resources of SLA set by inquiring about each bar I/O passages of QoS knowledge bases acquisition are used after parameter, it is compared and determines that Current resource service condition uses the unmatched I/O passages of parameter with standard resource, further indicates that file system carries out resource adjustment to above-mentioned unmatched I/O passages.So, I/O is solved during carrying out data transmission, because service condition change causes the reduction of channel resource utilization rate, the problem of QoS demand of business can not ensure, the each side configuration needs of customer service and the QoS equilibriums of I/O interchannels are ensure that, I/O channel performances are improved.
Embodiments of the invention additionally provide a kind of I/O passages QoS dynamic balancing devices 01, as shown in figure 8, the QoS dynamic balancing devices 01 include:
Bus 01 1 and the processor 012, memory 013 and interface 014 for being connected to bus 01 1, wherein interface 014 are used to realize the connection communication between each node;
The memory 013 is used for store instruction, the processor 012 performs the resource information for every I/O passage Current resource service condition of expression that the instruction is sent specifically for reception file system, and represents the service-level agreement SLA of every I/O path setting SLA information.
The processor 012 performs the instruction and is additionally operable to:QoS knowledge bases are inquired about, according to the SLA information of every I/O passage, the corresponding standard resources of SLA obtained set by each bar I/O passages is matched and uses parameter.
Wherein, the corresponding standard resources of each SLA are previously stored with QoS knowledge bases and use parameter.
The processor 012 performs the instruction and is additionally operable to:Parameter is used according to the corresponding standard resources of each SLA, SLA information, the resource information of every I/O passage is compared, determines and works as Preceding resource service condition uses the unmatched I/O passages of parameter with standard resource.
The processor 012 performs the instruction and is additionally operable to:Send and instruct to file system, so that file system uses parameter according to the corresponding standard resources of SLA, the resource for adjusting unmatched I/O passages is used.
In embodiments of the present invention, optionally, receiving the resource information for every I/O passage Current resource service condition of expression that file system is sent, before the SLA information for the service-level agreement SLA for representing every I/O path setting, the processor 012 performs the instruction can be specifically for:
Situation request message is sent to file system, situation request message is used for the resource information and SLA information for indicating that file system feeds back every I/O passage.
Further, in embodiments of the present invention, optionally, the processor 012 perform the instruction can be specifically for:
Situation request message is received in file system, according to circumstances the instruction of request message counts resource service condition current on every I/O passage by bottom hardware, obtain the resource information and SLA information of every I/O passage and feed back after transmission, receive resource information and SLA information.
In embodiments of the present invention, optionally, the processor 012 perform the instruction can be specifically for:
According to the SLA information of every I/O passage, the corresponding inquiry request message of every I/O passage of construction, inquiry request message includes the SLA information of correspondence I/O passages;
Successively according to every inquiry request message, travel through QoS knowledge bases, obtain each inquiry request message and distinguish corresponding response to query message, SLA information of the response to query message including corresponding I/O passages corresponding standard resource in QoS knowledge bases uses parameter.
In embodiments of the present invention, optionally, the processor 012 perform the instruction can be specifically for:
Obtain the parameter item that every I/O passages correspondence resource information is included;
The corresponding parameter item of every I/O passage standard resource corresponding with this I/O passages is compared using parameter respectively;
The value of parameter item is more than to the I/O passages for the value that standard resource is provided using parameter correspondence It is defined as unmatched I/O passages.
Embodiments of the invention provide a kind of I/O passages QoS dynamic balancing devices, by obtaining the resource information and SLA information of every I/O passage, the corresponding standard resources of SLA set by inquiring about each bar I/O passages of QoS knowledge bases acquisition are used after parameter, it is compared and determines that Current resource service condition uses the unmatched I/O passages of parameter with standard resource, further indicates that file system carries out resource adjustment to above-mentioned unmatched I/O passages.So, I/O is solved during carrying out data transmission, because service condition change causes the reduction of channel resource utilization rate, the problem of Qo S demands of business can not ensure, the each side configuration needs of customer service and the QoS equilibriums of I/O interchannels are ensure that, I/O channel performances are improved.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be realized by another way.For example, apparatus embodiments described above are only schematical, the division of the unit, it is only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.
In addition, in equipment and system in each of the invention embodiment, each functional unit can be integrated in a processing unit or the independent physics of unit includes, can also two or more units it is integrated in a unit.And above-mentioned each unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
Realizing all or part of step of above method embodiment can be completed by the related hardware of programmed instruction, and foregoing program can be stored in a computer read/write memory medium, and the program upon execution, performs the step of including above method embodiment;And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM (Read Only Memory, read-only storage), RAM (Random Access Memory, random access memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It is described above; only embodiment of the invention, but protection scope of the present invention is not limited thereto, any one skilled in the art the invention discloses technical scope in; change or replacement can be readily occurred in, should be all included within the scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (1)

  1. Claims
    1st, a kind of I/O passages QoS method for dynamically balancing, it is characterised in that including:The resource information for every I/O passage Current resource service condition of expression that file system is sent is received, and represents the service-level agreement SLA of every I/O path setting SLA information;QoS knowledge bases are inquired about, according to the SLA information of every I/O passage, the corresponding standard resources of SLA obtained set by each bar I/O passages is matched and uses parameter;Wherein, the corresponding standard resources of each SLA are previously stored with the QoS knowledge bases and use parameter;
    Parameter is used according to the corresponding standard resources of each SLA, the SLA information, the resource information of every I/O passage is compared, determines that Current resource service condition uses the unmatched I/O passages of parameter with standard resource;
    Send and instruct to the file system, so that the file system uses parameter according to the corresponding standard resources of SLA, the resource for adjusting the unmatched I/O passages is used.
    2nd, the method according to claim 1, it is characterized in that, the resource information of the passage Current resource service condition of every I/0 is represented what the reception file system was sent, and before representing the service-level agreement SLA SLA information of every I/O path setting, in addition to:Situation request message is sent to file system, the situation request message is used for the resource information and the SLA information for indicating that the file system feeds back every I/O passage.
    3rd, method according to claim 2, it is characterized in that, it is described to receive the resource information for every I/O passage Current resource service condition of expression that file system is sent, and represent that the service-level agreement SLA of every I/O path setting SLA information includes:
    The situation request message is received in file system, resource service condition current on every I/O passage is counted by bottom hardware according to the instruction of the situation request message, obtain the resource information and the SL A information of every I/O passage and feed back after transmission, receive the resource information and the SLA information.
    4th, according to the method described in claim 1, it is characterised in that the inquiry QoS knowledge bases, according to the SLA information of every I/O passage, match the corresponding standard resources of SLA obtained set by each bar I/O passages is included using parameter:
    According to the SLA information of every I/O passage, the corresponding inquiry request message of every I/O passage of construction, the inquiry request message includes the SLA information of correspondence I/O passages; Successively according to every inquiry request message, travel through the QoS knowledge bases, obtain each inquiry request message and distinguish corresponding response to query message, the SLA information of the response to query message including corresponding I/O passages corresponding standard resource in the QoS knowledge bases uses parameter.
    5th, according to the method described in claim 1, it is characterized in that, it is described that parameter is used according to the corresponding standard resources of each SLA, the SLA information, the resource information of every I/O passage are compared, determines that Current resource service condition is included with standard resource using the unmatched I/O passages of parameter:
    Obtain the parameter item that every I/O passages correspondence resource information is included;
    The corresponding parameter item of every I/O passage standard resource corresponding with this I/O passages is compared using parameter respectively;
    The value of the parameter item is more than the value that the standard resource is provided using parameter correspondence
    I/O passages are defined as unmatched I/O passages.
    6th, a kind of I/O passages QoS dynamic balancing devices, it is characterised in that including:Receiving unit, the resource information of every I/O passage Current resource service condition of expression for receiving file system transmission, and represent the service-level agreement SLA of every I/O path setting SLA information;
    Query unit, for inquiring about QoS knowledge bases, according to the SLA information of every I/O passage, matches the corresponding standard resources of SLA obtained set by each bar I/O passages and uses parameter;Wherein, the corresponding standard resources of each SLA are previously stored with the QoS knowledge bases and use parameter;
    Acquiring unit, for using parameter according to the corresponding standard resources of each SLA, compares the SLA information, the resource information of every I/O passage, determines that Current resource service condition uses the unmatched I/O passages of parameter with standard resource;
    Indicating member, is instructed for being sent to the file system, so that the file system uses parameter according to the corresponding standard resources of SLA, the resource for adjusting the unmatched I/O passages is used.
    7th, device according to claim 6, it is characterised in that also include:
    Request unit, for receiving the expression every that file system is sent in the receiving unit The resource information of I/O passage Current resource service conditions, before the SLA information for the service-level agreement SLA for representing every I/O path setting, situation request message is sent to file system, the situation request message is used for the resource information and the SLA information for indicating that the file system feeds back every I/O passage.
    8th, device according to claim 7, it is characterised in that the receiving unit specifically for:
    The situation request message is received in file system, resource service condition current on every I/O passage is counted by bottom hardware according to the instruction of the situation request message, obtain the resource information and the SL A information of every I/O passage and feed back after transmission, receive the resource information and the SLA information.
    9th, device according to claim 6, it is characterised in that the query unit specifically for:
    According to the SLA information of every I/O passage, the corresponding inquiry request message of every I/O passage of construction, the inquiry request message includes the SLA information of correspondence I/O passages;Successively according to every inquiry request message, travel through the QoS knowledge bases, obtain each inquiry request message and distinguish corresponding response to query message, the SLA information of the response to query message including corresponding I/O passages corresponding standard resource in the QoS knowledge bases uses parameter.
    10th, device according to claim 6, it is characterised in that the acquiring unit specifically for:
    Obtain the parameter item that every I/O passages correspondence resource information is included;
    The corresponding parameter item of every I/O passage standard resource corresponding with this I/O passages is compared using parameter respectively;
    The value of the parameter item is more than the value that the standard resource is provided using parameter correspondence
    I/O passages are defined as unmatched I/O passages.
    11, a kind of I/O passages QoS dynamic balancing devices, it is characterised in that including:Bus and the processor, memory and interface for being connected to the bus;The memory is used for store instruction;Being instructed described in the computing device is used for:
    Receive the money for every I/O passage Current resource service condition of expression that file system is sent Source information, and represent the service-level agreement SLA of every I/O path setting SLA information;QoS knowledge bases are inquired about, according to the SLA information of every I/O passage, the corresponding standard resources of SLA obtained set by each bar I/O passages is matched and uses parameter;Wherein, it is described
    The corresponding standard resources of each SLA are previously stored with QoS knowledge bases and use parameter;
    Parameter is used according to the corresponding standard resources of each SLA, the SLA information, the resource information of every I/O passage is compared, determines that Current resource service condition uses the unmatched I/O passages of parameter with standard resource;
    Send and instruct to the file system, so that the file system uses parameter according to the corresponding standard resources of SLA, the resource for adjusting the unmatched I/O passages is used.
    12nd, the device according to claim 11, it is characterized in that, the resource information for representing the passage Current resource service condition of every I/0 sent in the reception file system, with represent every I/O path setting service-level agreement SLA SLA information before, instructed described in the computing device specifically for:
    Situation request message is sent to file system, the situation request message is used for the resource information and the SLA information for indicating that the file system feeds back every I/O passage.
    13rd, device according to claim 12, it is characterised in that instructed described in the computing device specifically for:
    The situation request message is received in file system, resource service condition current on every I/O passage is counted by bottom hardware according to the instruction of the situation request message, obtain the resource information and the SL A information of every I/O passage and feed back after transmission, receive the resource information and the SLA information.
    14th, the device according to claim 11, it is characterised in that instructed described in the computing device specifically for:
    According to the SLA information of every I/O passage, the corresponding inquiry request message of every I/O passage of construction, the inquiry request message includes the SLA information of correspondence I/O passages;Successively according to every inquiry request message, travel through the QoS knowledge bases, obtain each inquiry request message and distinguish corresponding response to query message, the SLA information of the response to query message including corresponding I/O passages corresponding standard resource in the QoS knowledge bases uses parameter. 15th, the device according to claim 11, it is characterised in that instructed described in the computing device specifically for:
    Obtain the parameter item that every I/O passages correspondence resource information is included;
    The corresponding parameter item of every I/O passage standard resource corresponding with this I/O passages is compared using parameter respectively;
    The I/O passages that the value of the parameter item is more than the value that the standard resource is provided using parameter correspondence are defined as unmatched I/O passages.
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 true CN105519055A (en) 2016-04-20
CN105519055B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304993A (en) * 2018-01-05 2018-07-20 阿里巴巴集团控股有限公司 A kind of method and device that business executes
CN110661708A (en) * 2018-06-29 2020-01-07 华为技术有限公司 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040236846A1 (en) * 2003-05-23 2004-11-25 International Business Machines Corporation, Armonk, New York System and method for utilizing informed throttling to guarantee quality of service to I/O streams
US20040267916A1 (en) * 2003-06-25 2004-12-30 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
CN103905340A (en) * 2012-12-26 2014-07-02 中国电信股份有限公司 Network resource co-allocation method and device, and Internet network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040236846A1 (en) * 2003-05-23 2004-11-25 International Business Machines Corporation, Armonk, New York System and method for utilizing informed throttling to guarantee quality of service to I/O streams
US20040267916A1 (en) * 2003-06-25 2004-12-30 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
CN103905340A (en) * 2012-12-26 2014-07-02 中国电信股份有限公司 Network resource co-allocation method and device, and Internet network

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304993A (en) * 2018-01-05 2018-07-20 阿里巴巴集团控股有限公司 A kind of method and device that business executes
CN108304993B (en) * 2018-01-05 2022-04-29 创新先进技术有限公司 Service execution method and device
CN110661708A (en) * 2018-06-29 2020-01-07 华为技术有限公司 Network optimization method, system and network equipment
CN110661708B (en) * 2018-06-29 2021-01-15 华为技术有限公司 Network optimization method, system and network equipment
US11546215B2 (en) 2018-06-29 2023-01-03 Huawei Technologies Co., Ltd. Method, system, and device for data flow metric adjustment based on communication link state
CN111708496A (en) * 2020-06-19 2020-09-25 广州市品高软件股份有限公司 Scheduling method of read-write request, storage medium and distributed storage system

Also Published As

Publication number Publication date
CN105519055B (en) 2019-03-01
WO2016015223A1 (en) 2016-02-04

Similar Documents

Publication Publication Date Title
CN109936511B (en) Token obtaining method, device, server, terminal equipment and medium
CN103036597B (en) Method and device of sharing resources among devices in close range
CN107533484A (en) System and method for dynamically managing virtual network function descriptor
US20180052789A1 (en) Direct Memory Access Transmission Control Method and Apparatus
CN109379448B (en) File distributed deployment method and device, electronic equipment and storage medium
US11379836B2 (en) Methods and systems for recording data based on plurality of blockchain networks
CN103781055A (en) Data downloading method and associated device
CN108845877B (en) Method, device and system for managing memory
US10708378B2 (en) Data processing method and apparatus, server, and controller
US11050550B2 (en) Methods and systems for reading data based on plurality of blockchain networks
KR102266089B1 (en) Mec(mobile edge computing) system and control method thereof
CN108401037A (en) User terminal and the binding method of equipment, device and system
CN104461698A (en) Dynamic virtual disk mounting method, virtual disk management device and distributed storage system
CN101499995A (en) Service scheduling method, system and apparatus for service scheduling
CN103581111A (en) Communication method and system
WO2023045552A1 (en) Service deployment method, service deployment system, electronic device, and storage medium
CN105519055A (en) Dynamic equilibrium method and apparatus for QoS of I/O channel
CN110035128B (en) Live broadcast scheduling method and device, live broadcast system and storage medium
CN105357239A (en) Method and device for providing service, and method and device for acquiring service
CN109714208A (en) A kind of equipment is included in method, storage medium and the electronic equipment of network management
CN111107120B (en) Redis cluster construction method and system
US20200153749A1 (en) Biased selection of dedicated physical connections to provider network
CN109254928A (en) A kind of method of log processing, system, equipment and computer readable storage medium
CN110928693B (en) Computing equipment and resource allocation method
CN106330492A (en) Method, device and system of configuring user equipment forwarding table

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