WO2016015223A1 - 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
WO2016015223A1
WO2016015223A1 PCT/CN2014/083225 CN2014083225W WO2016015223A1 WO 2016015223 A1 WO2016015223 A1 WO 2016015223A1 CN 2014083225 W CN2014083225 W CN 2014083225W WO 2016015223 A1 WO2016015223 A1 WO 2016015223A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
sla
information
resource usage
file system
Prior art date
Application number
PCT/CN2014/083225
Other languages
French (fr)
Chinese (zh)
Inventor
祁凯
王伟
陈克平
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2014/083225 priority Critical patent/WO2016015223A1/en
Priority to CN201480037434.7A priority patent/CN105519055B/en
Publication of WO2016015223A1 publication Critical patent/WO2016015223A1/en

Links

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to an I/O channel QoS dynamic equalization method and apparatus.
  • QoS Quality of Service
  • SLA Service Level Agreement
  • the core processor of the computer system controls the I/O (Input/Output) channel when the data needs to be read/write (Read/Write) during the process running. Accessing the memory enables reading or writing of data.
  • an SLA can be set for the I/O channel to meet the service requirements, so as to control the I/O channel according to the requirements specified by the SLA, so as to ensure the data transmission of the I/O channel. QoS.
  • the embodiment of the present invention provides an I/O channel QoS dynamic equalization method and device, which is used to solve the problem that the resource utilization of the I/O channel is reduced due to the change of the service running state, and the QoS requirement of the service cannot be guaranteed.
  • an I/O channel QoS dynamic equalization method including: Receiving resource information sent by the file system indicating the current resource usage of each I/O channel, and SLA information indicating the service level agreement SLA set by each I/O channel; querying the QoS knowledge base, according to each I/O The SLA information of the channel is matched with the standard resource usage parameter corresponding to the SLA set by each I/O channel; wherein, the QoS knowledge base pre-stores standard resource usage parameters corresponding to each SLA; Corresponding standard resource usage parameters, comparing the SLA information of each I/O channel, the resource information, and determining an I/O channel that does not match the current resource usage parameter and the standard resource usage parameter;
  • the resource information that is sent by the receiving file system and indicates the current resource usage of each I/O channel, and the service that is set for each I/O channel are set.
  • the method further includes: sending a situation request message to the file system, where the request message is used to instruct the file system to feed back the resource information and the SLA information of each I/O channel.
  • the receiving file system sends resource information indicating current resource usage of each I/O channel, and represents each I
  • the SLA information of the service level agreement SLA set by the /O channel includes:
  • the situation request message Receiving, by the file system, the situation request message, according to the indication of the situation request message, the current resource usage on each I/O channel is collected by the underlying hardware, and the resource information of each I/O channel is obtained. After the SLA information is sent and fed back, the resource information and the SLA information are received.
  • the querying the QoS knowledge base, according to the SLA information of each I/O channel, matching the SLA corresponding to each I/O channel Standard resource usage parameters include:
  • I/O channels whose usage does not match the standard resource usage parameters include:
  • An I/O channel whose value of the parameter item is greater than a value corresponding to the standard resource usage parameter is determined as an unmatched I/O channel.
  • the second aspect provides an I/O channel QoS dynamic equalization apparatus, including: a receiving unit, configured to receive resource information sent by a file system and indicate current resource usage of each I/O channel, and represent each I/O SLA information of the service level agreement SLA set by the channel;
  • a query unit configured to query a QoS knowledge base, and match, according to the SLA information of each I/O channel, a standard resource usage parameter corresponding to an SLA set by each I/O channel; wherein, the QoS knowledge base Pre-stored standard resource usage parameters corresponding to each SLA;
  • an obtaining unit configured to compare, according to the standard resource usage parameter corresponding to each SLA, the SLA information and the resource information of each I/O channel, and determine that the current resource usage does not match the standard resource usage parameter.
  • an indication unit configured to send an instruction to the file system, so that the file system adjusts resource usage of the unmatched I/O channel according to a standard resource usage parameter corresponding to the SLA.
  • the method further includes: a requesting unit, configured to receive, by the receiving unit, a representation sent by a file system a resource request information of the current resource usage of the I/O channel, and a SLA information indicating a service level agreement SLA set by each I/O channel, and sending a situation request message to the file system, where the situation request message is used to indicate the The file system feeds back the resource information and the SLA information for each I/O channel.
  • a requesting unit configured to receive, by the receiving unit, a representation sent by a file system a resource request information of the current resource usage of the I/O channel, and a SLA information indicating a service level agreement SLA set by each I/O channel, and sending a situation request message to the file system, where the situation request message is used to indicate the The file system feeds back the resource information and the SLA information for each I/O channel.
  • the receiving unit is specifically configured to:
  • the situation request message Receiving, by the file system, the situation request message, according to the indication of the situation request message, the current resource usage on each I/O channel is collected by the underlying hardware, and the resource information of each I/O channel is obtained. After the SLA information is sent and fed back, the resource information and the SLA information are received.
  • the query unit is specifically configured to:
  • the acquiring unit is specifically configured to:
  • An I/O channel whose value of the parameter item is greater than a value corresponding to the standard resource usage parameter is determined as an unmatched I/O channel.
  • an I/O channel Qo S dynamic equalization apparatus including: a bus, and a processor, a memory, and an interface connected to the bus; the memory is configured to store an instruction; Instructions are used to: Receiving resource information sent by the file system indicating the current resource usage of each I/O channel, and SLA information indicating the service level agreement SLA set by each I/O channel; querying the QoS knowledge base, according to each I/O The SLA information of the channel is matched with the standard resource usage parameter corresponding to the SLA set by each I/O channel; wherein, the QoS knowledge base pre-stores standard resource usage parameters corresponding to each SLA; Corresponding standard resource usage parameters, comparing the SLA information of each I/O channel, the resource information, and determining an I/O channel that does not match the current resource usage parameter and the standard resource usage parameter;
  • the resource information that is sent by the receiving file system and indicates the current resource usage of each I/O channel, and the service that is set for each I/O channel are set.
  • the processor executes the instruction specifically for:
  • the situation request message is used to instruct the file system to feed back the resource information and the SLA information of each I/O channel.
  • the executing the instruction by the processor is specifically used to:
  • the situation request message Receiving, by the file system, the situation request message, according to the indication of the situation request message, the current resource usage on each I/O channel is collected by the underlying hardware, and the resource information of each I/O channel is obtained. After the SLA information is sent and fed back, the resource information and the SLA information are received.
  • the SLA information including the corresponding I/O channel corresponds to the standard resource usage parameter in the QoS knowledge base.
  • An I/O channel whose value of the parameter item is greater than a value corresponding to the standard resource usage parameter is determined as an unmatched I/O channel.
  • the embodiment of the present invention provides an I/O channel QoS dynamic equalization method and device.
  • acquiring resource information and SLA information of each I/O channel querying the QoS knowledge base to obtain each I/O channel is set.
  • the comparison determines the current resource usage and the standard resource usage parameter does not match the I/O channel, and further instructs the file system to perform resource adjustment on the unmatched I/O channel.
  • the resources of the I/O channel can be adjusted according to different SLA requirements, which solves the problem that the utilization of the channel resources is reduced due to changes in service status during the data transmission process of the I/O in the prior art.
  • the Qo S requirements cannot be guaranteed. Therefore, the embodiment of the present invention ensures the configuration requirements of various aspects of the user service and the QoS balance between the I/O channels, and improves the performance of the I/O channel, compared with the prior art.
  • FIG. 1 is a schematic structural diagram of a SLA-based multi-I/O channel computer system
  • FIG. 2 is a schematic flowchart 1 of an I/O channel QoS dynamic equalization method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an QoS dynamic balancing method for an I/O channel according to an embodiment of the present invention.
  • Process diagram 2 is a schematic diagram of an QoS dynamic balancing method for an I/O channel according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart 3 of an I/O channel QoS dynamic equalization method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart 4 of an I/O channel QoS dynamic equalization method according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram 1 of an I/O channel QoS dynamic equalization apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram 2 of an I/O channel QoS dynamic equalization apparatus according to an embodiment of the present disclosure
  • FIG. 8 is a schematic structural diagram 3 of an I/O channel QoS dynamic equalization apparatus according to an embodiment of the present invention.
  • the method provided by the embodiment of the present invention can be applied to a computer system based on an SLA (Service Level Agreement) multiple I/O (Input/Output) channel.
  • SLA Service Level Agreement
  • I/O input/Output
  • FIG. 1 The structure of the system is as shown in FIG. 1 . It is shown that the kernel processor in the computer system implements a read/write operation (Read/Write) operation on each user business process initiated by the user terminal, mainly through each I/O channel between the kernel processor and the memory. Read or write data.
  • a corresponding user SLA requirement ie, resource usage required by the service
  • the user SLA requirement is used to set resource control required for the service for the I/O channel used by the service.
  • the solution such as some parameters set for resource usage, includes: SLA demand level (SLA_level), channel processing capability (SLA_iops), channel amount (SLA_bps), monthly service status (SLA_server), etc.;
  • SLA_level SLA demand level
  • SLA_iops channel processing capability
  • SLA_bps channel amount
  • SLA_server monthly service status
  • the corresponding SLA information such as the SLA name (SLA Name)
  • SLA Name is set for each I/O channel, and the I/O channel is not used for data transmission.
  • the same SLA name is index, which corresponds to different user SLA requirements, that is, different I/O channels are responsible for processing the user service that sets the corresponding user SLA requirements, and thus can be processed by the file system in the kernel processor, according to each user.
  • the user SLA requirement set by the service implements the allocation and adjustment of the resources on the I/O channel, so that each user service can use the corresponding resource configuration in the corresponding I/O channel according to the preset indication of the corresponding user SLA requirement. Therefore, the resource utilization of the multiple I/O channels can meet the preset requirements, and QoS (Quality of Service) is thereby guaranteed.
  • the correspondence between different user services and user SLA requirements, and the correspondence between each I/O channel and SLA information can be controlled by a SLA I/O QoS monitoring module (Monitor) provided by the computer system, and each user SLA needs corresponding resources.
  • the standard resource usage parameters in the control scheme can be stored by the system to build a QoS knowledge base.
  • An embodiment of the present invention provides an I/O channel QoS dynamic equalization method. As shown in FIG. 2, the method includes:
  • the resource information of each I/O channel is used to indicate the current resource usage of the I/O channel, and may include: an SLA requirement level, channel processing capability information, channel traffic information, service status information, and the like;
  • the SLA information of the /O channel is used to indicate the SLA set for the I/O channel, which may be: SLA name.
  • the situation request message may be sent to the file system, where the request message is used to instruct the file system to feed back each I/O channel.
  • Resource information and SLA information may be sent to the file system, where the request message is used to instruct the file system to feed back each I/O channel.
  • the request information message may be received in the file system, and the current resource usage on each I/O channel is collected by the underlying hardware according to the indication of the situation request message, and the resource information and the SLA information of each I/O channel are obtained. After the feedback is sent, the resource information and the SLA information are received.
  • the standard resource usage parameter corresponding to each SLA is pre-stored in the QoS knowledge base, and the standard resource usage parameter may include: a standard SLA requirement level, standard channel processing capability information, and standard channel traffic information.
  • the query request message corresponding to each I/O channel may be constructed according to the SLA information of each I/O channel, where the query request message includes SLA information corresponding to the I/O channel;
  • the QoS knowledge base is traversed to obtain a query reply message corresponding to each query request message, where the query reply message includes the SLA information of the corresponding I/O channel and the corresponding standard resource used in the QoS knowledge base. parameter.
  • the parameter items included in the corresponding resource information of each I/O channel may be obtained;
  • the I/O channel whose value of the parameter item is greater than the value provided by the standard resource usage parameter is determined as the I/O channel that does not match.
  • An embodiment of the present invention provides an I/O channel QoS dynamic equalization method.
  • the QoS knowledge base is queried to obtain an SLA corresponding to each I/O channel.
  • the comparison determines the I/O channel that the current resource usage does not match the standard resource usage parameter, and further instructs the file system to perform resource adjustment on the above-mentioned mismatched I/O channel.
  • an I/O channel QoS dynamic equalization method provided by an embodiment of the present invention is described in detail below through specific embodiments, and it is worth mentioning.
  • the embodiments provided below are merely examples, and implementations of the present invention are not limited thereto. As shown in Figure 3, the method includes:
  • the QoS dynamic equalization apparatus sends a situation request message to the file system.
  • the Qo S dynamic equalization device sends a corresponding situation request message corresponding to each I/O channel to the file system, and is used to request to acquire the current state of each I/O channel.
  • the QoS dynamic balancing device may be an SLA I/O QoS monitoring module, and the QoS monitoring module may be part of a corresponding function in the computer system, or may be an independent device, which is not limited herein;
  • the software mechanism module responsible for managing and storing file information can be part of the kernel processor in the computer system and controlled by the kernel processor to interact with the user to control resource usage of each I/O channel.
  • the status request message corresponding to each I/O channel may include SLA information corresponding to the requested I/O channel, and the SLA information is used to index the I/O channel according to the SLA setting relationship of the I/O channel, which may be SLA name.
  • the above situation request message is used to indicate that the SLA name in the file system feedback information indicates the required information of the I/O channel.
  • the corresponding relationship between the I/O channel and the SLA information may be preset and stored in the Qo S dynamic equalization device.
  • the specific correspondence may be adjusted according to user selection or application scenario requirements. .
  • the request message may further include: a message type, a memory address bit number, a message identifier, a data storage address, etc., and the format of the message may be as follows:
  • "Header” part ie, the information header: "Message Type: I/O Channel Usage Information” indicates that this information is used to interact with the channel usage of the specified I/O channel; "Length” indicates that the number of memory addresses is “32”; “Transaction ID” indicates that the message identifier is "0"; "Channel Name” indicates the SLA name corresponding to the selected I/O channel.
  • I/O channel Usage Request "Message Type : I/O Channel Usage Request Information” is used to further indicate that the message is a situation request message; "Channel Name” indicates the SLA name corresponding to the selected I/O channel. , can be the same as in the "Header” section; "Body” indicates the data storage address.
  • the Qo S dynamic equalization device can send each situation request message to the file system after receiving the external indication, or periodically send each situation request message to the file system after each preset time interval, and execute For the subsequent operation process, the triggering manners that can be used in the specific application include but are not limited thereto, and are not limited herein.
  • the QoS dynamic equalization device receives a situation message sent by the file system.
  • the Qo S dynamic equalization device receives each file file sent by the Qo S dynamic equalization device. Status message corresponding to the I/O channel.
  • Each of the situation messages may include: resource information indicating that the message corresponds to the current resource usage of the I/O channel, and SLA information indicating the SLA corresponding to the I/O channel setting of the message, and the SLA information may be an SLA name.
  • the resource information indicating the current resource usage of the I/O channel may include: IOPS (Input/Output Operations Per Second) information, indicating channel processing capability; Bps ( Bits per The information is used to indicate the data transmission rate of the channel, the priority information, and the like, and some of the parameters listed above are merely exemplary, and may also include other parameters or indicators for indicating channel performance, which are not limited herein.
  • the foregoing situation information may further include: a message type, a number of memory address bits, a message identifier, parameter data, and the like, and the format of the message may be as follows:
  • SLA— server iops— usage— rate I bps— usage— rate I Time— period where the “Header” part is the same as the above request message, and will not be described here;
  • I/O channel Usage Reply "Message Type: I/O Channel Usage Reply Information” is used to further indicate that the information is a situation message;
  • “Channel Name” indicates the SLA name corresponding to the selected I/O channel, which can be the same as in the "Header” section, and the situation The request message corresponds to;
  • the "B ody” indicates the parameter data included, including: SLA requirement level SLA_level corresponding to the I/O channel, IOPS information SLA_iops, rate information SLA_bps, and utilization information SLA_server.
  • the file system After receiving the request information sent by the Qo S dynamic equalization device, the file system obtains a corresponding situation message, as shown in FIG. 4, which may include:
  • S2021 The file system sends a statistics message corresponding to each I/O channel to the underlying hardware.
  • the specific file system After receiving the situation request message sent by the QoS dynamic equalization device, the specific file system requests the message according to each situation, constructs a statistical message corresponding to each I/O channel, and sends the statistics message to the underlying hardware, so that the underlying hardware according to each statistic The message is counted and fed back.
  • the underlying hardware may be a part of the computer system that performs the corresponding function, or may be a separate storage device, which is not limited herein; may be a hardware storage (such as S SD (Solid State Disk), disk array) Disk Array ) is implemented in the form of multiple I/O channels with the kernel processor.
  • S SD Solid State Disk
  • Disk Array a hardware storage (such as S SD (Solid State Disk), disk array) Disk Array ) is implemented in the form of multiple I/O channels with the kernel processor.
  • the foregoing statistical message may include SLA information corresponding to the I/O channel of the requested statistic, and the SLA information is used to index the I/O channel according to the SLA setting relationship of the I/O channel, and may be an SLA name.
  • the statistics message is used to instruct the underlying hardware to count and feed back information about the SLA name indicating the I/O channel resource usage in the message.
  • the statistic message may further include: a message type, a number of memory address bits, a message identifier, a data storage address, and the like, and the format of the message may be as follows:
  • Header part (ie, the information header): "Message Type: I/O Channel Usage Information” indicates that the information is used to interact with the channel usage of the specified I/O channel; "Length” indicates that the number of memory addresses is “32”; “Transaction ID” indicates that the message identifier is "1”; "Channel Name” indicates the SLA name corresponding to the selected I/O channel.
  • I/O channel Usage Statistics Request "Message Ty e: I/O Channel Usage Request Information” is used to further indicate that the information is a statistical message; "Channel Name” indicates the corresponding I/O channel corresponding to The SLA name, which can be the same as in the "Header” section; "Body” indicates the data storage address.
  • the underlying hardware after receiving the statistics information sent by the file system, the underlying hardware performs statistics on the specified I/O channels in a preset statistical time according to the indication of each statistical message, and obtains a corresponding statistical reply message, and The file system sends each statistical reply message.
  • the preset statistics time is used to limit the duration of the statistical operation. It can be the default setting of the system or the external input. It is not limited here.
  • the above statistics reply message includes: Indicates the SLA in the statistics message. The resource information of the current resource usage of the I/O channel indicated by the information.
  • the foregoing statistical reply message may further include: a message type, a memory address digit, a message identifier, parameter data, and the like, and the format of the message may be as follows:
  • the "Header” part is the same as the above-mentioned statistical message, and will not be described here;
  • I/O channel Usage Reply "Message Type: I/O Channel Usage Reply Information” is used to further indicate that the information is statistical.
  • Reply message "Channel Name” indicates the SLA name corresponding to the selected I/O channel, which can be the same as in the "Header” section, corresponding to the statistics message;
  • “B ody” indicates the parameter data included, including: I/ The SLA demand level SLA_level, IOPS information SLA_iops, and rate information SLA_bps corresponding to the O channel.
  • the file system can construct and obtain corresponding situational messages.
  • the S203 and Qo S dynamic equalization devices query the Qo S knowledge base.
  • the Qo S dynamic equalization device queries the Qo S knowledge base to determine the corresponding I/O channel in the Qo S knowledge base. Standard resource usage parameters.
  • the Qo S knowledge base is a database for recording the standard resource usage parameters corresponding to each SLA, and may be a part of the corresponding function in the Qo S equalization device, or may be an independent device, which is not limited herein.
  • the standard resource usage parameters may be related parameters selected by the user for different SLAs in advance, and may specifically include: IOPS information, Bps information, priority information, etc., and some of the parameters listed above are only exemplary. In actual applications, there may be differences depending on the application scenario or requirements, and other tunable parameters related to channel performance may be included. Indicators, not limited here.
  • the establishment of the QoS knowledge base is implemented by the QoS dynamic equalization device receiving the knowledge base update message, and the knowledge base update message can be obtained from the user service process, or can be directly obtained from the outside, which is not limited herein.
  • the knowledge base update message contains an SLA identifier (such as the SLA name) and its associated parameters (such as standard resource usage parameters) corresponding to the user's SLA requirements.
  • the QoS dynamic equalization device retrieves and determines whether the knowledge base update corresponding to the SLA identifier exists in the QoS knowledge base. If not, the new entry is recorded, if yes, Then, it is further determined whether the parameter recorded therein needs to be updated, and whether the update is completed or not, the establishment of the QoS knowledge base is completed.
  • each knowledge base entry in the QoS knowledge base can be as shown in Table 1:
  • the foregoing QoS balancing device queries the QoS knowledge base according to the situation information corresponding to each I/O channel, as shown in FIG. 5, which may specifically include:
  • the QoS dynamic equalization device sends a query request message corresponding to each I/O channel to the QoS knowledge base.
  • the QoS dynamic equalization device After receiving the situation information sent by the file system, the QoS dynamic equalization device sends a query request message corresponding to each I/O channel to the QoS knowledge base.
  • the query request message may include SLA information corresponding to the queried I/O channel.
  • the SLA information may be an SLA name, and is used to indicate that the Qo S knowledge base feeds back the standard resource usage parameter corresponding to the SLA specified by the SLA name.
  • the query request message may further include: a message type, a memory address bit number, a message identifier, a data storage address, and the like, and the format of the message may be as follows:
  • the "Header” part (ie, the information header): "Message Type: I/O QOS lookup Information” indicates that the information is used to interact with the parameter information corresponding to the specified SLA name in the QoS knowledge base; "Length” indicates the memory address bit. The number is "32";
  • the "Transaction ID” indicates that the message identifier is "2"; "Channel Name” indicates the SLA name corresponding to the selected I/O channel.
  • I/O channel Usage Statistics Request "Message Type: I/O QOS lookup Request Information” is used to further indicate that the information is a query request message; "Channel Name” indicates the corresponding I/O channel corresponding to The SLA name, which can be the same as in the "Header” section; "Body” indicates the data storage address.
  • the S2032, Qo S dynamic equalization device receives the QoS knowledge base feedback and sends the query reply information corresponding to each I/O channel.
  • the QoS knowledge base retrieves and acquires each I/O channel according to the indication in each query request message.
  • the set SLA constructs a query reply message corresponding to each query request message in the standard resource usage parameter corresponding to the Qo S knowledge base, and sends each query reply message to the Qo S dynamic equalization device.
  • the query response message corresponding to each I/O channel may include a standard resource usage parameter corresponding to the SLA set in the I/O channel in the Qo S knowledge base.
  • the foregoing query reply message may further include: a message type, a memory address digit, a message identifier, parameter data, and the like, and the format of the message may be as follows:
  • SLA—service iops— usage I bps— usage I time— period where the “Header” part is the same as the above query request message, and will not be described here;
  • I/O channel Usage Statistics Reply in Shaoyuan: “Message Type : I/O QO S lookup Reply Information” is used to further indicate that the message is a query reply message;
  • "Channel Name” indicates the SLA name corresponding to the selected I/O channel, which can be the same as in the "Header” section, with the query request The message corresponds to;
  • the "B ody” indicates the parameter data included, including: SLA demand level corresponding to the I/O channel SLA_level, IOPS information SLA_iops, rate information SLA-bps, utilization information SLA-service.
  • the S204 and Qo S dynamic equalization devices change the resource usage of the I/O channel. Specifically, the Qo S dynamic equalization device determines the I/O channel that is not matched, and constructs a change message, and changes the resource usage of each mismatched I/O channel through the user SLA.
  • the user SLA is used to manage the SLA requirements of each user service, and can interact with the file system to allocate corresponding resources for different user SLA requirements, which can be part of the corresponding function in the Qo S dynamic equalization device, or A separate functional module in a computer system is not limited here.
  • the Qo S dynamic equalization device after receiving the query reply message corresponding to each I/O channel fed back by the Qo S knowledge base, the Qo S dynamic equalization device according to the corresponding relationship between the I/O channel indicated by each query reply message and the standard resource use parameter, The correspondence between the I/O channel indicated by the situation message and the resource information indicating the current resource usage is compared, and the value of the parameter item included in the channel corresponding resource information in all the I/O channels is greater than the The I/O channel corresponding to the value provided by the channel for the parameter item in the standard resource usage parameter is determined as an unmatched I/O channel.
  • the statistical response message corresponding to any I/O channel is SLA_iops larger than the SLA_iops in the query reply message (ie, Avg_min_iops I Avg_max_iops > Min_iops I max — iops )
  • the SLA_bps in the statistical reply message is greater than the SLA_bp s in the query reply message (ie, Avg_min_bp s I Avg—max— bp s > min—bp s I max—bps)
  • the I/ The O channel is an unmatched I/O channel. That is to say, the current resource usage of the service on the I/O channel exceeds the resource usage requirement specified by the SLA, and the resource usage is changed to achieve the balance of resources in each channel.
  • the determined unmatched I/O channels may be one or more.
  • the Qo S dynamic equalization device sends a change message to the user SLA, and the user SLA determines the mismatched I/O channel according to the change message, and instructs the file system to perform resource change on the designated I/O channel.
  • the resource change operation Before performing the resource change operation, it also includes determining whether the hardware and each I/O channel can provide the corresponding resources required for the change. Parameters to reflect device read and write throughput For example, the IOP S is determined according to the situation message corresponding to each I/O channel. If the current IOP S value in the channel resource information is smaller than the maximum IOP S value that the channel can reach, it indicates that the I/O channel can provide additional IOP S capabilities to determine that resource change operations are executable.
  • the foregoing process of determining the IOP S capability is only exemplary. For other tunable parameters, such as the bps parameter that reflects the read/write rate, the corresponding operation may be used for the determination, which is not limited herein.
  • the resources of the unmatched I/O channel are changed to the parameter values that should be provided by the standard resource usage parameter corresponding to the I/O channel ( That is, min_iops I max—iops or min—bps I max—bps, etc., to complete the change of resource usage.
  • the file system can be developed based on the Linux operating system kernel, and the resource change operation for the specified mismatched I/O channel can be implemented by the Linux Cgroup s (Control groups) mechanism.
  • the Linux Cgroups mechanism provides a mechanism for the Linux kernel to limit, record, and isolate the physical resources (such as cpu, memory, I/O resources, etc.) used by the rocess group s. It can be applied to a variety of applications. Scenes. Functions include: Limiting the number of resources that a process group can use (Resource limiting), Prioritization of a process group, Recording the number of resources used by a process group (Accounting), Process group isolation (process), Process group control (control), etc. .
  • the user SLA instructs the file system to perform the change operation.
  • the file system uses the Linux Cgroups mechanism according to the standard resource usage parameters corresponding to the above-mentioned mismatched I/O channels in the Qo S knowledge base, such as the number of resources that can be used by the process group, and the process group. Priority control, etc.) Change the resource usage of each I/O channel.
  • the user SLA sends a change reply message to the Qo S dynamic equalization device to indicate the result of the change operation.
  • the change reply message may include: a message type, a number of memory address bits, a message identifier, and an SLA information corresponding to an I/O channel whose change operation does not match (such as an SLA name)
  • SLA information corresponding to an I/O channel whose change operation does not match (such as an SLA name)
  • the parameter data of the changed state and the change status bit of the reaction change operation state can be as follows:
  • "Header” part ie, the information header: "Message Type: I/O QOS modify Information” indicates that the information is used to interactively specify the change of the above-mentioned mismatched I/O channel; "Length” indicates the memory address The number of digits is “32"; “Transaction ID” indicates that the message identifier is "3”; "Channel Name” indicates the SLA name corresponding to the selected unmatched I/O channel.
  • I/O QOS modify Information Message Reply "Message Type: I/O QOS modify Reply Information” is used to further indicate that the message is a change reply message; "Channel Name” indicates the selected mismatched I/O The SLA name corresponding to the channel can be the same as in the "Header” section; "Body” indicates the included post-change parameter data, including: Change the SLA requirement level of the operation object I/O channel SLA_level, IOPS information SLA_iops Rate information SLA-bps, change ⁇ 1 status SLA_ status.
  • Linux Cgroups mechanism based on the Linux operating system kernel is only exemplary. It is conceivable that when using other types of operating platforms, such as XEN virtual machine architecture, KVM (Kernel-based Virtual Machine) , a kernel-based virtual machine, etc., can be easily conceived by those skilled in the art without creative efforts, and thus is also within the scope of the embodiments of the present invention.
  • KVM Kernel-based Virtual Machine
  • An embodiment of the present invention provides an I/O channel QoS dynamic equalization method.
  • the QoS knowledge base is queried to obtain an SLA corresponding to each I/O channel.
  • the comparison determines the I/O channel that the current resource usage does not match the standard resource usage parameter, and further instructs the file system to perform resource adjustment on the above-mentioned mismatched I/O channel.
  • the embodiment of the present invention can change and adjust the resource usage of the I/O channel, ensuring the configuration requirements of various aspects of the user service and the QoS balance between the I/O channels, and improving the I/O channel. performance.
  • An embodiment of the present invention provides an I/O channel Qo S dynamic equalization apparatus 00, which corresponds to an I/O channel QoS dynamic equalization method provided by the foregoing embodiment.
  • the QoS dynamic equalization apparatus is shown in FIG. 00 includes:
  • the receiving unit 001 is configured to receive resource information sent by the file system indicating current resource usage of each I/O channel, and SLA information indicating a service level agreement SLA set by each I/O channel.
  • the query unit 002 is configured to query the QoS knowledge base, and according to the SLA information of each I/O channel, the standard resource usage parameter corresponding to the SLA set by each I/O channel is matched. Number.
  • the standard resource usage parameters corresponding to each SLA are pre-stored in the QoS knowledge base.
  • the obtaining unit 003 is configured to compare the SLA information and the resource information of each I/O channel according to the standard resource usage parameter corresponding to each SLA, and determine an I/O channel that does not match the current resource usage parameter and the standard resource usage parameter.
  • the indicating unit 004 is configured to send an instruction to the file system, so that the file system adjusts resource usage of the unmatched I/O channel according to the standard resource usage parameter corresponding to the SLA.
  • the dotted line indicates that the units may have a connection relationship, or may not have a direct connection relationship.
  • the receiving unit 001 and the query unit 002 are both used to interact with devices outside the device, and the receiving unit 001 may The inquiry unit 002 is notified after receiving the required information, and there may be no notification.
  • the QoS dynamic balancing apparatus 00 may further include: a requesting unit 005, configured to receive, by the receiving unit 001, resource information that is sent by the file system and indicates current resource usage of each I/O channel, where And before the SLA information indicating the service level agreement SLA set by each I/O channel, the situation request message is sent to the file system, and the situation request message is used to instruct the file system to feed back the resource information and the SLA information of each I/O channel.
  • a requesting unit 005 configured to receive, by the receiving unit 001, resource information that is sent by the file system and indicates current resource usage of each I/O channel, where And before the SLA information indicating the service level agreement SLA set by each I/O channel, the situation request message is sent to the file system, and the situation request message is used to instruct the file system to feed back the resource information and the SLA information of each I/O channel.
  • the receiving unit 001 can be specifically configured to:
  • the current resource usage on each I/O channel is collected by the underlying hardware, and the resource information and SLA information of each I/O channel are obtained and fed back, and then received. Resource information and SLA information.
  • the query unit 002 can be specifically configured to:
  • the QoS knowledge base is traversed to obtain a query reply message corresponding to each query request message, and the query reply message includes the standard resource use parameter corresponding to the SLA information of the corresponding I/O channel in the QoS knowledge base.
  • the obtaining unit 003 may be specifically configured to:
  • the I/O channel whose value of the parameter item is greater than the value provided by the standard resource usage parameter is determined as the I/O channel that does not match.
  • An embodiment of the present invention provides an I/O channel QoS dynamic equalization apparatus.
  • the QoS knowledge base is queried to obtain an SLA corresponding to each I/O channel.
  • the comparison determines the I/O channel that the current resource usage does not match the standard resource usage parameter, and further instructs the file system to perform resource adjustment on the above-mentioned mismatched I/O channel.
  • QoS balancing improves I/O channel performance.
  • An embodiment of the present invention further provides an I/O channel QoS dynamic equalization apparatus 01.
  • the QoS dynamic equalization apparatus 01 includes:
  • Bus 01 1 and a processor 012, a memory 013 and an interface 014 connected to the bus 01 1 , wherein the interface 014 is used to implement connection communication between the nodes;
  • the memory 013 is configured to store an instruction, and the processor 012 executes the instruction, specifically for receiving resource information sent by the file system and indicating current resource usage of each I/O channel, and a service that is set for each I/O channel.
  • SLA information for the Level Agreement SLA is configured to store an instruction, and the processor 012 executes the instruction, specifically for receiving resource information sent by the file system and indicating current resource usage of each I/O channel, and a service that is set for each I/O channel.
  • the processor 012 executes the instruction and is further configured to: query the QoS knowledge base, and match the standard resource usage parameters corresponding to the SLA set by each I/O channel according to the SLA information of each I/O channel.
  • the standard resource usage parameters corresponding to each SLA are pre-stored in the QoS knowledge base.
  • the processor 012 executes the instruction, and is further configured to: determine, according to the standard resource usage parameter corresponding to each SLA, the SLA information and the resource information of each I/O channel. I/O channels whose pre-resource usage does not match the standard resource usage parameters.
  • the processor 012 executes the instruction and is further configured to: send an instruction to the file system, so that the file system adjusts resource usage of the unmatched I/O channel according to the standard resource usage parameter corresponding to the SLA.
  • the resource information sent by the receiving file system indicating the current resource usage of each I/O channel, and the SLA information indicating the service level agreement SLA set by each I/O channel are selected.
  • the processor 012 executing the instruction may be specifically used to:
  • a situation request message is sent to the file system, and the situation request message is used to instruct the file system to feed back resource information and SLA information of each I/O channel.
  • the processor 012 executes the instruction, which may be specifically used to:
  • the current resource usage on each I/O channel is collected by the underlying hardware, and the resource information and SLA information of each I/O channel are obtained and fed back, and then received. Resource information and SLA information.
  • the processor 012 executes the instruction, which may be specifically used to:
  • the QoS knowledge base is traversed to obtain a query reply message corresponding to each query request message, and the query reply message includes the standard resource usage parameter corresponding to the SLA information of the corresponding I/O channel in the QoS knowledge base.
  • the processor 012 executes the instruction, which may be specifically used to:
  • An embodiment of the present invention provides an I/O channel QoS dynamic equalization apparatus.
  • the QoS knowledge base is queried to obtain an SLA corresponding to each I/O channel.
  • the comparison determines the I/O channel that the current resource usage does not match the standard resource usage parameter, and further instructs the file system to perform resource adjustment on the above-mentioned mismatched I/O channel.
  • the problem of the Qo S demand of the service cannot be guaranteed due to the change of the service status of the I/O during the data transmission process, and the configuration requirements and I/O of the user service are guaranteed.
  • QoS balancing between channels improves I/O channel performance.
  • each functional unit may be integrated in one processing unit, or each unit may be physically included separately, or two or more units may be integrated in one unit.
  • the above units may be implemented in the form of hardware or in the form of hardware plus software functional units.
  • All or part of the steps of implementing the above method embodiments may be performed by hardware related to the program instructions.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes the steps of the foregoing method embodiments;
  • the foregoing storage medium includes: a U disk, a removable hard disk, a ROM (Read Only Memory), a RAM (Random Access Memory), a disk or an optical disk, and the like, which can store program codes.

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

一种 I/O通道 QoS动态均衡方法及装置 技术领域  I/O channel QoS dynamic equalization method and device
本发明涉及计算机技术领域, 尤其涉及一种 I/O通道 QoS动态 均衡方法及装置。  The present invention relates to the field of computer technologies, and in particular, to an I/O channel QoS dynamic equalization method and apparatus.
背景技术 Background technique
QoS ( Quality of Service , 服务质量) 安全机制, 用于根据各种 网络业务的特点来对网络资源进行合理的规划和分配, 从而使网络 资源得到高效利用。 SLA ( Service Level Agreement , 服务等级协议) 是在一定开销下为保障服务的性能和可靠性, 服务提供商与用户间 定义的一种双方认可的协定。  QoS (Quality of Service) security mechanism is used to reasonably plan and allocate network resources according to the characteristics of various network services, so that network resources can be efficiently utilized. SLA (Service Level Agreement) is a mutually agreed agreement between service providers and users to guarantee the performance and reliability of services under certain overhead.
在现有技术中, 计算机系统的内核处理器在进程 ( Process ) 运 行过程中需对数据进行读 /写 ( Read/Write ) 操作时, 会控制 I/O ( Input/Output ,输入 /输出 )通道访问存储器实现数据的读取或写入。 为了满足数据传输对性能与可靠性的要求, 可为 I/O 通道设定满足 业务需求的 SLA ,以便根据该 SLA指定的需求对 I/O通道进行调控, 从而保证 I/O通道进行数据传输时的 QoS。  In the prior art, the core processor of the computer system controls the I/O (Input/Output) channel when the data needs to be read/write (Read/Write) during the process running. Accessing the memory enables reading or writing of data. In order to meet the performance and reliability requirements of data transmission, an SLA can be set for the I/O channel to meet the service requirements, so as to control the I/O channel according to the requirements specified by the SLA, so as to ensure the data transmission of the I/O channel. QoS.
然而, 虽然为多个 I/O通道设定了不同的 SLA , 但在 I/O通道 的实际工作中, 由于运行业务状态的变化, 各 I/O 通道的资源使用 情况往往会发生较大变化, 偏离了设定的 SLA , 导致各 I/O通道资 源的利用情况达不到用户的预定需求, 进而无法保证 I/O 通道进行 数据传输时的 QoS。  However, although different SLAs are set for multiple I/O channels, in the actual operation of the I/O channel, the resource usage of each I/O channel tends to change greatly due to changes in the running service status. Deviation from the set SLA causes the utilization of each I/O channel resource to fail to meet the user's predetermined requirements, and thus the QoS of the I/O channel for data transmission cannot be guaranteed.
发明内容 Summary of the invention
本发明的实施例提供一种 I/O通道 QoS动态均衡方法及装置, 用以解决因业务运行状态变化导致的 I/O 通道资源利用率降低, 业 务的 QoS需求无法保证的问题。  The embodiment of the present invention provides an I/O channel QoS dynamic equalization method and device, which is used to solve the problem that the resource utilization of the I/O channel is reduced due to the change of the service running state, and the QoS requirement of the service cannot be guaranteed.
为达到上述目的, 本发明的实施例采用如下技术方案:  In order to achieve the above object, the embodiment of the present invention adopts the following technical solutions:
第一方面, 提供一种 I/O通道 QoS动态均衡方法, 包括: 接收文件系统发送的表示每条 I/O 通道当前资源使用情况的资 源信息,和表示每条 I/O通道设定的服务等级协议 SLA的 SLA信息; 查询 QoS知识库, 根据每条 I/O通道的所述 SLA信息, 匹配得 到各条 I/O通道所设定的 SLA对应的标准资源使用参数; 其中, 所 述 QoS知识库中预先存储有各个 SLA对应的标准资源使用参数; 根据各个 SLA对应的标准资源使用参数, 比对每条 I/O通道的 所述 SLA信息、 所述资源信息, 确定出当前资源使用情况与标准资 源使用参数不匹配的 I/O通道; In a first aspect, an I/O channel QoS dynamic equalization method is provided, including: Receiving resource information sent by the file system indicating the current resource usage of each I/O channel, and SLA information indicating the service level agreement SLA set by each I/O channel; querying the QoS knowledge base, according to each I/O The SLA information of the channel is matched with the standard resource usage parameter corresponding to the SLA set by each I/O channel; wherein, the QoS knowledge base pre-stores standard resource usage parameters corresponding to each SLA; Corresponding standard resource usage parameters, comparing the SLA information of each I/O channel, the resource information, and determining an I/O channel that does not match the current resource usage parameter and the standard resource usage parameter;
向所述文件系统发送指令, 以使所述文件系统根据 SLA对应的 标准资源使用参数, 调整所述不匹配的 I/O通道的资源使用。  And sending an instruction to the file system, so that the file system adjusts resource usage of the unmatched I/O channel according to a standard resource usage parameter corresponding to the SLA.
结合第一方面, 在第一种可能的实现方式中, 在所述接收文件 系统发送的表示每条 I/O 通道当前资源使用情况的资源信息, 和表 示每条 I/O通道设定的服务等级协议 SLA的 SLA信息之前,还包括: 向文件系统发送情况请求消息, 所述情况请求消息用于指示所 述文件系统反馈每条 I/O通道的所述资源信息与所述 SLA信息。  With reference to the first aspect, in a first possible implementation, the resource information that is sent by the receiving file system and indicates the current resource usage of each I/O channel, and the service that is set for each I/O channel are set. Before the SLA information of the SLA, the method further includes: sending a situation request message to the file system, where the request message is used to instruct the file system to feed back the resource information and the SLA information of each I/O channel.
结合第一方面的第一种可能的实现方式, 在第二种可能的实现 方式中, 所述接收文件系统发送的表示每条 I/O 通道当前资源使用 情况的资源信息, 和表示每条 I/O通道设定的服务等级协议 SLA的 SLA信息包括:  With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the receiving file system sends resource information indicating current resource usage of each I/O channel, and represents each I The SLA information of the service level agreement SLA set by the /O channel includes:
在文件系统接收所述情况请求消息, 根据所述情况请求消息的 指示通过底层硬件统计每条 I/O 通道上当前的资源使用情况, 获取 每条 I/O通道的所述资源信息与所述 SLA信息并反馈发送后, 接收 所述资源信息与所述 SLA信息。  Receiving, by the file system, the situation request message, according to the indication of the situation request message, the current resource usage on each I/O channel is collected by the underlying hardware, and the resource information of each I/O channel is obtained. After the SLA information is sent and fed back, the resource information and the SLA information are received.
结合第一方面, 在第三种可能的实现方式中, 所述查询 QoS知 识库, 根据每条 I/O通道的所述 SLA信息, 匹配得到各条 I/O通道 所设定的 SLA对应的标准资源使用参数包括:  With reference to the first aspect, in a third possible implementation, the querying the QoS knowledge base, according to the SLA information of each I/O channel, matching the SLA corresponding to each I/O channel Standard resource usage parameters include:
根据每条 I/O通道的所述 SLA信息, 构造每条 I/O通道对应的 查询请求消息, 所述查询请求消息包括对应 I/O通道的所述 SLA信 息; 依次根据每条所述查询请求消息, 遍历所述 QoS知识库, 获取 各所述查询请求消息分别对应的查询回复消息, 所述查询回复消息 包括相应 I/O通道的所述 SLA信息在所述 QoS知识库中对应的所述 标准资源使用参数。 Constructing, according to the SLA information of each I/O channel, a query request message corresponding to each I/O channel, where the query request message includes the SLA information corresponding to the I/O channel; And sequentially querying, according to each of the query request messages, the QoS knowledge base, a query reply message corresponding to each of the query request messages, where the query reply message includes the SLA information of the corresponding I/O channel in the The corresponding standard resource usage parameter in the QoS knowledge base.
结合第一方面,在第四种可能的实现方式中,所述根据各个 SLA 对应的标准资源使用参数, 比对每条 I/O通道的所述 SLA信息、 所 述资源信息, 确定出当前资源使用情况与标准资源使用参数不匹配 的 I/O通道包括:  With reference to the first aspect, in a fourth possible implementation, the determining, according to the standard resource usage parameter corresponding to each SLA, the SLA information and the resource information of each I/O channel, determining a current resource. I/O channels whose usage does not match the standard resource usage parameters include:
获取每条 I/O通道对应资源信息所包含的参数项;  Obtaining the parameter items included in the corresponding resource information of each I/O channel;
分别将每条 I/O通道对应的参数项与本 I/O通道对应的标准资 源使用参数进行比较;  Comparing the parameter items corresponding to each I/O channel with the standard resource usage parameters corresponding to the I/O channel;
将所述参数项的值大于所述标准资源使用参数对应提供的值的 I/O通道确定为不匹配的 I/O通道。  An I/O channel whose value of the parameter item is greater than a value corresponding to the standard resource usage parameter is determined as an unmatched I/O channel.
第二方面, 提供一种 I/O通道 QoS动态均衡装置, 包括: 接收单元, 用于接收文件系统发送的表示每条 I/O 通道当前资 源使用情况的资源信息, 和表示每条 I/O 通道设定的服务等级协议 SLA的 SLA信息;  The second aspect provides an I/O channel QoS dynamic equalization apparatus, including: a receiving unit, configured to receive resource information sent by a file system and indicate current resource usage of each I/O channel, and represent each I/O SLA information of the service level agreement SLA set by the channel;
查询单元,用于查询 QoS知识库,根据每条 I/O通道的所述 SLA 信息, 匹配得到各条 I/O通道所设定的 SLA对应的标准资源使用参 数; 其中, 所述 QoS知识库中预先存储有各个 SLA对应的标准资源 使用参数;  a query unit, configured to query a QoS knowledge base, and match, according to the SLA information of each I/O channel, a standard resource usage parameter corresponding to an SLA set by each I/O channel; wherein, the QoS knowledge base Pre-stored standard resource usage parameters corresponding to each SLA;
获取单元, 用于根据各个 SLA对应的标准资源使用参数, 比对 每条 I/O通道的所述 SLA信息、 所述资源信息, 确定出当前资源使 用情况与标准资源使用参数不匹配的 I/O通道;  And an obtaining unit, configured to compare, according to the standard resource usage parameter corresponding to each SLA, the SLA information and the resource information of each I/O channel, and determine that the current resource usage does not match the standard resource usage parameter. O channel;
指示单元, 用于向所述文件系统发送指令, 以使所述文件系统 根据 SLA对应的标准资源使用参数, 调整所述不匹配的 I/O通道的 资源使用。  And an indication unit, configured to send an instruction to the file system, so that the file system adjusts resource usage of the unmatched I/O channel according to a standard resource usage parameter corresponding to the SLA.
结合第二方面, 在第一种可能的实现方式中, 还包括: 请求单元, 用于在所述接收单元接收文件系统发送的表示每条 I/O通道当前资源使用情况的资源信息, 和表示每条 I/O通道设定的 服务等级协议 SLA的 SLA信息之前,向文件系统发送情况请求消息 , 所述情况请求消息用于指示所述文件系统反馈每条 I/O 通道的所述 资源信息与所述 SLA信息。 With reference to the second aspect, in a first possible implementation, the method further includes: a requesting unit, configured to receive, by the receiving unit, a representation sent by a file system a resource request information of the current resource usage of the I/O channel, and a SLA information indicating a service level agreement SLA set by each I/O channel, and sending a situation request message to the file system, where the situation request message is used to indicate the The file system feeds back the resource information and the SLA information for each I/O channel.
结合第二方面的第一种可能的实现方式, 在第二种可能的实现 方式中, 所述接收单元具体用于:  With reference to the first possible implementation of the second aspect, in a second possible implementation manner, the receiving unit is specifically configured to:
在文件系统接收所述情况请求消息, 根据所述情况请求消息的 指示通过底层硬件统计每条 I/O 通道上当前的资源使用情况, 获取 每条 I/O通道的所述资源信息与所述 SLA信息并反馈发送后, 接收 所述资源信息与所述 SLA信息。  Receiving, by the file system, the situation request message, according to the indication of the situation request message, the current resource usage on each I/O channel is collected by the underlying hardware, and the resource information of each I/O channel is obtained. After the SLA information is sent and fed back, the resource information and the SLA information are received.
结合第二方面, 在第三种可能的实现方式中, 所述查询单元具 体用于:  In conjunction with the second aspect, in a third possible implementation, the query unit is specifically configured to:
根据每条 I/O通道的所述 SLA信息, 构造每条 I/O通道对应的 查询请求消息, 所述查询请求消息包括对应 I/O通道的所述 SLA信 息;  Configuring, according to the SLA information of each I/O channel, a query request message corresponding to each I/O channel, where the query request message includes the SLA information corresponding to the I/O channel;
依次根据每条所述查询请求消息, 遍历所述 QoS知识库, 获取 各所述查询请求消息分别对应的查询回复消息, 所述查询回复消息 包括相应 I/O通道的所述 SLA信息在所述 QoS知识库中对应的所述 标准资源使用参数。  And sequentially querying, according to each of the query request messages, the QoS knowledge base, a query reply message corresponding to each of the query request messages, where the query reply message includes the SLA information of the corresponding I/O channel in the The corresponding standard resource usage parameter in the QoS knowledge base.
结合第二方面, 在第四种可能的实现方式中, 所述获取单元具 体用于:  With reference to the second aspect, in a fourth possible implementation, the acquiring unit is specifically configured to:
获取每条 I/O通道对应资源信息所包含的参数项;  Obtaining the parameter items included in the corresponding resource information of each I/O channel;
分别将每条 I/O通道对应的参数项与本 I/O通道对应的标准资 源使用参数进行比较;  Comparing the parameter items corresponding to each I/O channel with the standard resource usage parameters corresponding to the I/O channel;
将所述参数项的值大于所述标准资源使用参数对应提供的值的 I/O通道确定为不匹配的 I/O通道。  An I/O channel whose value of the parameter item is greater than a value corresponding to the standard resource usage parameter is determined as an unmatched I/O channel.
第三方面, 提供一种 I/O通道 Qo S动态均衡装置, 包括: 总线、 以及连接到所述总线的处理器、 存储器和接口; 所述存储器用于存 储指令; 所述处理器执行所述指令用于: 接收文件系统发送的表示每条 I/O 通道当前资源使用情况的资 源信息,和表示每条 I/O通道设定的服务等级协议 SLA的 SLA信息; 查询 QoS知识库, 根据每条 I/O通道的所述 SLA信息, 匹配得 到各条 I/O通道所设定的 SLA对应的标准资源使用参数; 其中, 所 述 QoS知识库中预先存储有各个 SLA对应的标准资源使用参数; 根据各个 SLA对应的标准资源使用参数, 比对每条 I/O通道的 所述 SLA信息、 所述资源信息, 确定出当前资源使用情况与标准资 源使用参数不匹配的 I/O通道; In a third aspect, an I/O channel Qo S dynamic equalization apparatus is provided, including: a bus, and a processor, a memory, and an interface connected to the bus; the memory is configured to store an instruction; Instructions are used to: Receiving resource information sent by the file system indicating the current resource usage of each I/O channel, and SLA information indicating the service level agreement SLA set by each I/O channel; querying the QoS knowledge base, according to each I/O The SLA information of the channel is matched with the standard resource usage parameter corresponding to the SLA set by each I/O channel; wherein, the QoS knowledge base pre-stores standard resource usage parameters corresponding to each SLA; Corresponding standard resource usage parameters, comparing the SLA information of each I/O channel, the resource information, and determining an I/O channel that does not match the current resource usage parameter and the standard resource usage parameter;
向所述文件系统发送指令, 以使所述文件系统根据 SLA对应的 标准资源使用参数, 调整所述不匹配的 I/O通道的资源使用。  And sending an instruction to the file system, so that the file system adjusts resource usage of the unmatched I/O channel according to a standard resource usage parameter corresponding to the SLA.
结合第三方面, 在第一种可能的实现方式中, 在所述接收文件 系统发送的表示每条 I/O 通道当前资源使用情况的资源信息, 和表 示每条 I/O通道设定的服务等级协议 SLA的 SLA信息之前, 所述处 理器执行所述指令具体用于:  With reference to the third aspect, in a first possible implementation, the resource information that is sent by the receiving file system and indicates the current resource usage of each I/O channel, and the service that is set for each I/O channel are set. Before the SLA information of the level agreement SLA, the processor executes the instruction specifically for:
向文件系统发送情况请求消息, 所述情况请求消息用于指示所 述文件系统反馈每条 I/O通道的所述资源信息与所述 SLA信息。  Sending a situation request message to the file system, the situation request message is used to instruct the file system to feed back the resource information and the SLA information of each I/O channel.
结合第三方面的第一种可能的实现方式, 在第二种可能的实现 方式中, 所述处理器执行所述指令具体用于:  In conjunction with the first possible implementation of the third aspect, in a second possible implementation manner, the executing the instruction by the processor is specifically used to:
在文件系统接收所述情况请求消息, 根据所述情况请求消息的 指示通过底层硬件统计每条 I/O 通道上当前的资源使用情况, 获取 每条 I/O通道的所述资源信息与所述 SLA信息并反馈发送后, 接收 所述资源信息与所述 SLA信息。  Receiving, by the file system, the situation request message, according to the indication of the situation request message, the current resource usage on each I/O channel is collected by the underlying hardware, and the resource information of each I/O channel is obtained. After the SLA information is sent and fed back, the resource information and the SLA information are received.
结合第三方面, 在第三种可能的实现方式中, 所述处理器执行 所述指令具体用于:  With reference to the third aspect, in a third possible implementation, the executing the
根据每条 I/O通道的所述 SLA信息, 构造每条 I/O通道对应的 查询请求消息, 所述查询请求消息包括对应 I/O通道的所述 SLA信 息;  Configuring, according to the SLA information of each I/O channel, a query request message corresponding to each I/O channel, where the query request message includes the SLA information corresponding to the I/O channel;
依次根据每条所述查询请求消息, 遍历所述 QoS知识库, 获取 各所述查询请求消息分别对应的查询回复消息, 所述查询回复消息 包括相应 I/O通道的所述 SLA信息在所述 QoS知识库中对应的所述 标准资源使用参数。 And traversing the QoS knowledge base according to each of the query request messages, and obtaining a query reply message corresponding to each of the query request messages, the query reply message The SLA information including the corresponding I/O channel corresponds to the standard resource usage parameter in the QoS knowledge base.
结合第三方面, 在第四种可能的实现方式中, 所述处理器执行 所述指令具体用于:  With reference to the third aspect, in a fourth possible implementation, the executing, by the processor, the
获取每条 I/O通道对应资源信息所包含的参数项;  Obtaining the parameter items included in the corresponding resource information of each I/O channel;
分别将每条 I/O通道对应的参数项与本 I/O通道对应的标准资 源使用参数进行比较;  Comparing the parameter items corresponding to each I/O channel with the standard resource usage parameters corresponding to the I/O channel;
将所述参数项的值大于所述标准资源使用参数对应提供的值的 I/O通道确定为不匹配的 I/O通道。  An I/O channel whose value of the parameter item is greater than a value corresponding to the standard resource usage parameter is determined as an unmatched I/O channel.
可见, 本发明的实施例提供一种 I/O通道 QoS动态均衡方法及 装置, 通过在获取每条 I/O通道的资源信息与 SLA信息, 查询 QoS 知识库获取各条 I/O通道所设定 SLA对应的标准资源使用参数之后 , 进行比对确定出 当前资源使用情况与标准资源使用参数不匹配的 I/O通道, 进一步指示文件系统对上述不匹配的 I/O通道进行资源调 整。 这样一来, 能够对 I/O通道的资源按照不同的 SLA需求进行调 整, 解决了现有技术中 I/O 在进行数据传输过程中, 由于业务状态 变化等原因导致通道资源利用率降低, 业务的 Qo S需求无法保证的 问题。 因此, 本发明的实施例相对于现有技术, 保证了用户业务的 各方面配置需求及 I/O通道间的 QoS均衡, 提高了 I/O通道性能。 附图说明  It can be seen that the embodiment of the present invention provides an I/O channel QoS dynamic equalization method and device. By acquiring resource information and SLA information of each I/O channel, querying the QoS knowledge base to obtain each I/O channel is set. After determining the standard resource usage parameter corresponding to the SLA, the comparison determines the current resource usage and the standard resource usage parameter does not match the I/O channel, and further instructs the file system to perform resource adjustment on the unmatched I/O channel. In this way, the resources of the I/O channel can be adjusted according to different SLA requirements, which solves the problem that the utilization of the channel resources is reduced due to changes in service status during the data transmission process of the I/O in the prior art. The Qo S requirements cannot be guaranteed. Therefore, the embodiment of the present invention ensures the configuration requirements of various aspects of the user service and the QoS balance between the I/O channels, and improves the performance of the I/O channel, compared with the prior art. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下 面将对实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于 本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以 根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图 1为一种基于 SLA的多 I/O通道计算机系统的结构示意图; 图 2为本发明实施例提供的一种 I/O通道 QoS动态均衡方法的 流程示意图一;  1 is a schematic structural diagram of a SLA-based multi-I/O channel computer system; FIG. 2 is a schematic flowchart 1 of an I/O channel QoS dynamic equalization method according to an embodiment of the present invention;
图 3为本发明实施例提供的一种 I/O通道 QoS动态均衡方法的 流程示意图二; FIG. 3 is a schematic diagram of an QoS dynamic balancing method for an I/O channel according to an embodiment of the present invention; Process diagram 2;
图 4为本发明实施例提供的一种 I/O通道 QoS动态均衡方法的 流程示意图三;  4 is a schematic flowchart 3 of an I/O channel QoS dynamic equalization method according to an embodiment of the present invention;
图 5为本发明实施例提供的一种 I/O通道 QoS动态均衡方法的 流程示意图四;  FIG. 5 is a schematic flowchart 4 of an I/O channel QoS dynamic equalization method according to an embodiment of the present disclosure;
图 6为本发明实施例提供的一种 I/O通道 QoS动态均衡装置的 结构示意图一;  6 is a schematic structural diagram 1 of an I/O channel QoS dynamic equalization apparatus according to an embodiment of the present invention;
图 7为本发明实施例提供的一种 I/O通道 QoS动态均衡装置的 结构示意图二;  FIG. 7 is a schematic structural diagram 2 of an I/O channel QoS dynamic equalization apparatus according to an embodiment of the present disclosure;
图 8为本发明实施例提供的一种 I/O通道 QoS动态均衡装置的 结构示意图三。  FIG. 8 is a schematic structural diagram 3 of an I/O channel QoS dynamic equalization apparatus according to an embodiment of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术 方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明 一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本 领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他 实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供的方法可以应用于一种基于 SLA ( Service Level Agreement , 服务等级协议) 的多 I/O ( Input/Output , 输入 /输 出 ) 通道的计算机系统, 该系统的结构如图 1 所示, 计算机系统中 的内核处理器在根据用户端发起的各用户业务进程对数据进行读 / 写 ( Read/Write ) 操作时, 主要通过内核处理器与存储器之间的各 I/O通道, 实现数据的读取或写入。 一方面, 为各用户业务设定了相 应的用户 SLA需求 (即业务所需的资源使用情况), 该用户 SLA需 求用于为该业务所使用的 I/O 通道设定业务所需的资源控制方案, 如部分对资源使用 进行设定的参数, 包括: SLA 需求等级 ( SLA— level )、 通道处理能力 ( SLA_iops ) 、 通道 量 ( SLA_bps ) 、 月良 务状态( SLA— server )等; 另一方面, 为各 I/O通道设定了相应的 SLA 信息, 如 SLA名称 ( SLA Name ) , 在进行数据传输时 I/O通道以不 同的 SLA名称为索引, 与不同的用户 SLA 需求相对应, 即不同的 I/O通道负责处理设定了相应用户 SLA需求的用户业务, 进而可以 由内核处理器中的文件系统, 根据各用户业务设定的用户 SLA需求 实现 I/O 通道上资源的分配及调节, 以便各用户业务在发起时能够 按照预设的对应用户 SLA需求的指示, 在相应 I/O通道使用相应的 资源配置, 从而使得多 I/O 通道的资源利用率能够满足预设要求, QoS ( Quality of Service , 服务质量) 借此得到保障。 其中, 不同用 户业务与用户 SLA需求的对应关系、各 I/O通道与 SLA信息的对应 关系, 可以由计算机系统提供的 SLA I/O QoS监控模块 ( Monitor ) 进行控制, 各用户 SLA需求对应资源控制方案中的各标准资源使用 参数可以由系统构建 QoS知识库进行存储。 The method provided by the embodiment of the present invention can be applied to a computer system based on an SLA (Service Level Agreement) multiple I/O (Input/Output) channel. The structure of the system is as shown in FIG. 1 . It is shown that the kernel processor in the computer system implements a read/write operation (Read/Write) operation on each user business process initiated by the user terminal, mainly through each I/O channel between the kernel processor and the memory. Read or write data. On the one hand, a corresponding user SLA requirement (ie, resource usage required by the service) is set for each user service, and the user SLA requirement is used to set resource control required for the service for the I/O channel used by the service. The solution, such as some parameters set for resource usage, includes: SLA demand level (SLA_level), channel processing capability (SLA_iops), channel amount (SLA_bps), monthly service status (SLA_server), etc.; On the other hand, the corresponding SLA information, such as the SLA name (SLA Name), is set for each I/O channel, and the I/O channel is not used for data transmission. The same SLA name is index, which corresponds to different user SLA requirements, that is, different I/O channels are responsible for processing the user service that sets the corresponding user SLA requirements, and thus can be processed by the file system in the kernel processor, according to each user. The user SLA requirement set by the service implements the allocation and adjustment of the resources on the I/O channel, so that each user service can use the corresponding resource configuration in the corresponding I/O channel according to the preset indication of the corresponding user SLA requirement. Therefore, the resource utilization of the multiple I/O channels can meet the preset requirements, and QoS (Quality of Service) is thereby guaranteed. The correspondence between different user services and user SLA requirements, and the correspondence between each I/O channel and SLA information can be controlled by a SLA I/O QoS monitoring module (Monitor) provided by the computer system, and each user SLA needs corresponding resources. The standard resource usage parameters in the control scheme can be stored by the system to build a QoS knowledge base.
本发明的实施例提供一种 I/O通道 QoS动态均衡方法, 如图 2 所示, 该方法包括:  An embodiment of the present invention provides an I/O channel QoS dynamic equalization method. As shown in FIG. 2, the method includes:
5101、 接收文件系统发送的表示每条 I/O通道当前资源使用情 况的资源信息,和表示每条 I/O通道设定的服务等级协议 SLA的 SLA 信息。  5101. Receive resource information sent by the file system indicating current resource usage of each I/O channel, and SLA information indicating a service level agreement SLA set by each I/O channel.
其中, 每条 I/O通道的资源信息用于表示该 I/O通道当前的资 源使用情况, 具体可以包括: SLA 需求等级、 通道处理能力信息、 通道流量信息、 服务状态信息等; 每条 I/O通道的 SLA信息用于表 示为该 I/O通道设定的 SLA , 具体可以为: SLA名称。  The resource information of each I/O channel is used to indicate the current resource usage of the I/O channel, and may include: an SLA requirement level, channel processing capability information, channel traffic information, service status information, and the like; The SLA information of the /O channel is used to indicate the SLA set for the I/O channel, which may be: SLA name.
在一种实现方式下,在接收上述每条 I/O通道的资源信息与 SLA 信息之前, 还可以向文件系统发送情况请求消息, 该情况请求消息 用于指示文件系统反馈每条 I/O通道的资源信息与 SLA信息。  In an implementation manner, before receiving the resource information and the SLA information of each of the I/O channels, the situation request message may be sent to the file system, where the request message is used to instruct the file system to feed back each I/O channel. Resource information and SLA information.
可选的, 进一步可以在文件系统接收情况请求消息, 根据情况 请求消息的指示通过底层硬件统计每条 I/O 通道上当前的资源使用 情况, 获取每条 I/O通道的资源信息与 SLA信息并反馈发送后, 接 收资源信息与 SLA信息。  Optionally, the request information message may be received in the file system, and the current resource usage on each I/O channel is collected by the underlying hardware according to the indication of the situation request message, and the resource information and the SLA information of each I/O channel are obtained. After the feedback is sent, the resource information and the SLA information are received.
5102、 查询 QoS知识库, 根据每条 I/O通道的 SLA信息, 匹配 得到各条 I/O通道所设定的 SLA对应的标准资源使用参数。 其中, QoS知识库中预先存储有各个 SLA对应的标准资源使用 参数, 该标准资源使用参数可以包括: 标准 SLA需求等级、 标准通 道处理能力信息、 标准通道流量信息等。 5102. Query the QoS knowledge base, and according to the SLA information of each I/O channel, match the standard resource usage parameters corresponding to the SLA set by each I/O channel. The standard resource usage parameter corresponding to each SLA is pre-stored in the QoS knowledge base, and the standard resource usage parameter may include: a standard SLA requirement level, standard channel processing capability information, and standard channel traffic information.
在一种实现方式下, 可以根据每条 I/O通道的 SLA信息, 构造 每条 I/O 通道对应的查询请求消息, 其中, 该查询请求消息包括对 应 I/O通道的 SLA信息;  In an implementation manner, the query request message corresponding to each I/O channel may be constructed according to the SLA information of each I/O channel, where the query request message includes SLA information corresponding to the I/O channel;
依次根据每条查询请求消息, 遍历 QoS知识库, 获取各查询请 求消息分别对应的查询回复消息, 其中, 该查询回复消息包括相应 I/O通道的 SLA信息在 QoS知识库中对应的标准资源使用参数。  According to each query request message, the QoS knowledge base is traversed to obtain a query reply message corresponding to each query request message, where the query reply message includes the SLA information of the corresponding I/O channel and the corresponding standard resource used in the QoS knowledge base. parameter.
5103、 根据各个 SLA对应的标准资源使用参数, 比对每条 I/O 通道的 SLA信息、 资源信息, 确定出当前资源使用情况与标准资源 使用参数不匹配的 I/O通道。  5103. Determine, according to the standard resource usage parameter corresponding to each SLA, the SLA information and resource information of each I/O channel, and determine an I/O channel whose current resource usage does not match the standard resource usage parameter.
在一种实现方式下, 可以获取每条 I/O 通道对应资源信息所包 含的参数项;  In an implementation manner, the parameter items included in the corresponding resource information of each I/O channel may be obtained;
分别将每条 I/O通道对应的参数项与本 I/O通道对应的标准资 源使用参数进行比较;  Comparing the parameter items corresponding to each I/O channel with the standard resource usage parameters corresponding to the I/O channel;
将参数项的值大于标准资源使用参数对应提供的值的 I/O 通道 确定为不匹配的 I/O通道。  The I/O channel whose value of the parameter item is greater than the value provided by the standard resource usage parameter is determined as the I/O channel that does not match.
5104、 向文件系统发送指令, 以使文件系统根据 SLA对应的标 准资源使用参数, 调整不匹配的 I/O通道的资源使用。  5104. Send an instruction to the file system, so that the file system adjusts resource usage of the unmatched I/O channel according to the standard resource usage parameter corresponding to the SLA.
本发明的实施例提供一种 I/O通道 QoS动态均衡方法, 通过在 获取每条 I/O通道的资源信息与 SLA信息, 查询 QoS知识库获取各 条 I/O通道所设定 SLA对应的标准资源使用参数之后, 进行比对确 定出当前资源使用情况与标准资源使用参数不匹配的 I/O 通道, 进 一步指示文件系统对上述不匹配的 I/O 通道进行资源调整。 这样一 来, 解决了 I/O 在进行数据传输过程中, 由于业务状态变化导致通 道资源利用率降低, 业务的 QoS需求无法保证的问题, 保证了用户 业务的各方面配置需求及 I/O通道间的 QoS 均衡, 提高了 I/O通道 性能。 为了使本领域技术人员能够更清楚地理解本发明实施例提供的 技术方案, 下面通过具体的实施例, 对本发明实施例提供的一种 I/O 通道 QoS动态均衡方法进行详细说明, 值得一提的, 以下提供的实 施例仅做示例, 本发明的实现方式不限于此。 如图 3 所示, 该方法 包括: An embodiment of the present invention provides an I/O channel QoS dynamic equalization method. By obtaining resource information and SLA information of each I/O channel, the QoS knowledge base is queried to obtain an SLA corresponding to each I/O channel. After the standard resource uses the parameter, the comparison determines the I/O channel that the current resource usage does not match the standard resource usage parameter, and further instructs the file system to perform resource adjustment on the above-mentioned mismatched I/O channel. In this way, the problem that the channel resource utilization is reduced and the QoS requirements of the service cannot be guaranteed due to the change of the service state during the data transmission process of the I/O is solved, and the configuration requirements and the I/O channel of the user service are ensured. QoS balancing improves I/O channel performance. In order to enable a person skilled in the art to more clearly understand the technical solutions provided by the embodiments of the present invention, an I/O channel QoS dynamic equalization method provided by an embodiment of the present invention is described in detail below through specific embodiments, and it is worth mentioning. The embodiments provided below are merely examples, and implementations of the present invention are not limited thereto. As shown in Figure 3, the method includes:
S201、 QoS动态均衡装置向文件系统发送情况请求消息。  S201. The QoS dynamic equalization apparatus sends a situation request message to the file system.
具体的, Qo S 动态均衡装置向文件系统发送每条 I/O通道各自 对应的情况请求消息, 用于请求获取各 I/O通道的当前状态。  Specifically, the Qo S dynamic equalization device sends a corresponding situation request message corresponding to each I/O channel to the file system, and is used to request to acquire the current state of each I/O channel.
其中, 该 QoS动态均衡装置可以为 SLA I/O QoS监控模块, 且 该 QoS监控模块可以为计算机系统中执行相应功能的一部分, 也可 以为一个独立的设备, 此处不做限定; 文件系统可以为负责管理和 存储文件信息的软件机构模块, 可以为计算机系统中内核处理器的 一部分, 且由内核处理器进行控制, 能够与用户进行交互, 对各 I/O 通道的资源使用情况进行控制。  The QoS dynamic balancing device may be an SLA I/O QoS monitoring module, and the QoS monitoring module may be part of a corresponding function in the computer system, or may be an independent device, which is not limited herein; The software mechanism module responsible for managing and storing file information can be part of the kernel processor in the computer system and controlled by the kernel processor to interact with the user to control resource usage of each I/O channel.
每条 I/O通道对应的情况请求消息都可以包括所请求的 I/O通 道对应的 SLA信息, 该 SLA信息用于根据 I/O通道的 SLA设定关 系索引 I/O通道, 具体可以为 SLA名称。 上述各情况请求消息用于 指示文件系统反馈信息中 SLA名称指示 I/O通道的所需信息。  The status request message corresponding to each I/O channel may include SLA information corresponding to the requested I/O channel, and the SLA information is used to index the I/O channel according to the SLA setting relationship of the I/O channel, which may be SLA name. The above situation request message is used to indicate that the SLA name in the file system feedback information indicates the required information of the I/O channel.
其中, I/O通道与 SLA信息的对应关系, 可以为预先设定的, 存储在上述 Qo S动态均衡装置中, 具体的对应关系可以根据用户选 择或应用场景要求进行调整, 此处不做限定。  The corresponding relationship between the I/O channel and the SLA information may be preset and stored in the Qo S dynamic equalization device. The specific correspondence may be adjusted according to user selection or application scenario requirements. .
可选的, 该情况请求消息还可以包括: 消息类型、 内存地址位 数、 消息标识符、 数据存储地址等, 消息的格式可以如下所示: Optionally, the request message may further include: a message type, a memory address bit number, a message identifier, a data storage address, etc., and the format of the message may be as follows:
I/O Channel Usage Information Message I/O Channel Usage Information Message
Header  Header
Message Ty e: I/O Channel Usage Information  Message Ty e: I/O Channel Usage Information
Length: 32  Length: 32
Transaction ID: 0  Transaction ID: 0
Channel Name: SLA Name I/O channel Usage Request Channel Name: SLA Name I/O channel Usage Request
Message Ty e: I/O Channel Usage Request Information Channel Name: SLA Name  Message Ty e: I/O Channel Usage Request Information Channel Name: SLA Name
Body: *usage [4]  Body: *usage [4]
其中, " Header" 部分( 即信息头部) 中: " Message Type: I/O Channel Usage Information" 指示该信息用于交互指定 I/O通道的通 道使用情况; " Length" 指示内存地址位数为 " 32 " ; " Transaction ID" 指示消息标识符为 " 0 "; " Channel Name " 指示选定的 I/O通道对应 的 SLA名称。  Where the "Header" part (ie, the information header): "Message Type: I/O Channel Usage Information" indicates that this information is used to interact with the channel usage of the specified I/O channel; "Length" indicates that the number of memory addresses is "32"; "Transaction ID" indicates that the message identifier is "0"; "Channel Name" indicates the SLA name corresponding to the selected I/O channel.
" I/O channel Usage Request" 部分中: " Message Type : I/O Channel Usage Request Information" 用于进一步指示该信息为情况 请求消息; " Channel Name" 指示选定的 I/O通道对应的 SLA名称, 可以与 " Header" 部分中相同; " Body" 指示数据存储地址。  In the "I/O channel Usage Request" section: "Message Type : I/O Channel Usage Request Information" is used to further indicate that the message is a situation request message; "Channel Name" indicates the SLA name corresponding to the selected I/O channel. , can be the same as in the "Header" section; "Body" indicates the data storage address.
上述消息格式所示的包含项仅为示例性的, 且所示各项对应的 数值或字符 (如 " 32 "、 " SLA Name" , " *usage [4],, 等), 仅作示例用 途, 在具体应用时根据应用场景的不同而相应变化, 包括但不限于 此, 且此处不做限定。  The inclusions shown in the above message format are exemplary only, and the corresponding values or characters (such as "32", "SLA Name", "*usage [4],, etc.) are shown for illustrative purposes only. The specific application varies according to the application scenario, including but not limited to, and is not limited herein.
值得一提的, Qo S 动态均衡装置可以在接收到外部指示后向文 件系统发送各情况请求消息, 也可以在每间隔预设时间后, 周期性 的向文件系统发送各情况请求消息, 并执行后续的操作流程, 具体 应用时可采用的触发方式包括但不限于此, 且此处不做限定。  It is worth mentioning that the Qo S dynamic equalization device can send each situation request message to the file system after receiving the external indication, or periodically send each situation request message to the file system after each preset time interval, and execute For the subsequent operation process, the triggering manners that can be used in the specific application include but are not limited thereto, and are not limited herein.
S202 , QoS动态均衡装置接收文件系统发送的情况消息。  S202. The QoS dynamic equalization device receives a situation message sent by the file system.
具体的, 在文件系统接收到 QoS动态均衡装置发送的各情况请 求消息, 构造获取相应的情况消息, 并向 QoS动态均衡装置反馈发 送各情况消息之后, Qo S 动态均衡装置接收文件系统发送的各 I/O 通道对应的情况消息。  Specifically, after the file system receives the situation request message sent by the QoS dynamic equalization device, constructs a corresponding situation message, and feeds back the situation message to the QoS dynamic equalization device, the Qo S dynamic equalization device receives each file file sent by the Qo S dynamic equalization device. Status message corresponding to the I/O channel.
其中, 每一个情况消息都可以包括: 表示该消息对应 I/O 通道 当前资源使用情况的资源信息, 和表示该消息对应 I/O 通道设定的 SLA的 SLA信息, 且该 SLA信息可以为 SLA名称。 示例性的, 表示 I/O 通道当前资源使用情况的资源信息可以包 括的参数有: IOPS ( Input/Output Operations Per Second, 每秒输入输出 次数) 信息, 用于表明通道处理能力; Bps ( Bits per Second ) 信息, 用于 表明通道的数据传输速率; 优先级信息等, 且上述列举的部分参数仅为示 例性的, 还可以包括其他用于表示通道性能的参数或指标, 此处不做限定。 Each of the situation messages may include: resource information indicating that the message corresponds to the current resource usage of the I/O channel, and SLA information indicating the SLA corresponding to the I/O channel setting of the message, and the SLA information may be an SLA name. Exemplarily, the resource information indicating the current resource usage of the I/O channel may include: IOPS (Input/Output Operations Per Second) information, indicating channel processing capability; Bps ( Bits per The information is used to indicate the data transmission rate of the channel, the priority information, and the like, and some of the parameters listed above are merely exemplary, and may also include other parameters or indicators for indicating channel performance, which are not limited herein.
可选的, 上述情况消息还可以包括: 消息类型、 内存地址位数、 消息标识符、 参数数据等, 消息的格式可以如下所示:  Optionally, the foregoing situation information may further include: a message type, a number of memory address bits, a message identifier, parameter data, and the like, and the format of the message may be as follows:
I/O Channel Usage Information Message  I/O Channel Usage Information Message
Header  Header
Message Type: I/O Channel Usage Information  Message Type: I/O Channel Usage Information
Length: 32  Length: 32
Transaction ID: 0  Transaction ID: 0
Channel Name: SLA Name  Channel Name: SLA Name
I/O channel Usage Reply  I/O channel Usage Reply
Message Type: I/O Channel Usage Reply Information  Message Type: I/O Channel Usage Reply Information
Channel Name: SLA Name  Channel Name: SLA Name
Body:  Body:
SLA— level: priority  SLA_ level: priority
SLA— iops: Avg_min_iops I Avg— max— iops  SLA—iops: Avg_min_iops I Avg—max—iops
SLA— bps: Avg_min_bps I Avg— max— bps  SLA— bps: Avg_min_bps I Avg—max— bps
SLA— server: iops— usage— rate I bps— usage— rate I Time— period 其中, " Header"部分与上述情况请求消息相同, 此处不再赘述; " I/O channel Usage Reply" 邵分中: " Message Type: I/O Channel Usage Reply Information " 用于进一步指示该信息为情况消息; " Channel Name " 指示选定的 I/O通道对应的 SLA名称, 可以与 " Header" 部 分中相同, 与情况请求消息相对应; " B ody" 指示包含的参数数据, 具体包括: I/O 通道对应的 SLA 需求等级 SLA— level、 IOPS 信息 SLA_iops、 速率信息 SLA_bps、 利用率信息 SLA_server。  SLA— server: iops— usage— rate I bps— usage— rate I Time— period where the “Header” part is the same as the above request message, and will not be described here; “I/O channel Usage Reply” "Message Type: I/O Channel Usage Reply Information" is used to further indicate that the information is a situation message; "Channel Name" indicates the SLA name corresponding to the selected I/O channel, which can be the same as in the "Header" section, and the situation The request message corresponds to; the "B ody" indicates the parameter data included, including: SLA requirement level SLA_level corresponding to the I/O channel, IOPS information SLA_iops, rate information SLA_bps, and utilization information SLA_server.
上述消息格式所示的包含项仅为示例性的, 且所示各项对应的 数值或字符, 仅作示例用途, 包括但不限于此。 The inclusions shown in the above message format are merely exemplary, and the corresponding items are shown. Values or characters, for illustrative purposes only, including but not limited to.
可选的, 文件系统在接收到 Qo S 动态均衡装置发送的各情况请 求消息之后, 获取相应的各情况消息的过程, 如图 4 所示, 可以包 括:  Optionally, after receiving the request information sent by the Qo S dynamic equalization device, the file system obtains a corresponding situation message, as shown in FIG. 4, which may include:
S2021 , 文件系统向底层硬件发送每条 I/O 通道对应的统计消 息。  S2021: The file system sends a statistics message corresponding to each I/O channel to the underlying hardware.
具体的 文件系统在接收到 QoS动态均衡装置发送的各情况请 求消息之后 根据每一个情况请求消息, 构造生成每条 I/O 通道对 应的统计消息, 并发送至底层硬件, 以便底层硬件根据各统计消息 进行统计及反馈操作。  After receiving the situation request message sent by the QoS dynamic equalization device, the specific file system requests the message according to each situation, constructs a statistical message corresponding to each I/O channel, and sends the statistics message to the underlying hardware, so that the underlying hardware according to each statistic The message is counted and fed back.
其中, 底层硬件可以为计算机系统中执行相应功能的一部分设 备, 也可以为一个独立的存储设备, 此处不做限定; 可以以硬件存 储器 (如 S SD ( Solid State Disk , 固态硬盘)、 磁盘阵列 Disk Array ) 的形式实现, 且与内核处理器之间存在多 I/O通道进行交互。  The underlying hardware may be a part of the computer system that performs the corresponding function, or may be a separate storage device, which is not limited herein; may be a hardware storage (such as S SD (Solid State Disk), disk array) Disk Array ) is implemented in the form of multiple I/O channels with the kernel processor.
示例性的, 上述统计消息可以包括所请求统计的 I/O 通道对应 的 SLA信息, 该 SLA信息用于根据 I/O通道的 SLA设定关系索引 I/O通道, 具体可以为 SLA名称。 该统计消息用于指示底层硬件对 消息中 SLA名称指示 I/O通道资源使用情况的相关信息进行统计并 反馈。  For example, the foregoing statistical message may include SLA information corresponding to the I/O channel of the requested statistic, and the SLA information is used to index the I/O channel according to the SLA setting relationship of the I/O channel, and may be an SLA name. The statistics message is used to instruct the underlying hardware to count and feed back information about the SLA name indicating the I/O channel resource usage in the message.
可选的, 该统计消息还可以包括: 消息类型、 内存地址位数、 消息标识符、 数据存储地址等, 消息的格式可以如下所示:  Optionally, the statistic message may further include: a message type, a number of memory address bits, a message identifier, a data storage address, and the like, and the format of the message may be as follows:
I/O Channel Usage statistics Information Message  I/O Channel Usage statistics Information Message
Header  Header
Message Ty e: I/O Channel Usage Information  Message Ty e: I/O Channel Usage Information
Length: 32  Length: 32
Transaction ID: 1  Transaction ID: 1
Channel Name: SLA Name  Channel Name: SLA Name
I/O channel Usage Statistics Request  I/O channel Usage Statistics Request
Message Ty e: I/O Channel Usage Request Information Channel Name: SLA Name Message Ty e: I/O Channel Usage Request Information Channel Name: SLA Name
Body: *usage [3 ]  Body: *usage [3 ]
其中, " Header" 部分 ( 即信息头部) 中: " Message Type : I/O Channel Usage Information" 指示该信息用于交互指定 I/O通道的通 道使用情况; " Length"指示内存地址位数为 " 32 " ; " Transaction ID" 指示消息标识符为 " 1 "; " Channel Name" 指示选定的 I/O通道对应 的 SLA名称。  Where the "Header" part (ie, the information header): "Message Type: I/O Channel Usage Information" indicates that the information is used to interact with the channel usage of the specified I/O channel; "Length" indicates that the number of memory addresses is "32"; "Transaction ID" indicates that the message identifier is "1"; "Channel Name" indicates the SLA name corresponding to the selected I/O channel.
" I/O channel Usage Statistics Request " 邵分中: " Message Ty e: I/O Channel Usage Request Information" 用于进一步指示该信 息为统计消息; " Channel Name "指示选定的 I/O通道对应的 SLA名 称, 可以与 " Header" 部分中相同; " Body" 指示数据存储地址。  "I/O channel Usage Statistics Request": "Message Ty e: I/O Channel Usage Request Information" is used to further indicate that the information is a statistical message; "Channel Name" indicates the corresponding I/O channel corresponding to The SLA name, which can be the same as in the "Header" section; "Body" indicates the data storage address.
上述消息格式所示的包含项仅为示例性的, 且所示各项对应的 数值或字符, 仅作示例用途, 包括但不限于此。  The inclusions shown in the above message format are merely exemplary, and the numerical values or characters corresponding to the items shown are for illustrative purposes only, including but not limited to.
S2022 ,底层硬件向文件系统反馈发送每条 I/O通道对应的统计 回复消息。  S2022: The underlying hardware feeds back a statistical response message corresponding to each I/O channel to the file system.
具体的, 底层硬件在接收到文件系统发送的各统计消息后, 根 据各统计消息的指示, 在预设统计时间内对指定的各 I/O 通道进行 统计, 获取对应的统计回复消息, 并向文件系统发送各统计回复消 息。  Specifically, after receiving the statistics information sent by the file system, the underlying hardware performs statistics on the specified I/O channels in a preset statistical time according to the indication of each statistical message, and obtains a corresponding statistical reply message, and The file system sends each statistical reply message.
其中, 预设统计时间用于对进行统计操作的时长进行限定, 可 以为系统缺省设定, 也可以为外部输入给定, 此处不做限定; 上述 统计回复消息包括: 表示统计消息中 SLA信息指示的 I/O通道当前 资源使用情况的资源信息。  The preset statistics time is used to limit the duration of the statistical operation. It can be the default setting of the system or the external input. It is not limited here. The above statistics reply message includes: Indicates the SLA in the statistics message. The resource information of the current resource usage of the I/O channel indicated by the information.
可选的, 上述统计回复消息还可以包括: 消息类型、 内存地址 位数、 消息标识符、 参数数据等, 消息的格式可以如下所示:  Optionally, the foregoing statistical reply message may further include: a message type, a memory address digit, a message identifier, parameter data, and the like, and the format of the message may be as follows:
I/O Channel Usage statistics Information Message  I/O Channel Usage statistics Information Message
Header  Header
Message Ty e: I/O Channel Usage Information  Message Ty e: I/O Channel Usage Information
Length: 32 Transaction ID: 1 Length: 32 Transaction ID: 1
Channel Name: SLA Name  Channel Name: SLA Name
I/O channel Usage Statistics Reply  I/O channel
Message Type: I/O Channel Usage Reply Information  Message Type: I/O Channel Usage Reply Information
Channel Name: SLA Name  Channel Name: SLA Name
B ody:  B ody:
SLA— level: priority  SLA_ level: priority
SLA_iop s: Avg_min_iops I Avg— max— iops  SLA_iop s: Avg_min_iops I Avg—max—iops
SLA— bps: Avg_min_bps I Avg— max— bps  SLA— bps: Avg_min_bps I Avg—max— bps
其中, " Header " 部分与上述统计消息相同, 此处不再赘述; " I/O channel Usage Reply" 邵分中: " Message Type : I/O Channel Usage Reply Information" 用于进一步指示该信息为统计回复消息; " Channel Name " 指示选定的 I/O 通道对应的 SLA 名称, 可以与 " Header" 部分中相同, 与统计消息相对应; " B ody" 指示包含的参 数数据, 具体包括: I/O通道对应的 SLA需求等级 SLA— level、 IOPS 信息 SLA— iops、 速率信息 SLA— bps。  The "Header" part is the same as the above-mentioned statistical message, and will not be described here; "I/O channel Usage Reply": "Message Type: I/O Channel Usage Reply Information" is used to further indicate that the information is statistical. Reply message; "Channel Name" indicates the SLA name corresponding to the selected I/O channel, which can be the same as in the "Header" section, corresponding to the statistics message; "B ody" indicates the parameter data included, including: I/ The SLA demand level SLA_level, IOPS information SLA_iops, and rate information SLA_bps corresponding to the O channel.
上述消息格式所示的包含项仅为示例性的, 且所示各项对应的 数值或字符, 仅作示例用途, 包括但不限于此。  The inclusions shown in the above message format are merely exemplary, and the numerical values or characters corresponding to the items shown are for illustrative purposes only, including but not limited to.
S2023、 文件系统获取每条 I/O通道对应的情况消息。  S2023: The file system obtains a situation message corresponding to each I/O channel.
具体的, 文件系统在接收到底层硬件反馈的每条 I/O 通道对应 的统计回复消息后, 即可构造获取相应的各情况消息。  Specifically, after receiving the statistical reply message corresponding to each I/O channel fed back by the underlying hardware, the file system can construct and obtain corresponding situational messages.
S203、 Qo S动态均衡装置查询 Qo S知识库。  The S203 and Qo S dynamic equalization devices query the Qo S knowledge base.
具体的, Qo S 动态均衡装置在接收到文件系统反馈发送的每条 I/O 通道对应的情况消息后, 对 Qo S 知识库进行查询, 确定各 I/O 通道在 Qo S知识库所对应的标准资源使用参数。  Specifically, after receiving the status message corresponding to each I/O channel sent by the file system feedback, the Qo S dynamic equalization device queries the Qo S knowledge base to determine the corresponding I/O channel in the Qo S knowledge base. Standard resource usage parameters.
其中, Qo S知识库为记录预先存储的各个 SLA对应的标准资源 使用参数的数据库,可以为 Qo S均衡装置中执行相应功能的一部分, 也可以为一个独立的设备, 此处不做限定。 各标准资源使用参数可 以为用户人工预先为不同 SLA 选定的相关参数, 具体可以包括: IOPS信息、 Bps信息、 优先级信息等, 且上述列举的部分参数仅为示例性 的, 实际应用中根据应用场景或需求的不同可能存在差异, 还可以包括其 他与通道性能相关的可调参数或指标, 此处不做限定。 The Qo S knowledge base is a database for recording the standard resource usage parameters corresponding to each SLA, and may be a part of the corresponding function in the Qo S equalization device, or may be an independent device, which is not limited herein. The standard resource usage parameters may be related parameters selected by the user for different SLAs in advance, and may specifically include: IOPS information, Bps information, priority information, etc., and some of the parameters listed above are only exemplary. In actual applications, there may be differences depending on the application scenario or requirements, and other tunable parameters related to channel performance may be included. Indicators, not limited here.
值得一提的, QoS知识库的建立是通过 QoS动态均衡装置接收 知识库更新消息实现的, 该知识库更新消息可以从用户业务进程获 取, 也可以从外部直接获取, 此处不做限定, 每个知识库更新消息 包含了一个 SLA标识 (如 SLA名称) 及其对应用户 SLA需求的相 关参数(如标准资源使用参数)。 QoS动态均衡装置在获取知识库更 新消息之后, 检索判断 QoS知识库中是否已存在该知识库更新消息 指示 SLA标识对应的知识库表项, 若不存在, 则新建表项进行记录, 若存在, 则进一步判断是否其中记录的参数是否需要更新, 相应选 择是否执行更新后, 完成 QoS知识库的建立。  It is worth mentioning that the establishment of the QoS knowledge base is implemented by the QoS dynamic equalization device receiving the knowledge base update message, and the knowledge base update message can be obtained from the user service process, or can be directly obtained from the outside, which is not limited herein. The knowledge base update message contains an SLA identifier (such as the SLA name) and its associated parameters (such as standard resource usage parameters) corresponding to the user's SLA requirements. After obtaining the knowledge base update message, the QoS dynamic equalization device retrieves and determines whether the knowledge base update corresponding to the SLA identifier exists in the QoS knowledge base. If not, the new entry is recorded, if yes, Then, it is further determined whether the parameter recorded therein needs to be updated, and whether the update is completed or not, the establishment of the QoS knowledge base is completed.
示例性的, QoS 知识库中各知识库表项的记录格式可以如表 1 所示:  Exemplarily, the record format of each knowledge base entry in the QoS knowledge base can be as shown in Table 1:
表 1  Table 1
Figure imgf000018_0001
Figure imgf000018_0001
可选的,上述 QoS均衡装置根据每条 I/O通道对应的情况消息, 查询 QoS知识库, 如图 5所示, 可以具体包括:  Optionally, the foregoing QoS balancing device queries the QoS knowledge base according to the situation information corresponding to each I/O channel, as shown in FIG. 5, which may specifically include:
S203 1 , QoS 动态均衡装置向 QoS知识库发送每条 I/O通道对 应的查询请求消息。  S203 1. The QoS dynamic equalization device sends a query request message corresponding to each I/O channel to the QoS knowledge base.
具体的, QoS 动态均衡装置在接收到文件系统发送的各情况消 息之后, 向 QoS知识库发送各 I/O通道对应的查询请求消息。  Specifically, after receiving the situation information sent by the file system, the QoS dynamic equalization device sends a query request message corresponding to each I/O channel to the QoS knowledge base.
其中,查询请求消息可以包括所查询 I/O通道对应的 SLA信息 , 该 SLA信息可以为 SLA名称, 用于指示 Qo S知识库反馈该 SLA名 称指定的 SLA对应的标准资源使用参数。 The query request message may include SLA information corresponding to the queried I/O channel. The SLA information may be an SLA name, and is used to indicate that the Qo S knowledge base feeds back the standard resource usage parameter corresponding to the SLA specified by the SLA name.
可选的, 该查询请求消息还可以包括: 消息类型、 内存地址位 数、 消息标识符、 数据存储地址等, 消息的格式可以如下所示: Optionally, the query request message may further include: a message type, a memory address bit number, a message identifier, a data storage address, and the like, and the format of the message may be as follows:
I/O QOS lookup Information Message I/O QOS lookup Information Message
Header  Header
Message Ty e: I/O QOS lookup Information  Message Ty e: I/O QOS lookup Information
Length: 32  Length: 32
Transaction ID: 2  Transaction ID: 2
Channel Name: SLA Name  Channel Name: SLA Name
I/O channel Usage Statistics Request  I/O channel Usage Statistics Request
Message Type: I/O QOS lookup Request Information  Message Type: I/O QOS lookup Request Information
Channel Name: SLA Name  Channel Name: SLA Name
Body: *usage [4]  Body: *usage [4]
其中, " Header" 部分 ( 即信息头部) 中: " Message Type : I/O QOS lookup Information" 指示该信息用于交互 QoS 知识库中指定 SLA 名称对应的参数信息; " Length" 指示内存地址位数为 " 32 " ; The "Header" part (ie, the information header): "Message Type: I/O QOS lookup Information" indicates that the information is used to interact with the parameter information corresponding to the specified SLA name in the QoS knowledge base; "Length" indicates the memory address bit. The number is "32";
" Transaction ID " 指示消息标识符为 " 2 "; " Channel Name" 指示选 定的 I/O通道对应的 SLA名称。 The "Transaction ID" indicates that the message identifier is "2"; "Channel Name" indicates the SLA name corresponding to the selected I/O channel.
" I/O channel Usage Statistics Request " 邵分中: " Message Type: I/O QOS lookup Request Information" 用于进一步指示该信息 为查询请求消息; " Channel Name" 指示选定的 I/O通道对应的 SLA 名称, 可以与 " Header" 部分中相同; " Body" 指示数据存储地址。  "I/O channel Usage Statistics Request": "Message Type: I/O QOS lookup Request Information" is used to further indicate that the information is a query request message; "Channel Name" indicates the corresponding I/O channel corresponding to The SLA name, which can be the same as in the "Header" section; "Body" indicates the data storage address.
上述消息格式所示的包含项仅为示例性的, 且所示各项对应的 数值或字符, 仅作示例用途, 包括但不限于此。  The inclusions shown in the above message format are merely exemplary, and the numerical values or characters corresponding to the items shown are for illustrative purposes only, including but not limited to.
S2032 , Qo S 动态均衡装置接收 QoS 知识库反馈发送每条 I/O 通道对应的查询回复信息。  The S2032, Qo S dynamic equalization device receives the QoS knowledge base feedback and sends the query reply information corresponding to each I/O channel.
具体的, QoS知识库在接收到 QoS动态均衡装置发送的各查询 请求消息后, 根据各查询请求消息中的指示, 检索获取各 I/O 通道 设定的 SLA在 Qo S知识库对应的标准资源使用参数,构造各查询请 求消息对应的查询回复消息, 并向 Qo S动态均衡装置发送各查询回 复消息。 Specifically, after receiving the query request messages sent by the QoS dynamic equalization device, the QoS knowledge base retrieves and acquires each I/O channel according to the indication in each query request message. The set SLA constructs a query reply message corresponding to each query request message in the standard resource usage parameter corresponding to the Qo S knowledge base, and sends each query reply message to the Qo S dynamic equalization device.
其中 , 每条 I/O通道对应的查询回复消息可以包括该 I/O通道 设定的 SLA在 Qo S知识库对应的标准资源使用参数。  The query response message corresponding to each I/O channel may include a standard resource usage parameter corresponding to the SLA set in the I/O channel in the Qo S knowledge base.
可选的, 上述查询回复消息还可以包括: 消息类型、 内存地址 位数、 消息标识符、 参数数据等, 消息的格式可以如下所示:  Optionally, the foregoing query reply message may further include: a message type, a memory address digit, a message identifier, parameter data, and the like, and the format of the message may be as follows:
I/O QO S lookup Information Message  I/O QO S lookup Information Message
Header  Header
Message Ty e: I/O QO S lookup Information  Message Ty e: I/O QO S lookup Information
Length: 32  Length: 32
Transaction ID: 2  Transaction ID: 2
Channel Name: SLA Name  Channel Name: SLA Name
I/O channel Usage Statistics Reply  I/O channel
Message Type: I/O QO S lookup Reply Information  Message Type: I/O QO S lookup Reply Information
Channel Name: SLA Name  Channel Name: SLA Name
B ody:  B ody:
SLA— level: priority  SLA_ level: priority
SLA_iops: min_iop s I max— iops  SLA_iops: min_iop s I max—iops
SLA— bps: min— bps I max— bps  SLA — bps: min — bps I max — bps
SLA— service: iops— usage I bps— usage I time— period 其中, " Header"部分与上述查询请求消息相同,此处不再赘述; " I/O channel Usage Statistics Reply" 邵分中: " Message Type : I/O QO S lookup Reply Information" 用于进一步指示该信息为查询回复 消息; " Channel Name " 指示选定的 I/O通道对应的 SLA名称, 可以 与 " Header" 部分中相同, 与查询请求消息相对应; " B ody" 指示包 含的参数数据, 具体包括: I/O通道对应的 SLA需求等级 SLA— level、 IOPS信息 SLA— iops、 速率信息 SLA— bps、 利用率信息 SLA— service。  SLA—service: iops— usage I bps— usage I time— period where the “Header” part is the same as the above query request message, and will not be described here; “I/O channel Usage Statistics Reply” in Shaoyuan: “Message Type : I/O QO S lookup Reply Information" is used to further indicate that the message is a query reply message; "Channel Name" indicates the SLA name corresponding to the selected I/O channel, which can be the same as in the "Header" section, with the query request The message corresponds to; the "B ody" indicates the parameter data included, including: SLA demand level corresponding to the I/O channel SLA_level, IOPS information SLA_iops, rate information SLA-bps, utilization information SLA-service.
上述消息格式所示的包含项仅为示例性的, 且所示各项对应的 数值或字符, 仅作示例用途, 包括但不限于此。 The inclusions shown in the above message format are merely exemplary, and the corresponding items are shown. Values or characters, for illustrative purposes only, including but not limited to.
S204、 Qo S动态均衡装置对 I/O通道的资源使用情况进行变更。 具体的, Qo S 动态均衡装置确定不匹配的 I/O通道, 并构造变 更消息, 通过用户 SLA变更各不匹配的 I/O通道的资源使用情况。  The S204 and Qo S dynamic equalization devices change the resource usage of the I/O channel. Specifically, the Qo S dynamic equalization device determines the I/O channel that is not matched, and constructs a change message, and changes the resource usage of each mismatched I/O channel through the user SLA.
其中, 用户 SLA 用于管理各用户业务的 SLA 需求, 可通过与 文件系统进行交互, 为不同的用户 SLA需求分配相应的资源, 可以 为 Qo S动态均衡装置中执行相应功能的一部分, 也可以为计算机系 统中一个独立的功能模块, 此处不做限定。  The user SLA is used to manage the SLA requirements of each user service, and can interact with the file system to allocate corresponding resources for different user SLA requirements, which can be part of the corresponding function in the Qo S dynamic equalization device, or A separate functional module in a computer system is not limited here.
示例性的, Qo S动态均衡装置在接收到 Qo S知识库反馈的每条 I/O通道对应的查询回复消息后, 根据各查询回复消息指示的 I/O通 道与标准资源使用参数对应关系, 结合情况消息指示的该 I/O 通道 与表示其当前资源使用情况的资源信息的对应关系, 进行比对判断, 将全部 I/O 通道中, 通道对应资源信息中所包含参数项的数值大于 该通道对应标准资源使用参数中为该参数项提供的数值的 I/O 通道 确定为不匹配的 I/O通道。  Exemplarily, after receiving the query reply message corresponding to each I/O channel fed back by the Qo S knowledge base, the Qo S dynamic equalization device according to the corresponding relationship between the I/O channel indicated by each query reply message and the standard resource use parameter, The correspondence between the I/O channel indicated by the situation message and the resource information indicating the current resource usage is compared, and the value of the parameter item included in the channel corresponding resource information in all the I/O channels is greater than the The I/O channel corresponding to the value provided by the channel for the parameter item in the standard resource usage parameter is determined as an unmatched I/O channel.
以上述实施例中统计回复消息、查询回复消息提供的格式为例, 当任一 I/O通道对应的统计回复消息中 SLA— iops大于查询回复消息 中 SLA_iops ( 即 Avg_min_iops I Avg— max— iops > min_iops I max— iops ) , 或, 统计回复消息中 SLA— bps 大于查询回复消息中 SLA_bp s (即 Avg_min_bp s I Avg— max— bp s > min— bp s I max— bps )时 , 确定该 I/O通道为不匹配的 I/O通道。 即表明该 I/O通道上业务当前 的资源使用情况超出了设定 SLA所指定的资源使用要求, 需要进行 资源使用情况的变更以达到各通道资源的均衡。 其中, 上述确定的 不匹配的 I/O通道可以为一个或多个。  Taking the format provided by the statistical reply message and the query reply message in the above embodiment as an example, when the statistical response message corresponding to any I/O channel is SLA_iops larger than the SLA_iops in the query reply message (ie, Avg_min_iops I Avg_max_iops > Min_iops I max — iops ) , or, when the SLA_bps in the statistical reply message is greater than the SLA_bp s in the query reply message (ie, Avg_min_bp s I Avg—max— bp s > min—bp s I max—bps), determine the I/ The O channel is an unmatched I/O channel. That is to say, the current resource usage of the service on the I/O channel exceeds the resource usage requirement specified by the SLA, and the resource usage is changed to achieve the balance of resources in each channel. Wherein, the determined unmatched I/O channels may be one or more.
进一步的, Qo S动态均衡装置向用户 SLA发送变更消息, 用户 SLA在根据该变更消息确定上述不匹配的 I/O通道, 指示文件系统 对指定的 I/O通道进行资源变更。  Further, the Qo S dynamic equalization device sends a change message to the user SLA, and the user SLA determines the mismatched I/O channel according to the change message, and instructs the file system to perform resource change on the designated I/O channel.
在执行该资源变更操作之前, 还包括判断硬件及各 I/O 通道是 否能够提供变更所需的相应资源。 以反映设备读写吞吐量的参数 IOP S为例, 即根据各 I/O通道对应的情况消息进行判断, 若通道的 资源信息中当前 IOP S值小于通道所能达到的最大 IOP S值, 表明该 I/O通道能够提供额外的 IOP S能力,从而确定资源变更操作可执行。 且上述对 IOP S能力的判断过程仅为示例性的,对其他可调参数如反 映设定读写速率的 bps 参数等, 也可采用相应的操作进行判断, 此 处不做限定。 Before performing the resource change operation, it also includes determining whether the hardware and each I/O channel can provide the corresponding resources required for the change. Parameters to reflect device read and write throughput For example, the IOP S is determined according to the situation message corresponding to each I/O channel. If the current IOP S value in the channel resource information is smaller than the maximum IOP S value that the channel can reach, it indicates that the I/O channel can provide additional IOP S capabilities to determine that resource change operations are executable. The foregoing process of determining the IOP S capability is only exemplary. For other tunable parameters, such as the bps parameter that reflects the read/write rate, the corresponding operation may be used for the determination, which is not limited herein.
进一步的, 在确定了硬件及通道能够提供额外的所需资源后, 将上述不匹配的 I/O通道的资源变更为该 I/O通道对应的标准资源使 用参数所 目应提供的参数值 ( 即 min_iops I max— iops或 min— bps I max— bps等), 完成资源使用情况的变更。  Further, after determining that the hardware and the channel can provide additional required resources, the resources of the unmatched I/O channel are changed to the parameter values that should be provided by the standard resource usage parameter corresponding to the I/O channel ( That is, min_iops I max—iops or min—bps I max—bps, etc., to complete the change of resource usage.
值得一提的, 若硬件及通道不能提供额外的所需资源, 则表明 上述资源变更操作无法执行, 资源变更失败。  It is worth mentioning that if the hardware and channel cannot provide additional resources, it indicates that the above resource change operation cannot be performed and the resource change fails.
可选的, 文件系统可基于 Linux操作系统内核开发, 对指定的 上述不匹配的 I/O 通道进行资源变更的操作可通过 Linux Cgroup s ( Control groups ) 机制实现。  Optionally, the file system can be developed based on the Linux operating system kernel, and the resource change operation for the specified mismatched I/O channel can be implemented by the Linux Cgroup s (Control groups) mechanism.
Linux Cgroups机制为 Linux内核提供的一种可以限制、 记录、 隔离进程组 ( rocess group s )所使用的物理资源 (如: cpu、 memory , I/O资源等) 的机制, 可适用于多种应用场景。 功能包括: 限制进程 组可以使用的资源数量 ( Resource limiting )、 进程组的优先级控制 ( Prioritization )、 记录进程组使用的资源数量 ( Accounting )、 进程 组隔离 ( isolation ) 进程组控制 ( control ) 等。  The Linux Cgroups mechanism provides a mechanism for the Linux kernel to limit, record, and isolate the physical resources (such as cpu, memory, I/O resources, etc.) used by the rocess group s. It can be applied to a variety of applications. Scenes. Functions include: Limiting the number of resources that a process group can use (Resource limiting), Prioritization of a process group, Recording the number of resources used by a process group (Accounting), Process group isolation (process), Process group control (control), etc. .
用户 SLA指示文件系统执行变更操作,文件系统根据 Qo S知识 库中各上述不匹配的 I/O通道对应的标准资源使用参数, 通过 Linux Cgroups机制(如限制进程组可以使用的资源数量、 进程组的优先级 控制等) 对各 I/O 通道的资源使用情况进行变更。 在变更操作结束 后, 用户 SLA向 Qo S动态均衡装置发送变更回复消息, 用于指示变 更操作的结果。  The user SLA instructs the file system to perform the change operation. The file system uses the Linux Cgroups mechanism according to the standard resource usage parameters corresponding to the above-mentioned mismatched I/O channels in the Qo S knowledge base, such as the number of resources that can be used by the process group, and the process group. Priority control, etc.) Change the resource usage of each I/O channel. After the change operation is completed, the user SLA sends a change reply message to the Qo S dynamic equalization device to indicate the result of the change operation.
其中, 变更回复消息可以包括: 消息类型、 内存地址位数、 消 息标识符、 变更操作不匹配的 I/O通道对应的 SLA信息 (如 SLA名 称)、 变更后状态的参数数据、 反应变更操作状态的变更状态位, 消 息的格式可以如下所示: The change reply message may include: a message type, a number of memory address bits, a message identifier, and an SLA information corresponding to an I/O channel whose change operation does not match (such as an SLA name) The parameter data of the changed state and the change status bit of the reaction change operation state. The format of the message can be as follows:
I/O QOS modify Information Message  I/O QOS modify Information Message
Header  Header
Message Type: I/O QOS modify Information  Message Type: I/O QOS modify Information
Length: 32  Length: 32
Transaction ID: 3  Transaction ID: 3
Channel Name: SLA Name  Channel Name: SLA Name
I/O QOS modify Information Message Reply  I/O QOS modify Information Message Reply
Message Type: I/O QOS modify Reply Information  Message Type: I/O QOS modify Reply Information
Channel Name: SLA Name  Channel Name: SLA Name
Body:  Body:
SLA— level: priority  SLA_ level: priority
SLA— iops: min_iops I max— iops  SLA— iops: min_iops I max—iops
SLA— bps: min— bps I max— bps  SLA — bps: min — bps I max — bps
SLA— status: 0/1/2  SLA— status: 0/1/2
其中, "Header"部分( 即信息头部)中: "Message Type: I/O QOS modify Information" 指示该信息用于交互指定上述不匹配的 I/O 通道的变更情况; " Length " 指示 内存地址位数为 " 32 "; "Transaction ID" 指示消息标识符为 "3"; "Channel Name" 指示选 定的不匹配的 I/O通道对应的 SLA名称。  Where the "Header" part (ie, the information header): "Message Type: I/O QOS modify Information" indicates that the information is used to interactively specify the change of the above-mentioned mismatched I/O channel; "Length" indicates the memory address The number of digits is "32"; "Transaction ID" indicates that the message identifier is "3"; "Channel Name" indicates the SLA name corresponding to the selected unmatched I/O channel.
" I/O QOS modify Information Message Reply " 部分 中 : " Message Type: I/O QOS modify Reply Information" 用于进一步指 示该信息为变更回复消息; " Channel Name " 指示选定的不匹配的 I/O通道对应的 SLA名称, 可以与 "Header" 部分中相同; "Body" 指示包含的变更后参数数据, 具体包括: 变更操作对象 I/O 通道对 应的 SLA需求等级 SLA— level、 IOPS信息 SLA— iops、速率信息 SLA— bps、 变更^ 1夫态位 SLA— status。  In the "I/O QOS modify Information Message Reply" section: "Message Type: I/O QOS modify Reply Information" is used to further indicate that the message is a change reply message; "Channel Name" indicates the selected mismatched I/O The SLA name corresponding to the channel can be the same as in the "Header" section; "Body" indicates the included post-change parameter data, including: Change the SLA requirement level of the operation object I/O channel SLA_level, IOPS information SLA_iops Rate information SLA-bps, change ^1 status SLA_ status.
上述消息格式所示的包含项仅为示例性的, 且所示各项对应的 数值或字符, 仅作示例用途, 包括但不限于此。 The inclusions shown in the above message format are merely exemplary, and the corresponding items are shown. Values or characters, for illustrative purposes only, including but not limited to.
值得一提的, 上述变更回复消息中, 当 SLA— status初始状态为 0 , 可以表明未进行资源变更; 为 1 时, 可以表明资源变更成功; 为 2时, 可以表明资源变更失败, 且具体的对应方式此处不做限定。  It is worth mentioning that in the above change reply message, when the initial state of the SLA_statal is 0, it indicates that the resource change is not performed; when it is 1, it can indicate that the resource change is successful; when it is 2, it can indicate that the resource change fails, and the specific The corresponding method is not limited here.
需要注意的,上述基于 Linux操作系统内核,采用 Linux Cgroups 机制的实现方式仅为示例性的, 可以想到的是在采用其他类型操作 平台 实现时, 如 XEN 虚拟机架构、 KVM ( Kernel-based Virtual Machine , 基于内核的虚拟机) 等, 是本领域技术人员可在没有做出 创造性劳动前提下轻易想到的, 因此也在本发明的实施例保护范围 内。  It should be noted that the implementation of the Linux Cgroups mechanism based on the Linux operating system kernel is only exemplary. It is conceivable that when using other types of operating platforms, such as XEN virtual machine architecture, KVM (Kernel-based Virtual Machine) , a kernel-based virtual machine, etc., can be easily conceived by those skilled in the art without creative efforts, and thus is also within the scope of the embodiments of the present invention.
本发明的实施例提供一种 I/O通道 QoS动态均衡方法, 通过在 获取每条 I/O通道的资源信息与 SLA信息, 查询 QoS知识库获取各 条 I/O通道所设定 SLA对应的标准资源使用参数之后, 进行比对确 定出当前资源使用情况与标准资源使用参数不匹配的 I/O 通道, 进 一步指示文件系统对上述不匹配的 I/O 通道进行资源调整。 这样一 来, 解决了现有技术中 I/O 在进行数据传输过程中, 由于业务状态 变化, 通道资源使用情况发生改变, 导致通道资源利用率降低, 业 务的 QoS需求无法保证的问题, 因此, 本发明的实施例相对于现有 技术, 能够对 I/O 通道的资源使用情况进行变更调整, 保证了用户 业务的各方面配置需求及 I/O通道间的 QoS 均衡, 提高了 I/O通道 性能。  An embodiment of the present invention provides an I/O channel QoS dynamic equalization method. By obtaining resource information and SLA information of each I/O channel, the QoS knowledge base is queried to obtain an SLA corresponding to each I/O channel. After the standard resource uses the parameter, the comparison determines the I/O channel that the current resource usage does not match the standard resource usage parameter, and further instructs the file system to perform resource adjustment on the above-mentioned mismatched I/O channel. In this way, in the prior art, during the data transmission process, the service state changes, the channel resource usage changes, the channel resource utilization decreases, and the QoS requirement of the service cannot be guaranteed. Therefore, Compared with the prior art, the embodiment of the present invention can change and adjust the resource usage of the I/O channel, ensuring the configuration requirements of various aspects of the user service and the QoS balance between the I/O channels, and improving the I/O channel. performance.
本发明的实施例提供了一种 I/O通道 Qo S动态均衡装置 00 , 与 前述实施例提供的一种 I/O通道 QoS 动态均衡方法相对应, 如图 6 所示, 该 QoS动态均衡装置 00 包括:  An embodiment of the present invention provides an I/O channel Qo S dynamic equalization apparatus 00, which corresponds to an I/O channel QoS dynamic equalization method provided by the foregoing embodiment. As shown in FIG. 6, the QoS dynamic equalization apparatus is shown in FIG. 00 includes:
接收单元 001 , 用于接收文件系统发送的表示每条 I/O 通道当 前资源使用情况的资源信息, 和表示每条 I/O 通道设定的服务等级 协议 SLA的 SLA信息。  The receiving unit 001 is configured to receive resource information sent by the file system indicating current resource usage of each I/O channel, and SLA information indicating a service level agreement SLA set by each I/O channel.
查询单元 002 ,用于查询 QoS知识库,根据每条 I/O通道的 SLA 信息, 匹配得到各条 I/O通道所设定的 SLA对应的标准资源使用参 数。 The query unit 002 is configured to query the QoS knowledge base, and according to the SLA information of each I/O channel, the standard resource usage parameter corresponding to the SLA set by each I/O channel is matched. Number.
其中, QoS知识库中预先存储有各个 SLA对应的标准资源使用 参数。  The standard resource usage parameters corresponding to each SLA are pre-stored in the QoS knowledge base.
获取单元 003 , 用于根据各个 SLA对应的标准资源使用参数, 比对每条 I/O通道的 SLA信息、 资源信息, 确定出当前资源使用情 况与标准资源使用参数不匹配的 I/O通道。  The obtaining unit 003 is configured to compare the SLA information and the resource information of each I/O channel according to the standard resource usage parameter corresponding to each SLA, and determine an I/O channel that does not match the current resource usage parameter and the standard resource usage parameter.
指示单元 004 , 用于向文件系统发送指令, 以使文件系统根据 SLA对应的标准资源使用参数, 调整不匹配的 I/O通道的资源使用。  The indicating unit 004 is configured to send an instruction to the file system, so that the file system adjusts resource usage of the unmatched I/O channel according to the standard resource usage parameter corresponding to the SLA.
需说明的是, 其中虚线表示单元之间可以具备连接关系, 也可 以不具备直接的连接关系, 比如接收单元 001 和查询单元 002都是 用于与装置外的设备进行交互的, 接收单元 001 可以在接收到所需 信息之后通知查询单元 002 , 也可以没有通知。  It should be noted that the dotted line indicates that the units may have a connection relationship, or may not have a direct connection relationship. For example, the receiving unit 001 and the query unit 002 are both used to interact with devices outside the device, and the receiving unit 001 may The inquiry unit 002 is notified after receiving the required information, and there may be no notification.
可选的, 如图 7所示, 该 QoS动态均衡装置 00还可以包括: 请求单元 005 , 用于在接收单元 001 接收文件系统发送的表示 每条 I/O通道当前资源使用情况的资源信息,和表示每条 I/O通道设 定的服务等级协议 SLA的 SLA信息之前,向文件系统发送情况请求 消息, 情况请求消息用于指示文件系统反馈每条 I/O 通道的资源信 息与 SLA信息。  Optionally, as shown in FIG. 7, the QoS dynamic balancing apparatus 00 may further include: a requesting unit 005, configured to receive, by the receiving unit 001, resource information that is sent by the file system and indicates current resource usage of each I/O channel, where And before the SLA information indicating the service level agreement SLA set by each I/O channel, the situation request message is sent to the file system, and the situation request message is used to instruct the file system to feed back the resource information and the SLA information of each I/O channel.
可选的, 接收单元 001可以具体用于:  Optionally, the receiving unit 001 can be specifically configured to:
在文件系统接收情况请求消息, 根据情况请求消息的指示通过 底层硬件统计每条 I/O 通道上当前的资源使用情况, 获取每条 I/O 通道的资源信息与 SLA信息并反馈发送后,接收资源信息与 SLA信 息。  Receiving a situation request message in the file system, according to the indication of the situation request message, the current resource usage on each I/O channel is collected by the underlying hardware, and the resource information and SLA information of each I/O channel are obtained and fed back, and then received. Resource information and SLA information.
可选的, 查询单元 002可以具体用于:  Optionally, the query unit 002 can be specifically configured to:
根据每条 I/O通道的 SLA信息, 构造每条 I/O通道对应的查询 请求消息, 查询请求消息包括对应 I/O通道的 SLA信息;  Constructing, according to the SLA information of each I/O channel, a query request message corresponding to each I/O channel, and the query request message includes SLA information corresponding to the I/O channel;
依次根据每条查询请求消息, 遍历 QoS知识库, 获取各查询请 求消息分别对应的查询回复消息, 查询回复消息包括相应 I/O 通道 的 SLA信息在 QoS知识库中对应的标准资源使用参数。 可选的, 获取单元 003可以具体用于: According to each query request message, the QoS knowledge base is traversed to obtain a query reply message corresponding to each query request message, and the query reply message includes the standard resource use parameter corresponding to the SLA information of the corresponding I/O channel in the QoS knowledge base. Optionally, the obtaining unit 003 may be specifically configured to:
获取每条 I/O通道对应资源信息所包含的参数项;  Obtaining the parameter items included in the corresponding resource information of each I/O channel;
分别将每条 I/O通道对应的参数项与本 I/O通道对应的标准资 源使用参数进行比较;  Comparing the parameter items corresponding to each I/O channel with the standard resource usage parameters corresponding to the I/O channel;
将参数项的值大于标准资源使用参数对应提供的值的 I/O 通道 确定为不匹配的 I/O通道。  The I/O channel whose value of the parameter item is greater than the value provided by the standard resource usage parameter is determined as the I/O channel that does not match.
本发明的实施例提供一种 I/O通道 QoS动态均衡装置, 通过在 获取每条 I/O通道的资源信息与 SLA信息, 查询 QoS知识库获取各 条 I/O通道所设定 SLA对应的标准资源使用参数之后, 进行比对确 定出当前资源使用情况与标准资源使用参数不匹配的 I/O 通道, 进 一步指示文件系统对上述不匹配的 I/O 通道进行资源调整。 这样一 来, 解决了 I/O 在进行数据传输过程中, 由于业务状态变化导致通 道资源利用率降低, 业务的 QoS需求无法保证的问题, 保证了用户 业务的各方面配置需求及 I/O通道间的 QoS 均衡, 提高了 I/O通道 性能。  An embodiment of the present invention provides an I/O channel QoS dynamic equalization apparatus. By acquiring resource information and SLA information of each I/O channel, the QoS knowledge base is queried to obtain an SLA corresponding to each I/O channel. After the standard resource uses the parameter, the comparison determines the I/O channel that the current resource usage does not match the standard resource usage parameter, and further instructs the file system to perform resource adjustment on the above-mentioned mismatched I/O channel. In this way, the problem that the channel resource utilization is reduced and the QoS requirements of the service cannot be guaranteed due to the change of the service state during the data transmission process of the I/O is solved, and the configuration requirements and the I/O channel of the user service are ensured. QoS balancing improves I/O channel performance.
本发明的实施例还提供了一种 I/O通道 QoS动态均衡装置 01 , 如图 8所示, 该 QoS动态均衡装置 01 包括:  An embodiment of the present invention further provides an I/O channel QoS dynamic equalization apparatus 01. As shown in FIG. 8, the QoS dynamic equalization apparatus 01 includes:
总线 01 1、 以及连接到总线 01 1 的处理器 012、 存储器 013和接 口 014 , 其中接口 014用于实现各节点之间的连接通信;  Bus 01 1 , and a processor 012, a memory 013 and an interface 014 connected to the bus 01 1 , wherein the interface 014 is used to implement connection communication between the nodes;
该存储器 013用于存储指令, 该处理器 012执行该指令具体用 于接收文件系统发送的表示每条 I/O 通道当前资源使用情况的资源 信息, 和表示每条 I/O通道设定的服务等级协议 SLA的 SLA信息。  The memory 013 is configured to store an instruction, and the processor 012 executes the instruction, specifically for receiving resource information sent by the file system and indicating current resource usage of each I/O channel, and a service that is set for each I/O channel. SLA information for the Level Agreement SLA.
该处理器 012执行该指令还用于: 查询 QoS知识库, 根据每条 I/O通道的 SLA信息, 匹配得到各条 I/O通道所设定的 SLA对应的 标准资源使用参数。  The processor 012 executes the instruction and is further configured to: query the QoS knowledge base, and match the standard resource usage parameters corresponding to the SLA set by each I/O channel according to the SLA information of each I/O channel.
其中, QoS知识库中预先存储有各个 SLA对应的标准资源使用 参数。  The standard resource usage parameters corresponding to each SLA are pre-stored in the QoS knowledge base.
该处理器 012执行该指令还用于: 根据各个 SLA对应的标准资 源使用参数, 比对每条 I/O通道的 SLA信息、 资源信息, 确定出当 前资源使用情况与标准资源使用参数不匹配的 I/O通道。 The processor 012 executes the instruction, and is further configured to: determine, according to the standard resource usage parameter corresponding to each SLA, the SLA information and the resource information of each I/O channel. I/O channels whose pre-resource usage does not match the standard resource usage parameters.
该处理器 012执行该指令还用于: 向文件系统发送指令, 以使 文件系统根据 SLA对应的标准资源使用参数, 调整不匹配的 I/O通 道的资源使用。  The processor 012 executes the instruction and is further configured to: send an instruction to the file system, so that the file system adjusts resource usage of the unmatched I/O channel according to the standard resource usage parameter corresponding to the SLA.
在本发明实施例中, 可选的, 在接收文件系统发送的表示每条 I/O通道当前资源使用情况的资源信息, 和表示每条 I/O通道设定的 服务等级协议 SLA的 SLA信息之前,该处理器 012执行该指令可以 具体用于:  In the embodiment of the present invention, optionally, the resource information sent by the receiving file system indicating the current resource usage of each I/O channel, and the SLA information indicating the service level agreement SLA set by each I/O channel are selected. Previously, the processor 012 executing the instruction may be specifically used to:
向文件系统发送情况请求消息, 情况请求消息用于指示文件系 统反馈每条 I/O通道的资源信息与 SLA信息。  A situation request message is sent to the file system, and the situation request message is used to instruct the file system to feed back resource information and SLA information of each I/O channel.
进一步的, 在本发明实施例中, 可选的, 该处理器 012执行该 指令可以具体用于:  Further, in the embodiment of the present invention, optionally, the processor 012 executes the instruction, which may be specifically used to:
在文件系统接收情况请求消息, 根据情况请求消息的指示通过 底层硬件统计每条 I/O 通道上当前的资源使用情况, 获取每条 I/O 通道的资源信息与 SLA信息并反馈发送后,接收资源信息与 SLA信 息。  Receiving a situation request message in the file system, according to the indication of the situation request message, the current resource usage on each I/O channel is collected by the underlying hardware, and the resource information and SLA information of each I/O channel are obtained and fed back, and then received. Resource information and SLA information.
在本发明实施例中, 可选的, 该处理器 012执行该指令可以具 体用于:  In the embodiment of the present invention, optionally, the processor 012 executes the instruction, which may be specifically used to:
根据每条 I/O通道的 SLA信息, 构造每条 I/O通道对应的查询 请求消息, 查询请求消息包括对应 I/O通道的 SLA信息;  Constructing, according to the SLA information of each I/O channel, a query request message corresponding to each I/O channel, and the query request message includes SLA information corresponding to the I/O channel;
依次根据每条查询请求消息, 遍历 QoS知识库, 获取各查询请 求消息分别对应的查询回复消息, 查询回复消息包括相应 I/O 通道 的 SLA信息在 QoS知识库中对应的标准资源使用参数。  According to each query request message, the QoS knowledge base is traversed to obtain a query reply message corresponding to each query request message, and the query reply message includes the standard resource usage parameter corresponding to the SLA information of the corresponding I/O channel in the QoS knowledge base.
在本发明实施例中, 可选的, 该处理器 012执行该指令可以具 体用于:  In the embodiment of the present invention, optionally, the processor 012 executes the instruction, which may be specifically used to:
获取每条 I/O通道对应资源信息所包含的参数项;  Obtaining the parameter items included in the corresponding resource information of each I/O channel;
分别将每条 I/O通道对应的参数项与本 I/O通道对应的标准资 源使用参数进行比较;  Comparing the parameter items corresponding to each I/O channel with the standard resource usage parameters corresponding to the I/O channel;
将参数项的值大于标准资源使用参数对应提供的值的 I/O 通道 确定为不匹配的 I/O通道。 I/O channel with the value of the parameter item greater than the value provided by the standard resource usage parameter Determined as a mismatched I/O channel.
本发明的实施例提供一种 I/O通道 QoS动态均衡装置, 通过在 获取每条 I/O通道的资源信息与 SLA信息, 查询 QoS知识库获取各 条 I/O通道所设定 SLA对应的标准资源使用参数之后, 进行比对确 定出当前资源使用情况与标准资源使用参数不匹配的 I/O 通道, 进 一步指示文件系统对上述不匹配的 I/O 通道进行资源调整。 这样一 来, 解决了 I/O 在进行数据传输过程中, 由于业务状态变化导致通 道资源利用率降低, 业务的 Qo S需求无法保证的问题, 保证了用户 业务的各方面配置需求及 I/O通道间的 QoS 均衡, 提高了 I/O通道 性能。  An embodiment of the present invention provides an I/O channel QoS dynamic equalization apparatus. By acquiring resource information and SLA information of each I/O channel, the QoS knowledge base is queried to obtain an SLA corresponding to each I/O channel. After the standard resource uses the parameter, the comparison determines the I/O channel that the current resource usage does not match the standard resource usage parameter, and further instructs the file system to perform resource adjustment on the above-mentioned mismatched I/O channel. As a result, the problem of the Qo S demand of the service cannot be guaranteed due to the change of the service status of the I/O during the data transmission process, and the configuration requirements and I/O of the user service are guaranteed. QoS balancing between channels improves I/O channel performance.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 设备和方法, 可以通过其它的方式实现。 例如, 以上所描述的设备 实施例仅仅是示意性的, 所述单元的划分, 仅仅为一种逻辑功能划 分, 实际实现时可以有另外的划分方式, 例如多个单元或组件可以 结合或者可以集成到另一个系统, 或一些特征可以忽略, 或不执行。  In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are only schematic. The division of the units is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or integrated. Go to another system, or some features can be ignored, or not executed.
另外, 在本发明各个实施例中的设备和系统中, 各功能单元可 以集成在一个处理单元中, 也可以是各个单元单独物理包括, 也可 以两个或两个以上单元集成在一个单元中。 且上述的各单元既可以 采用硬件的形式实现, 也可以采用硬件加软件功能单元的形式实现。  Further, in the devices and systems in the various embodiments of the present invention, each functional unit may be integrated in one processing unit, or each unit may be physically included separately, or two or more units may be integrated in one unit. The above units may be implemented in the form of hardware or in the form of hardware plus software functional units.
实现上述方法实施例的全部或部分步骤可以通过程序指令相关 的硬件来完成, 前述的程序可以存储于一计算机可读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储 介质包括: U盘、 移动硬盘、 ROM ( Read Only Memory , 只读存储 器)、 RAM ( Random Access Memory , 随机存取存储器)、 磁碟或者 光盘等各种可以存储程序代码的介质。  All or part of the steps of implementing the above method embodiments may be performed by hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and when executed, the program includes the steps of the foregoing method embodiments; The foregoing storage medium includes: a U disk, a removable hard disk, a ROM (Read Only Memory), a RAM (Random Access Memory), a disk or an optical disk, and the like, which can store program codes.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围 并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技 术范围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应所述以权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权 利 要 求 书 Claim
1、 一种 I/O通道 QoS动态均衡方法, 其特征在于, 包括: 接收文件系统发送的表示每条 I/O 通道当前资源使用情况的资 源信息, 和表示每条 I/O通道设定的服务等级协议 SLA的 SLA信息; 查询 QoS知识库, 根据每条 I/O通道的所述 SLA信息, 匹配得 到各条 I/O通道所设定的 SLA对应的标准资源使用参数; 其中, 所述 QoS知识库中预先存储有各个 SLA对应的标准资源使用参数;  An I/O channel QoS dynamic equalization method, comprising: receiving resource information sent by a file system indicating current resource usage of each I/O channel, and indicating each I/O channel setting SLA information of the service level agreement SLA; querying the QoS knowledge base, and matching the standard resource usage parameters corresponding to the SLAs set by the respective I/O channels according to the SLA information of each I/O channel; The standard resource usage parameters corresponding to the respective SLAs are pre-stored in the QoS knowledge base;
根据各个 SLA对应的标准资源使用参数, 比对每条 I/O通道的 所述 SLA 信息、 所述资源信息, 确定出当前资源使用情况与标准资 源使用参数不匹配的 I/O通道;  And determining, according to the standard resource usage parameter corresponding to each SLA, the I/O channel that does not match the current resource usage parameter and the standard resource usage parameter by comparing the SLA information and the resource information of each I/O channel;
向所述文件系统发送指令, 以使所述文件系统根据 SLA对应的 标准资源使用参数, 调整所述不匹配的 I/O通道的资源使用。  And sending an instruction to the file system, so that the file system adjusts resource usage of the unmatched I/O channel according to a standard resource usage parameter corresponding to the SLA.
2、 根据权利要求 1 所述的方法, 其特征在于, 在所述接收文件 系统发送的表示每条 I / 0通道当前资源使用情况的资源信息, 和表示 每条 I/O通道设定的服务等级协议 SLA的 SLA信息之前, 还包括: 向文件系统发送情况请求消息,所述情况请求消息用于指示所述 文件系统反馈每条 I/O通道的所述资源信息与所述 SLA信息。  2. The method according to claim 1, wherein the resource information indicating the current resource usage of each I/O channel sent by the receiving file system, and the service indicated by each I/O channel are set. Before the SLA information of the level agreement SLA, the method further includes: sending a situation request message to the file system, where the situation request message is used to instruct the file system to feed back the resource information and the SLA information of each I/O channel.
3、 根据权利要求 2所述的方法, 其特征在于, 所述接收文件系 统发送的表示每条 I/O通道当前资源使用情况的资源信息, 和表示每 条 I/O通道设定的服务等级协议 SLA的 SLA信息包括:  The method according to claim 2, wherein the receiving file system sends resource information indicating current resource usage of each I/O channel, and indicating a service level set by each I/O channel. The SLA information of the protocol SLA includes:
在文件系统接收所述情况请求消息,根据所述情况请求消息的指 示通过底层硬件统计每条 I/O通道上当前的资源使用情况, 获取每条 I/O通道的所述资源信息与所述 SL A信息并反馈发送后, 接收所述资 源信息与所述 SLA信息。  Receiving, by the file system, the situation request message, and obtaining the resource information of each I/O channel and the After the SL A information is sent and fed back, the resource information and the SLA information are received.
4、 根据权利要求 1所述的方法, 其特征在于, 所述查询 QoS知 识库, 根据每条 I/O通道的所述 SLA信息, 匹配得到各条 I/O通道所 设定的 SLA对应的标准资源使用参数包括:  The method according to claim 1, wherein the querying the QoS knowledge base, according to the SLA information of each I/O channel, matching and obtaining the SLA corresponding to each I/O channel Standard resource usage parameters include:
根据每条 I/O通道的所述 SLA信息,构造每条 I/O通道对应的查 询请求消息, 所述查询请求消息包括对应 I/O通道的所述 SLA信息; 依次根据每条所述查询请求消息, 遍历所述 QoS 知识库, 获取 各所述查询请求消息分别对应的查询回复消息, 所述查询回复消息包 括相应 I/O通道的所述 SLA信息在所述 QoS知识库中对应的所述标 准资源使用参数。 Constructing, according to the SLA information of each I/O channel, a query request message corresponding to each I/O channel, where the query request message includes the SLA information corresponding to the I/O channel; And sequentially querying, according to each of the query request messages, the QoS knowledge base, a query reply message corresponding to each of the query request messages, where the query reply message includes the SLA information of the corresponding I/O channel. The corresponding standard resource usage parameter in the QoS knowledge base.
5、根据权利要求 1所述的方法,其特征在于,所述根据各个 SLA 对应的标准资源使用参数, 比对每条 I/O通道的所述 SLA信息、 所述 资源信息, 确定出当前资源使用情况与标准资源使用参数不匹配的 I/O通道包括:  The method according to claim 1, wherein the determining the current resource by comparing the SLA information and the resource information of each I/O channel according to a standard resource usage parameter corresponding to each SLA I/O channels whose usage does not match the standard resource usage parameters include:
获取每条 I/O通道对应资源信息所包含的参数项;  Obtaining the parameter items included in the corresponding resource information of each I/O channel;
分别将每条 I/O通道对应的参数项与本 I/O通道对应的标准资源 使用参数进行比较;  Comparing the parameter items corresponding to each I/O channel with the standard resource usage parameters corresponding to the I/O channel;
将所述参数项的值大于所述标准资源使用参数对应提供的值的 And the value of the parameter item is greater than a value corresponding to the standard resource usage parameter.
I/O通道确定为不匹配的 I/O通道。 The I/O channel is determined to be an unmatched I/O channel.
6、 一种 I/O通道 QoS动态均衡装置, 其特征在于, 包括: 接收单元, 用于接收文件系统发送的表示每条 I/O通道当前资源 使用情况的资源信息, 和表示每条 I/O通道设定的服务等级协议 SLA 的 SLA信息;  An I/O channel QoS dynamic equalization apparatus, comprising: a receiving unit, configured to receive resource information sent by a file system and indicating current resource usage of each I/O channel, and represent each I/ SLA information of the service level agreement SLA set by the O channel;
查询单元, 用于查询 QoS知识库,根据每条 I/O通道的所述 SLA 信息,匹配得到各条 I/O通道所设定的 SLA对应的标准资源使用参数; 其中, 所述 QoS知识库中预先存储有各个 SLA对应的标准资源使用 参数;  a query unit, configured to query a QoS knowledge base, and match, according to the SLA information of each I/O channel, a standard resource usage parameter corresponding to an SLA set by each I/O channel; wherein, the QoS knowledge base Pre-stored standard resource usage parameters corresponding to each SLA;
获取单元, 用于根据各个 SLA对应的标准资源使用参数, 比对 每条 I/O通道的所述 SLA信息、 所述资源信息, 确定出当前资源使用 情况与标准资源使用参数不匹配的 I/O通道;  And an obtaining unit, configured to compare, according to the standard resource usage parameter corresponding to each SLA, the SLA information and the resource information of each I/O channel, and determine that the current resource usage does not match the standard resource usage parameter. O channel;
指示单元, 用于向所述文件系统发送指令, 以使所述文件系统根 据 SLA对应的标准资源使用参数,调整所述不匹配的 I/O通道的资源 使用。  And an indication unit, configured to send an instruction to the file system, so that the file system adjusts resource usage of the unmatched I/O channel according to a standard resource usage parameter corresponding to the SLA.
7、 根据权利要求 6所述的装置, 其特征在于, 还包括:  7. The device according to claim 6, further comprising:
请求单元, 用于在所述接收单元接收文件系统发送的表示每条 I/O通道当前资源使用情况的资源信息, 和表示每条 I/O通道设定的 服务等级协议 SLA的 SLA信息之前,向文件系统发送情况请求消息, 所述情况请求消息用于指示所述文件系统反馈每条 I/O通道的所述资 源信息与所述 SLA信息。 a requesting unit, configured to receive, by the receiving unit, a representation sent by the file system a resource request information of the current resource usage of the I/O channel, and a SLA information indicating a service level agreement SLA set by each I/O channel, and sending a situation request message to the file system, where the situation request message is used to indicate the The file system feeds back the resource information and the SLA information of each I/O channel.
8、 根据权利要求 7所述的装置, 其特征在于, 所述接收单元具 体用于:  8. The device according to claim 7, wherein the receiving unit is configured to:
在文件系统接收所述情况请求消息,根据所述情况请求消息的指 示通过底层硬件统计每条 I/O通道上当前的资源使用情况, 获取每条 I/O通道的所述资源信息与所述 SL A信息并反馈发送后, 接收所述资 源信息与所述 SLA信息。  Receiving, by the file system, the situation request message, and obtaining the resource information of each I/O channel and the After the SL A information is sent and fed back, the resource information and the SLA information are received.
9、 根据权利要求 6所述的装置, 其特征在于, 所述查询单元具 体用于:  9. The apparatus according to claim 6, wherein the query unit is specifically configured to:
根据每条 I/O通道的所述 SLA信息,构造每条 I/O通道对应的查 询请求消息, 所述查询请求消息包括对应 I/O通道的所述 SLA信息; 依次根据每条所述查询请求消息, 遍历所述 QoS 知识库, 获取 各所述查询请求消息分别对应的查询回复消息, 所述查询回复消息包 括相应 I/O通道的所述 SLA信息在所述 QoS知识库中对应的所述标 准资源使用参数。  Configuring, according to the SLA information of each I/O channel, a query request message corresponding to each I/O channel, where the query request message includes the SLA information corresponding to the I/O channel; And the request message, traversing the QoS knowledge base, and obtaining a query reply message corresponding to each of the query request messages, where the query reply message includes the corresponding information of the SLA information of the corresponding I/O channel in the QoS knowledge base. Standard resource usage parameters.
10、 根据权利要求 6所述的装置, 其特征在于, 所述获取单元具 体用于:  10. The device according to claim 6, wherein the obtaining unit is specifically configured to:
获取每条 I/O通道对应资源信息所包含的参数项;  Obtaining the parameter items included in the corresponding resource information of each I/O channel;
分别将每条 I/O通道对应的参数项与本 I/O通道对应的标准资源 使用参数进行比较;  Comparing the parameter items corresponding to each I/O channel with the standard resource usage parameters corresponding to the I/O channel;
将所述参数项的值大于所述标准资源使用参数对应提供的值的 And the value of the parameter item is greater than a value corresponding to the standard resource usage parameter.
I/O通道确定为不匹配的 I/O通道。 The I/O channel is determined to be an unmatched I/O channel.
1 1、 一种 I/O通道 QoS动态均衡装置, 其特征在于, 包括: 总线、 以及连接到所述总线的处理器、 存储器和接口; 所述存储器用于存储 指令; 所述处理器执行所述指令用于:  1 1. An I/O channel QoS dynamic equalization apparatus, comprising: a bus, and a processor, a memory, and an interface connected to the bus; the memory is configured to store an instruction; The instructions are used to:
接收文件系统发送的表示每条 I/O 通道当前资源使用情况的资 源信息, 和表示每条 I/O通道设定的服务等级协议 SLA的 SLA信息; 查询 QoS知识库, 根据每条 I/O通道的所述 SLA信息, 匹配得 到各条 I/O通道所设定的 SLA对应的标准资源使用参数; 其中, 所述Receives the data sent by the file system indicating the current resource usage of each I/O channel. Source information, and SLA information indicating a service level agreement SLA set for each I/O channel; querying the QoS knowledge base, matching each of the I/O channels according to the SLA information of each I/O channel a standard resource usage parameter corresponding to the determined SLA;
QoS知识库中预先存储有各个 SLA对应的标准资源使用参数; The standard resource usage parameters corresponding to each SLA are pre-stored in the QoS knowledge base;
根据各个 SLA对应的标准资源使用参数, 比对每条 I/O通道的 所述 SLA 信息、 所述资源信息, 确定出当前资源使用情况与标准资 源使用参数不匹配的 I/O通道;  And determining, according to the standard resource usage parameter corresponding to each SLA, the I/O channel that does not match the current resource usage parameter and the standard resource usage parameter by comparing the SLA information and the resource information of each I/O channel;
向所述文件系统发送指令, 以使所述文件系统根据 SLA对应的 标准资源使用参数, 调整所述不匹配的 I/O通道的资源使用。  And sending an instruction to the file system, so that the file system adjusts resource usage of the unmatched I/O channel according to a standard resource usage parameter corresponding to the SLA.
12、 根据权利要求 11 所述的装置, 其特征在于, 在所述接收文 件系统发送的表示每条 I / 0通道当前资源使用情况的资源信息, 和表 示每条 I/O通道设定的服务等级协议 SLA的 SLA信息之前, 所述处 理器执行所述指令具体用于:  12. The apparatus according to claim 11, wherein the resource information indicating the current resource usage of each I/O channel sent by the receiving file system, and the service indicated by each I/O channel are set. Before the SLA information of the level agreement SLA, the processor executes the instruction specifically for:
向文件系统发送情况请求消息,所述情况请求消息用于指示所述 文件系统反馈每条 I/O通道的所述资源信息与所述 SLA信息。  Sending a situation request message to the file system, the situation request message is used to instruct the file system to feed back the resource information and the SLA information of each I/O channel.
13、 根据权利要求 12所述的装置, 其特征在于, 所述处理器执 行所述指令具体用于:  The device according to claim 12, wherein the processor executes the instruction specifically for:
在文件系统接收所述情况请求消息,根据所述情况请求消息的指 示通过底层硬件统计每条 I/O通道上当前的资源使用情况, 获取每条 I/O通道的所述资源信息与所述 SL A信息并反馈发送后, 接收所述资 源信息与所述 SLA信息。  Receiving, by the file system, the situation request message, and obtaining the resource information of each I/O channel and the After the SL A information is sent and fed back, the resource information and the SLA information are received.
14、 根据权利要求 11 所述的装置, 其特征在于, 所述处理器执 行所述指令具体用于:  The device according to claim 11, wherein the processor executes the instruction specifically for:
根据每条 I/O通道的所述 SLA信息,构造每条 I/O通道对应的查 询请求消息, 所述查询请求消息包括对应 I/O通道的所述 SLA信息; 依次根据每条所述查询请求消息, 遍历所述 QoS 知识库, 获取 各所述查询请求消息分别对应的查询回复消息, 所述查询回复消息包 括相应 I/O通道的所述 SLA信息在所述 QoS知识库中对应的所述标 准资源使用参数。 Configuring, according to the SLA information of each I/O channel, a query request message corresponding to each I/O channel, where the query request message includes the SLA information corresponding to the I/O channel; And the request message, traversing the QoS knowledge base, and obtaining a query reply message corresponding to each of the query request messages, where the query reply message includes the corresponding information of the SLA information of the corresponding I/O channel in the QoS knowledge base. Standard resource usage parameters.
15、 根据权利要求 1 1 所述的装置, 其特征在于, 所述处理器执 行所述指令具体用于: The device according to claim 1, wherein the processor executes the instruction specifically for:
获取每条 I/O通道对应资源信息所包含的参数项;  Obtaining the parameter items included in the corresponding resource information of each I/O channel;
分别将每条 I/O通道对应的参数项与本 I/O通道对应的标准资源 使用参数进行比较;  Comparing the parameter items corresponding to each I/O channel with the standard resource usage parameters corresponding to the I/O channel;
将所述参数项的值大于所述标准资源使用参数对应提供的值的 I/O通道确定为不匹配的 I/O通道。  An I/O channel whose value of the parameter item is greater than a value corresponding to the standard resource usage parameter is determined as an unmatched I/O channel.
PCT/CN2014/083225 2014-07-29 2014-07-29 Dynamic equilibrium method and apparatus for qos of i/o channel WO2016015223A1 (en)

Priority Applications (2)

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
CN201480037434.7A CN105519055B (en) 2014-07-29 2014-07-29 A kind of channel I/O QoS method for dynamically balancing and device

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 (1)

Publication Number Publication Date
WO2016015223A1 true WO2016015223A1 (en) 2016-02-04

Family

ID=55216590

Family Applications (1)

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

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 (2)

* 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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN103905340B (en) * 2012-12-26 2017-05-31 中国电信股份有限公司 Internet resources collaborative allocation, device and Internet

Patent Citations (2)

* 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

Also Published As

Publication number Publication date
CN105519055A (en) 2016-04-20
CN105519055B (en) 2019-03-01

Similar Documents

Publication Publication Date Title
US11832142B2 (en) Technologies for an automated application exchange in wireless networks
US11456930B2 (en) Network resource management method, apparatus, and system
US10848366B2 (en) Network function management method, management unit, and system
US10798646B2 (en) Network slice determining method and system, and apparatus
US11221763B2 (en) Disk lock management method, apparatus, and system
WO2018058579A1 (en) Method for managing network slice and management unit
WO2018059222A1 (en) File slice uploading method and apparatus, and cloud storage system
WO2019237594A1 (en) Session persistence method and apparatus, and computer device and storage medium
US9379996B2 (en) Bandwidth virtualization
KR101880407B1 (en) Resource management method, host, and endpoint
WO2014194869A1 (en) Request processing method, device and system
JP5466723B2 (en) Host providing system and communication control method
WO2020108507A1 (en) Method and system for providing metadata information of a network function service and related device
US20220222016A1 (en) Method for accessing solid state disk and storage device
US20230161541A1 (en) Screen projection method and system
US11316916B2 (en) Packet processing method, related device, and computer storage medium
WO2016015223A1 (en) Dynamic equilibrium method and apparatus for qos of i/o channel
CN111586140A (en) Data interaction method and server
WO2019184107A1 (en) System and method for establishing data transmission channel, network storage apparatus, server, and storage medium
CN111901386B (en) Method, system, equipment and readable storage medium for processing remote files
WO2017000803A1 (en) Method for implementing application and service controller
US20170111256A1 (en) Hierarchical query response limiter
CN109417561B (en) Distributed resource management method and system
US20230081774A1 (en) Method and Network Node for QoS Notification
WO2015096158A1 (en) Storage device management method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14898378

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14898378

Country of ref document: EP

Kind code of ref document: A1