WO2016015223A1 - Procédé et appareil d'équilibre dynamique pour la qualité de service de canal d'entrée/sortie - Google Patents

Procédé et appareil d'équilibre dynamique pour la qualité de service de canal d'entrée/sortie 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
English (en)
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/fr
Priority to CN201480037434.7A priority patent/CN105519055B/zh
Publication of WO2016015223A1 publication Critical patent/WO2016015223A1/fr

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

L'invention concerne un procédé et un appareil d'équilibre dynamique pour la qualité de service (QoS) d'un canal d'entrée/sortie, qui ont trait au domaine technique des ordinateurs, ainsi qu'une solution de réglage de conditions d'utilisation de ressources de canal d'entrée/sortie permettant de résoudre le problème lié au fait que la demande en qualité de service de services donnés ne peut pas être satisfaite. Le procédé selon l'invention consiste : à acquérir des informations de ressources et des informations d'accord de niveau de service (SLA) de chaque canal d'entrée/sortie ; à interroger une base de connaissances de QoS pour acquérir un paramètre d'utilisation de ressources standard correspondant à chaque canal d'entrée/sortie ; à déterminer ensuite un canal d'entrée/sortie dont les conditions d'utilisation de ressources courantes ne correspondent pas au paramètre d'utilisation de ressources standard, au moyen d'une comparaison ; et à donner pour instruction à un système de fichiers d'effectuer un réglage de ressources sur le canal d'entrée/sortie ne correspondant pas. Les modes de réalisation de la présente invention servent à mettre en oeuvre l'équilibre dynamique de la qualité de service d'un canal d'entrée/sortie.
PCT/CN2014/083225 2014-07-29 2014-07-29 Procédé et appareil d'équilibre dynamique pour la qualité de service de canal d'entrée/sortie WO2016015223A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2014/083225 WO2016015223A1 (fr) 2014-07-29 2014-07-29 Procédé et appareil d'équilibre dynamique pour la qualité de service de canal d'entrée/sortie
CN201480037434.7A CN105519055B (zh) 2014-07-29 2014-07-29 一种I/O通道QoS动态均衡方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/083225 WO2016015223A1 (fr) 2014-07-29 2014-07-29 Procédé et appareil d'équilibre dynamique pour la qualité de service de canal d'entrée/sortie

Publications (1)

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

Family

ID=55216590

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/083225 WO2016015223A1 (fr) 2014-07-29 2014-07-29 Procédé et appareil d'équilibre dynamique pour la qualité de service de canal d'entrée/sortie

Country Status (2)

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

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304993B (zh) * 2018-01-05 2022-04-29 创新先进技术有限公司 一种业务执行的方法及装置
CN113612685B (zh) 2018-06-29 2023-03-28 华为技术有限公司 网络优化方法、系统及网络设备
CN111708496A (zh) * 2020-06-19 2020-09-25 广州市品高软件股份有限公司 一种读写请求的调度方法、存储介质以及分布式存储系统

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 (zh) * 2012-12-26 2017-05-31 中国电信股份有限公司 网络资源协同分配方法、装置及互联网网络

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
CN105519055B (zh) 2019-03-01
CN105519055A (zh) 2016-04-20

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
US10798646B2 (en) Network slice determining method and system, and apparatus
US10419531B2 (en) Method for setting gateway device identity, and management gateway device
US20190268213A1 (en) Network function management method, management unit, and system
WO2018059222A1 (fr) Procédé et appareil de téléchargement en amont de tranche de fichier, et système de stockage en nuage
WO2018058579A1 (fr) Procédé de gestion de tranche de réseau et unité de gestion
WO2019237594A1 (fr) Procédé et appareil de persistance de session, dispositif informatique et support de données
US9379996B2 (en) Bandwidth virtualization
KR101880407B1 (ko) 리소스 관리 방법, 호스트 및 엔드포인트
WO2014194869A1 (fr) Procédé, dispositif et système de traitement d'une demande
US20190235756A1 (en) Disk lock management method, apparatus, and system
JP5466723B2 (ja) ホスト提供システム及び通信制御方法
US20220222016A1 (en) Method for accessing solid state disk and storage device
US20230161541A1 (en) Screen projection method and system
US20230081774A1 (en) Method and Network Node for QoS Notification
US20210084100A1 (en) Packet Processing Method, Related Device, and Computer Storage Medium
CN111586140A (zh) 一种数据交互的方法及服务器
WO2016015223A1 (fr) Procédé et appareil d'équilibre dynamique pour la qualité de service de canal d'entrée/sortie
WO2019184107A1 (fr) Système et procédé d'établissement de canal de transmission de données, appareil de stockage de réseau, serveur et support de stockage
CN112491951B (zh) 对等网络中的请求处理方法、服务器及存储介质
US20170111256A1 (en) Hierarchical query response limiter
CN109417561B (zh) 分布式资源管理方法和系统
WO2018082574A1 (fr) Procédé d'envoi d'informations, unité, et système
KR102526770B1 (ko) 추가의 네트워크 주소 변환 테이블을 참조하여 빠른 패킷 포워딩을 제공하는 전자 장치

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