CN110688220B - Method and device for regulating and controlling I/O (input/output) - Google Patents

Method and device for regulating and controlling I/O (input/output) Download PDF

Info

Publication number
CN110688220B
CN110688220B CN201910837512.6A CN201910837512A CN110688220B CN 110688220 B CN110688220 B CN 110688220B CN 201910837512 A CN201910837512 A CN 201910837512A CN 110688220 B CN110688220 B CN 110688220B
Authority
CN
China
Prior art keywords
request
queue
connection
requests
priority
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910837512.6A
Other languages
Chinese (zh)
Other versions
CN110688220A (en
Inventor
杨智广
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Inspur Smart Computing Technology Co Ltd
Original Assignee
Guangdong Inspur Big Data Research Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Inspur Big Data Research Co Ltd filed Critical Guangdong Inspur Big Data Research Co Ltd
Priority to CN201910837512.6A priority Critical patent/CN110688220B/en
Publication of CN110688220A publication Critical patent/CN110688220A/en
Application granted granted Critical
Publication of CN110688220B publication Critical patent/CN110688220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method for regulating and controlling I/O (input/output), which comprises the following steps: in a preset regulation and control period, acquiring a preset I/O queue in a system, and determining a first numerical value which can be connected with an I/O request in the I/O queue; when the I/O queue does not have connected I/O requests, establishing connection for the I/O requests according to the first numerical value and the first connection priority of the I/O requests in the I/O queue; when connected I/O requests exist in the I/O queue, adjusting the sorting priority of the connected I/O requests, and determining a second connection priority of the unconnected I/O requests in the I/O queue; and comparing the first numerical value with a second numerical value of the I/O request connected in the I/O queue, and executing a corresponding connection strategy on the I/O request according to a comparison result so as to realize the regulation and control of the I/O connection state in the I/O queue and avoid the connection in the I/O queue from occupying excessive system resources.

Description

Method and device for regulating and controlling I/O (input/output)
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for regulating and controlling I/O.
Background
With the development of science and technology, people increasingly depend on computers to perform complex operations. In order to meet the use requirements of people, a plurality of processes are generally existed in the computer operating system. In the current computer operating system, the concurrency is high, that is, the system can process many requests in parallel at the same time through design guarantee.
In the current computer operating system, if a preemptive process and thread scheduling mode are adopted, under the conditions of high concurrency and high load, the operating system tends to utilize more hardware resources to support the operation of the process, and generally, hardware resources such as a central processing unit, a graphics processing unit, a memory, and an Input/Output (I/O) bus in the computer operating system cannot run at the same time under the high load, but under the application scenario of high concurrency, the I/O often causes a barrel effect. In a computer operating system, if the I/O load of some program in the system is in a high-occupancy ratio for a long time, other programs cannot run effectively, which may cause adverse effects on the normal operation of the computer system in a high-concurrency and high-load environment.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method for regulating and controlling I/O, so as to solve the problem that I/O loads of some programs in a system occupy system resources for a long time and affect normal operations of other programs.
The embodiment of the invention also provides a device for regulating and controlling the I/O, which is used for ensuring the practical realization and application of the method.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a method of regulating I/O, comprising:
in a preset regulation and control period, acquiring an I/O queue preset in a system, and determining a first numerical value which can be connected with an I/O request in the I/O queue, wherein the I/O queue comprises at least one intercepted I/O request;
judging whether connected I/O requests exist in the I/O queue;
if the I/O queue does not have connected I/O requests, determining a first connection priority of each I/O request in the I/O queue, determining I/O requests which can be connected in the I/O queue according to the first connection priority and the first numerical value, and creating connection for the I/O requests which can be connected;
determining a second value of the connected I/O requests in the I/O queue and a priority of the ordering of each connected I/O request if there are connected I/O requests in the I/O queue;
adjusting the sorting priority of each connected I/O request according to a preset adjusting strategy, and determining a second connection priority of each unconnected I/O request in the I/O queue;
and comparing the first numerical value with the second numerical value, and executing a corresponding connection strategy according to a comparison result so as to complete regulation and control of I/O connection in the system.
Optionally, the method described above, wherein the process of intercepting the intercepted I/O request includes:
when a system program responds to user operation and initiates an I/O request, acquiring a characteristic index of the I/O request, and judging whether the characteristic index of the I/O request is a preset high-load characteristic index or not;
and when the characteristic index of the I/O request is a preset high-load characteristic index, intercepting the I/O request and transferring the intercepted I/O request into the I/O queue.
Optionally, the method for determining whether there is a connected I/O request in the I/O queue includes:
and judging whether each I/O request in the I/O queue establishes corresponding I/O connection in the system, and if at least one I/O request in the I/O queue establishes corresponding I/O connection in the system, judging that the I/O queue has connected I/O requests.
Optionally, the method for determining a first connection priority of each I/O request in the I/O queue includes:
performing snapshot analysis on the I/O queue, acquiring a characteristic parameter corresponding to each I/O request in the I/O queue, determining the arrangement sequence of each I/O request in the I/O queue based on a preset ordering strategy and the characteristic parameter corresponding to each I/O request, and determining the first connection priority of each I/O request in the I/O queue based on the arrangement sequence of each I/O request in the I/O queue.
Optionally, the determining the sorting priority of each connected I/O request in the I/O queue includes:
and performing snapshot analysis on the I/O queue, acquiring the arrangement sequence of each connected I/O request in the connected I/O requests, and determining the sequencing priority of each connected I/O request.
Optionally, the method described above, where the preset adjustment policy includes:
performing snapshot analysis on the I/O queue to obtain connection information of each connected I/O request, wherein the connection information comprises the size of a buffer area of the I/O connection corresponding to the connected I/O request and the running time of the I/O connection;
when the size of the buffer area of the I/O connection corresponding to the connected I/O request is smaller than a preset first threshold value within a preset time length, improving the sequencing priority of the connected I/O request;
or
When the running time of the I/O connection corresponding to the connected I/O request is greater than a preset second threshold value, the sequencing priority of the connected I/O request is increased;
or
And when the size of the buffer area of the I/O connection corresponding to the connected I/O request is larger than a preset third threshold value, fusing the I/O connection.
Further, the preset adjustment strategy includes:
performing snapshot analysis on the I/O queue to obtain connection information of each connected I/O request, wherein the connection information comprises the size of a buffer area of the I/O connection corresponding to the connected I/O request and the running time of the I/O connection;
when the size of the buffer area of the I/O connection corresponding to the connected I/O request is smaller than a preset first threshold value within a preset time length, improving the sequencing priority of the connected I/O request;
and/or
When the running time of the I/O connection corresponding to the connected I/O request is greater than a preset second threshold value, the sequencing priority of the connected I/O request is improved;
and/or
And when the size of the buffer area of the I/O connection corresponding to the connected I/O request is larger than a preset third threshold value, fusing the I/O connection.
The method above, optionally, the determining the second connection priority of each unconnected I/O request includes:
performing snapshot analysis on the I/O queue, acquiring a characteristic parameter corresponding to each unconnected I/O request, determining the arrangement order of each unconnected I/O request in the unconnected I/O requests based on a preset ordering policy and the characteristic parameter of each unconnected I/O request, and determining a second connection priority of each unconnected I/O request based on the arrangement order of each unconnected I/O request in the unconnected I/O requests.
Optionally, the comparing the first numerical value with the second numerical value, and executing a corresponding connection policy according to a comparison result includes:
comparing the magnitude of the first value with the magnitude of the second value;
when the first numerical value is smaller than the second numerical value, determining a connected I/O request to be suspended based on the sorting priority of the connected I/O request, the first numerical value and the second numerical value, and suspending the I/O connection corresponding to the connected I/O request to be suspended;
when the first numerical value is larger than a second numerical value, obtaining pause information of I/O requests which are paused and connected in the I/O queue and a second connection priority of I/O requests which are not paused in the I/O queue, and based on the first numerical value, the second numerical value, the pause information and the second connection priority, recovering I/O connections corresponding to the I/O requests which are paused and connected and/or establishing corresponding I/O connections for the I/O requests which are not paused; the suspension information includes a number of suspended I/O requests for connections that have been suspended in the I/O queue and a suspension order for each suspended I/O request.
The method above, optionally, the determining a first value of a connectible I/O request in the system includes:
load information of the overall I/O load in the system is obtained, and a first value of the connectable I/O requests in the I/O queue is determined based on the load information.
An apparatus for regulating I/O, comprising:
the device comprises a queue obtaining unit, a queue processing unit and a queue processing unit, wherein the queue obtaining unit is used for obtaining an I/O queue preset in a system in a preset regulation and control period and determining a first numerical value which can be connected with an I/O request in the I/O queue, and the I/O queue comprises at least one intercepted I/O request;
a connection judging unit, configured to judge whether there is a connected I/O request in the I/O queue;
a connection creating unit, configured to determine a first connection priority of each I/O request in the I/O queue when there is no connected I/O request in the I/O queue, determine an I/O request that can be connected in the I/O queue according to the first connection priority and the first value, and create a connection for the I/O request that can be connected;
a connected unit for determining a second value of connected I/O requests in the I/O queue and a priority of ordering of each connected I/O request when there are connected I/O requests in the I/O queue;
an adjusting unit, configured to adjust the sorting priority of each connected I/O request according to a preset adjustment policy, and determine a second connection priority of each unconnected I/O request in the I/O queue;
and the regulation and control unit is used for comparing the first numerical value with the second numerical value and executing a corresponding connection strategy according to a comparison result so as to regulate and control the I/O connection in the system.
The above apparatus, optionally, the queue obtaining unit includes:
the system comprises an interception subunit, a processing unit and a control unit, wherein the interception subunit is used for acquiring a characteristic index of an I/O request when a system program responds to a user operation and initiates the I/O request, and judging whether the characteristic index of the I/O request is a preset high-load characteristic index or not;
and when the characteristic index of the I/O request is a preset high-load characteristic index, intercepting the I/O request and transferring the intercepted I/O request into the I/O queue.
The above apparatus, optionally, the connection determining unit includes:
and the judging subunit is configured to judge whether each I/O request in the I/O queue establishes a corresponding I/O connection in the system, and if at least one I/O request in the I/O queue establishes a corresponding I/O connection in the system, judge that the I/O queue has a connected I/O request.
The above apparatus, optionally, the connection creating unit includes:
the first priority subunit is configured to perform snapshot analysis on the I/O queue, obtain a characteristic parameter corresponding to each I/O request in the I/O queue, determine an arrangement order of each I/O request in the I/O queue based on a preset ordering policy and the characteristic parameter corresponding to each I/O request, and determine a first connection priority of each I/O request in the I/O queue based on the arrangement order of each I/O request in the I/O queue.
The above apparatus, optionally, the connected unit, includes:
and the priority ordering subunit is used for performing snapshot analysis on the I/O queue, acquiring the arrangement sequence of each connected I/O request in the connected I/O requests, and determining the priority ordering of each connected I/O request.
The above apparatus, optionally, the adjusting unit includes:
the adjusting subunit is configured to perform snapshot analysis on the I/O queue, and obtain connection information of each connected I/O request, where the connection information includes a buffer size of an I/O connection corresponding to the connected I/O request and a running time of the I/O connection;
when the size of the buffer area of the I/O connection corresponding to the connected I/O request is smaller than a preset first threshold value within a preset time length, improving the sequencing priority of the connected I/O request;
or
When the running time of the I/O connection corresponding to the connected I/O request is greater than a preset second threshold value, the sequencing priority of the connected I/O request is increased;
or
And when the size of the buffer area of the I/O connection corresponding to the connected I/O request is larger than a preset third threshold value, fusing the I/O connection.
The above apparatus, optionally, the adjusting unit includes:
the second priority subunit is configured to perform snapshot analysis on the I/O queue, obtain a feature parameter corresponding to each unconnected I/O request, determine, based on a preset ordering policy and the feature parameter of each unconnected I/O request, an order of each unconnected I/O request in the unconnected I/O request, and determine, based on the order of each unconnected I/O request in the unconnected I/O request, a second connection priority of each unconnected I/O request.
The above device, optionally, the regulating unit includes:
the regulating subunit is used for comparing the numerical value of the first numerical value with the numerical value of the second numerical value;
when the first numerical value is smaller than a second numerical value, determining a connected I/O request to be suspended based on the sequencing priority of the connected I/O request, the first numerical value and the second numerical value, and suspending the I/O connection corresponding to the connected I/O request to be suspended;
when the first numerical value is larger than a second numerical value, obtaining pause information of I/O requests which are paused and connected in the I/O queue and a second connection priority of I/O requests which are not paused in the I/O queue, and based on the first numerical value, the second numerical value, the pause information and the second connection priority, recovering I/O connections corresponding to the I/O requests which are paused and connected and/or creating corresponding I/O connections for the I/O requests which are not paused; the suspension information includes a number of suspended I/O requests for connections that have been suspended in the I/O queue and a suspension order for each suspended I/O request.
The above apparatus, optionally, the queue obtaining unit includes:
and the first value subunit is used for acquiring the load information of the whole I/O load in the system and determining a first value of the connectable I/O request in the I/O queue based on the load information.
The method for regulating and controlling the I/O provided by the embodiment of the invention comprises the following steps: in a preset regulation and control period, acquiring an I/O queue preset in a system, and determining a first numerical value which can be connected with an I/O request in the I/O queue, wherein the I/O queue comprises at least one intercepted I/O request; judging whether connected I/O requests exist in the I/O queue; if the I/O queue does not have connected I/O requests, determining a first connection priority of each I/O request in the I/O queue, determining I/O requests which can be connected in the I/O queue according to the first connection priority and the first numerical value, and creating connection for the I/O requests which can be connected; determining a second value of the connected I/O requests in the I/O queue and a priority of the ordering of each connected I/O request if there are connected I/O requests in the I/O queue; adjusting the sorting priority of each connected I/O request according to a preset adjusting strategy, and determining a second connection priority of each unconnected I/O request in the I/O queue; and comparing the first numerical value with the second numerical value, and executing a corresponding connection strategy according to a comparison result so as to complete regulation and control of I/O connection in the system.
The method for regulating and controlling the I/O can regulate and control the I/O request meeting certain conditions in the system by transferring the I/O request into an I/O queue. Determining I/O requests which can be connected in the I/O queue by combining I/O load conditions in a system. If the I/O queue occupies a certain proportion of resources in the system and may affect other I/O requests to normally use system resources to execute operations, the I/O connection corresponding to the connected I/O request in the I/O queue may be suspended and the like through a preset connection strategy, thereby controlling the condition that the I/O queue occupies system resource load. The method for regulating and controlling the I/O provided by the embodiment of the invention can ensure that the I/O request which possibly causes high load in the system can not occupy system resources for a long time and influence the normal operation of other I/O requests, and is beneficial to maintaining the normal operation of the system in a high-concurrency and high-load environment.
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 description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart of a method for regulating I/O according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for regulating I/O according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an I/O control apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for regulating I/O according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The proper operation of programs in a computer system is important to the everyday operation of the system. Each program in the system initiates each I/O request in response to a user operation, establishes an I/O connection for the I/O request to execute the I/O request, and occupies a certain I/O load in the system. However, some of the I/O requests may have I/O requests that need to occupy more I/O load, which causes the I/O load in the system to be too high, and if the I/O resources in the system are allocated to these I/O requests for a long time, there may not be enough I/O resources in the system to respond to other I/O requests, which causes the program initiating the other I/O requests to fail to operate normally.
Therefore, the embodiment of the invention regulates and controls the I/O request with high load characteristic in the system by combining the I/O load condition in the system and according to the preset strategy, thereby avoiding that other programs cannot normally run because the I/O requests of some programs occupy the I/O load for a long time so as to maintain the normal operation of the computer.
Fig. 1 shows a flowchart of a method for regulating I/O according to an embodiment of the present invention, where the method includes:
s101: in a preset regulation and control period, acquiring an I/O queue preset in a system, and determining a first numerical value which can be connected with an I/O request in the I/O queue, wherein the I/O queue comprises at least one intercepted I/O request;
in the method provided by the embodiment of the invention, the regulation and control can be performed by presetting a regulation and control period, for example, setting a certain time interval, and when the regulation and control time is reached, the I/O queue preset in the system is obtained to perform subsequent regulation and control operation. The method includes that a preset I/O queue in a system includes intercepted I/O requests, where the intercepted I/O requests may be I/O requests meeting preset conditions, for example, I/O requests initiated by certain preset types of programs, or I/O requests whose characteristic indexes meet preset conditions, and for example, the characteristic indexes may be indexes reflecting a load size that the I/O requests need to occupy, such as a size of a data block that the I/O requests need to obtain, or a type of an operation corresponding to the I/O requests; the predetermined condition may be a predetermined characteristic indicator of high load, for example, the predetermined characteristic indicator of high load includes that the size of the data block to be obtained is larger than x bytes, when the program initiates an I/O request, the size of the data block to be obtained of the I/O request is y bytes, and y is larger than b, the I/O request is intercepted and put into the I/O queue. After an I/O queue preset in a system is obtained, a first numerical value which can be connected with an I/O request in the I/O queue is determined. For the first value, the first value may be determined by combining the obtained I/O load condition in the system, for example, a ratio of the load of the I/O request in the I/O queue occupying the overall I/O load may be obtained, how many I/O requests in the I/O queue may establish corresponding I/O connections is determined according to the ratio, and the number of I/O requests that may establish connections is taken as the first value.
S102: judging whether connected I/O requests exist in the I/O queue;
in the method provided by the embodiment of the present invention, after the I/O queue is obtained, it may be determined whether a connected I/O request exists in the I/O queue. Whether connected I/O requests exist in the I/O queue can be judged by judging whether each I/O request in the I/O queue establishes corresponding I/O connection in the system or not, and if at least one I/O request exists in the I/O queue and corresponding I/O connection is established in the system, the I/O queue is judged to have the connected I/O requests. Or by obtaining I/O connection information in a system, where the I/O connection information includes I/O requests corresponding to the I/O connections, if at least one of the I/O requests corresponding to the I/O connections belongs to an I/O request in the I/O queue, it is determined that there is a connected I/O request in the I/O queue.
S103: if the I/O queue does not have connected I/O requests, determining a first connection priority of each I/O request in the I/O queue, determining I/O requests which can be connected in the I/O queue according to the first connection priority and the first numerical value, and creating connection for the I/O requests which can be connected;
in the method provided by the embodiment of the present invention, when it is determined whether a connected I/O request exists in the I/O queue, and the connected I/O request does not exist in the I/O queue, it is determined that the I/O request in the I/O queue is an I/O request for which an I/O connection is not established in a system. At this time, the first connection priority of each I/O request in the I/O queue may be determined, the I/O requests that can be connected in the I/O queue may be determined according to the first connection priority and the first value, and a connection may be created for the I/O requests that can be connected. The first connection priority may be determined by an order of each I/O request in an I/O queue, and the order may be sorted according to an order in which each I/O request is transferred to the I/O queue, or may be sorted by a preset connection requirement. For example, there are ten I/O requests in the I/O queue arranged in order, and according to the arrangement of the I/O requests, it may be determined that the first connection priority of the I/O request arranged in front of the I/O queue is higher than the first connection priority of the I/O request arranged in back of the I/O queue. If it is determined that the first value of the connectable I/O requests in the I/O queue is five, the first five I/O requests with the highest first connection priority level of the I/O requests in the I/O queue, that is, the I/O requests ranked in the first to fifth I/O queues may be determined, I/O connections may be established, and I/O connections may be established for the five I/O requests.
S104: determining a second value of the connected I/O requests in the I/O queue and a priority of the ordering of each connected I/O request if there are connected I/O requests in the I/O queue;
in the method provided by the embodiment of the present invention, when it is determined whether there is a connected I/O request in the I/O queue, and the connected I/O request exists in the I/O queue, a second number of the connected I/O requests in the I/O queue is determined, and a priority of ordering of each connected I/O request is determined. Determining a second value of the I/O requests connected in the I/O queue, determining whether each I/O request establishes a corresponding I/O connection in the system by acquiring I/O request information in the I/O queue, acquiring the number of the I/O requests establishing corresponding I/O connections in the system, and taking the number of the I/O requests establishing corresponding I/O connections as the second value. The determining of the priority of each connected I/O request may be performed by performing snapshot analysis on the I/O queue to obtain an ordering order of each connected I/O request, and determining the priority of each connected I/O request according to the ordering order of each connected I/O request in the connected I/O requests, for example, determining the priority of each connected I/O request according to the ordering order from front to back, where the corresponding ordering priority is from high to low, that is, the ordering priority of a preceding connected I/O request is higher than the ordering priority of a succeeding connected I/O request. The connected I/O requests may be arranged in sequence according to the time for establishing I/O for the I/O requests, or in sequence according to a preset requirement.
S105: adjusting the sorting priority of each connected I/O request according to a preset adjusting strategy, and determining a second connection priority of each unconnected I/O request in the I/O queue;
in the method provided by the embodiment of the present invention, the sorting priority of each connected I/O request may be adjusted according to a preset adjustment policy, and a second connection priority of each unconnected I/O request in the I/O queue is determined; the preset adjustment strategy can be a strategy set by preferentially processing certain I/O requests or delaying processing of certain I/O requests according to requirements, or a strategy for stopping processing of certain I/O requests. For example, the priority of the connected I/O requests may be adjusted according to the operation condition of the connected I/O requests, such as the operation time of the I/O connection corresponding to the connected I/O request, and the size of the buffer of the corresponding I/O connection, or the priority of the connected I/O requests may be stopped, that is, the I/O connection corresponding to the connected I/O request is blown, and the blown connected I/O request is moved out of the I/O queue. The adjustment policy may be a single adjustment policy, or may be a set of multiple adjustment policies. The determining the second connection priority of each unconnected I/O request in the I/O queue may determine the second connection priority of each unconnected I/O request by obtaining a rank order of each unconnected I/O connection in the I/O queue in the unconnected I/O request. The ranking order may be sorted according to the order in which each unconnected I/O request is shifted to the unconnected I/O request, or may be sorted by a preset connection requirement.
S106: and comparing the first numerical value with the second numerical value, and executing a corresponding connection strategy according to a comparison result so as to complete regulation and control of I/O connection in the system.
In the method provided by the embodiment of the present invention, the first numerical value and the second numerical value may be compared, and a corresponding connection policy is executed according to the comparison result, so as to complete the regulation and control of the I/O connection in the system. The first value may be a number of I/O requests that may be allowed to be connected in the I/O queue in connection with a load condition of the system, and the second value may be a number of I/O requests that may be already connected in the I/O queue. The comparing may be comparing the magnitude of the first value with the magnitude of the second value; the connection policy may suspend an I/O connection corresponding to a connected I/O request, may restore a connection to an I/O connection corresponding to a suspended I/O request, or may establish a corresponding I/O connection for an unconnected I/O request in the I/O queue. For example, by combining the load condition of the system, a first value of seven is obtained, that is, seven I/O requests in the I/O queue are allowed to have corresponding I/O connections established in the system, and nine connected I/O requests exist in the I/O queue, that is, a second value of nine; comparing the first value with the second value to obtain that the first value is smaller than the second value, for example, the preset connection policy is to suspend the I/O connection corresponding to the connected I/O request based on the first value and the second value when the first value is smaller than the second value; then, corresponding suspension operation needs to be performed on the I/O requests connected to the I/O queue, for example, the I/O connection corresponding to the two connected I/O requests with the lowest priority in the connected I/O requests may be suspended.
Based on the method for regulating and controlling the I/O provided by the embodiment of the invention, the preset I/O queue in the system can be obtained, and the preset I/O queue can be a queue containing the I/O request which is judged to have the high load characteristic. The number of the I/O requests of the allowable connection in the I/O queue can be determined by combining the load condition in the system, and the I/O connection corresponding to the I/O request in the I/O queue is adjusted. The corresponding adjustment strategy can be preset according to the requirement, and the priority level of the I/O request in the I/O queue is adjusted to determine the priority level of the connection established by the I/O request or the priority level of the connection maintained by the I/O request. The method provided by the embodiment of the invention can regulate and control the I/O request with high load characteristic by combining the I/O load condition in the system, and when the I/O request with high load characteristic of the system occupies excessive I/O load, the I/O connection corresponding to the I/O request with high load characteristic can be suspended or fused to release certain system resources to respond to the operation of other programs. The method provided by the embodiment of the invention can avoid that the I/O requests of some programs occupy excessive I/O load, so that the I/O requests of other programs cannot be normally executed and the normal operation of the system is influenced. The method provided by the embodiment of the invention is beneficial to maintaining the I/O load balance in the system and maintaining the normal operation of the system.
Further, referring to another method flow chart of the embodiment of the present invention shown in fig. 2, the following embodiments of the present invention are provided:
s201: in a preset regulation and control period, acquiring an I/O queue preset in a system, and determining a first numerical value which can be connected with an I/O request in the I/O queue, wherein the I/O queue comprises at least one intercepted I/O request; the characteristic index of the intercepted I/O request is a preset high-load characteristic index;
in the method provided by the embodiment of the invention, a preset I/O queue in a system is obtained, wherein the I/O request in the preset I/O queue is an I/O request with a characteristic index being a preset high-load characteristic index; the determining of the first value of the connectable I/O requests in the I/O queue may be performed by obtaining load information of an overall I/O load in the system, and determining the first value of the connectable I/O requests in the I/O queue based on the load information. The number of connectable I/O requests in the I/O queue may be determined to be a smaller number when the I/O queue occupies too much I/O load in the system, and may be correspondingly determined to be a larger number when the I/O queue occupies less I/O load. For example, the first value may be determined to be seven by obtaining load information of the overall I/O load in the system, where the I/O load of the I/O queue occupies sixty percent of the I/O load in the system, and the first value may be determined to be ten if the I/O load of the I/O queue occupies forty percent of the I/O load in the system. The determination of the first value may also be made by the proportion of the overall I/O load that is occupied in the system load. The rest of the contents can be similar to the related contents in step S104 provided in the above embodiment of the present invention, and are not described herein again.
S202: judging whether connected I/O requests exist in the I/O queue;
in the method provided in the embodiment of the present invention, step S202 is the same as step S102 provided in the above-mentioned embodiment of the present invention, and is not described herein again.
S203: when the I/O queue does not have connected I/O requests, determining a first connection priority of each I/O request in the I/O queue through characteristic parameters of the I/O requests and a preset ordering strategy, determining I/O requests which can be connected in the I/O queue according to the first connection priority and the first numerical value, and creating connection for the I/O requests which can be connected;
in the method provided in this embodiment of the present invention, the determining of the first connection priority of each I/O request in the I/O queue may obtain a characteristic parameter corresponding to each I/O request in the I/O queue by performing snapshot analysis on the I/O queue, determine an arrangement order of each I/O request in the I/O queue based on a preset ordering policy and the characteristic parameter corresponding to each I/O request, and determine the first connection priority of each I/O request in the I/O queue based on the arrangement order of each I/O request in the I/O queue. For example, the characteristic parameter may be a size of a data block to be acquired by the I/O request, and the preset ordering policy may be that the I/O requests are ordered from small to large according to the size of the data block to be acquired, and a first connection priority corresponding to the I/O request is determined according to an ordering order of the I/O requests. The rest of the contents of step S203 in the embodiment of the present invention can be similar to the contents of step S104 in the above embodiment, and are not described herein again.
S204: determining a second value of the connected I/O requests in the I/O queue and a priority of the ordering of each connected I/O request if there are connected I/O requests in the I/O queue;
in the method provided in the embodiment of the present invention, the content of step 204 is the same as the content of step S204 in the above embodiment, and details are not described here again.
S205: adjusting the sorting priority of each connected I/O request according to an adjustment strategy preset based on the load characteristics or the processing requirements of the I/O requests, and determining a second connection priority of each unconnected I/O request in the I/O queue;
in the method provided in the embodiment of the present invention, the load characteristic reflected by the I/O request may be adjusted according to a preset adjustment policy, for example, the size of a buffer area of the I/O connection; it may also be adjusted by processing requirements, such as the need to process I/O requests that have been connected for a longer time in a timely manner. In the embodiment of the present invention, the connection information of each connected I/O request may be obtained by performing snapshot analysis on the I/O queue, where the connection information may include a buffer size of an I/O connection corresponding to the connected I/O request and a running time of the I/O connection; the specific strategy can be that when the size of the buffer area of the I/O connection corresponding to the connected I/O request is smaller than a preset first threshold value within a preset time length, the sequencing priority of the connected I/O request is improved; the priority of the connected I/O requests can be increased when the running time of the I/O connection corresponding to the connected I/O requests is greater than a preset second threshold; the I/O connection can be blown when the size of the buffer area of the I/O connection corresponding to the connected I/O request is larger than a preset third threshold value. The rest of the content of step S205 in the embodiment of the present invention can refer to the content of step S105 in the above embodiment, and is not described herein again.
S206: and comparing the magnitude of the first numerical value with the magnitude of the second numerical value, executing a corresponding connection strategy according to a comparison result, and suspending or fusing a corresponding I/O connection, or creating a connection or recovering a connection for a corresponding I/O request so as to complete the regulation and control of the I/O connection in the system.
In the method provided in the embodiment of the present invention, the magnitude of the first value and the magnitude of the second value may be compared, for example, a difference operation is performed between the first value and the second value, if the obtained comparison result is greater than zero, the first value is considered to be greater than the second value, if the obtained comparison result is less than zero, the first value is considered to be less than the second value, and if the obtained comparison result is equal to zero, the I/O request may not be regulated. Or performing a ratio operation on the first numerical value and the second numerical value to obtain a corresponding comparison result. When the first value is smaller than the second value, determining a connected I/O request to be suspended based on the sorting priority of the connected I/O request, the first value and the second value, and suspending the I/O connection corresponding to the connected I/O request to be suspended; for example, if the first value is seven and the second value is ten, it may be determined that three I/O requests with the lowest priority among the connected I/O requests need to be suspended, and the I/O connections corresponding to the three I/O requests may be suspended. When the first value is greater than a second value, obtaining suspension information of the I/O request of which the connection is suspended in the I/O queue and a second connection priority of the I/O request which is not connected in the I/O queue, and based on the first value, the second value, the suspension information and the second connection priority, resuming the I/O connection corresponding to the I/O request of which the connection is suspended and/or creating a corresponding I/O connection for the I/O request which is not connected; the suspension information may include a number of suspensions of the I/O requests for which connections have been suspended in the I/O queue and a suspension order for each of the I/O requests for which connections have been suspended. For example, when the first value is ten and the second value is six, obtaining the suspension information of the I/O requests that have been suspended from the I/O queue, and obtaining two suspension numbers of the I/O requests that have been suspended from the suspension information, the I/O connections corresponding to the two I/O requests that have been suspended from the I/O queue may be resumed, and corresponding I/O connections may be created for the two unconnected I/O requests that have the highest second connection priority level of the unconnected I/O requests in the I/O queue. The rest of step S206 in the embodiment of the present invention can refer to step 106 in the embodiment of the present invention, and is not described herein again.
Based on the method for regulating and controlling the I/O, which is provided by the embodiment of the invention, the queues which are preset in the system and contain the I/O requests with the judged high load characteristics can be obtained. The number of the I/O requests of the allowable connection in the I/O queue can be determined by combining the load condition in the system, and the I/O connection corresponding to the I/O request in the I/O queue is adjusted. The corresponding adjustment strategy can be preset according to the requirement, and the priority level of the I/O request in the I/O queue is adjusted to determine the priority level of the connection established by the I/O request or the priority level of the connection maintained by the I/O request. The embodiment of the invention can adjust the corresponding priority level by combining the load characteristics or the system processing requirements reflected by the I/O request, can realize the preferential maintenance of the established I/O connection for a long time, and avoids the influence on the normal operation of the program caused by the long-time incomplete completion of the corresponding I/O request due to the over-low suspension of the priority level. And the I/O request corresponding to the I/O connection occupying lower I/O load can be preferentially processed, and the waiting time of other I/O requests can be reduced. By the method provided by the embodiment of the invention, the I/O request with the high load characteristic can be regulated and controlled by combining the I/O load condition in the system, and when the I/O request with the high load characteristic of the system occupies excessive I/O load, the I/O connection corresponding to the I/O request with the high load characteristic can be suspended or fused to release certain system load to respond to the operation of other programs. The method provided by the embodiment of the invention can avoid that the I/O request with some programs occupies excessive I/O load, so that other programs cannot be normally executed and the normal operation of the system is influenced. Furthermore, an adjustment strategy can be preset according to the requirements, the processing sequence of the I/O requests in the I/O queue is adjusted, the I/O load balance in the system is better maintained, and the normal operation of the system is better maintained.
Corresponding to the method for regulating I/O shown in fig. 1, an embodiment of the present invention further provides a device for regulating I/O, which is used to implement the method shown in fig. 1 specifically, and a schematic structural diagram of the device is shown in fig. 3, and includes:
a queue obtaining unit 301, configured to obtain an I/O queue preset in a system in a preset regulation and control period, and determine a first value that can be connected to an I/O request in the I/O queue, where the I/O queue includes at least one intercepted I/O request;
a connection determining unit 302, configured to determine whether there is a connected I/O request in the I/O queue;
a connection creating unit 303, configured to determine, when there is no connected I/O request in the I/O queue, a first connection priority of each I/O request in the I/O queue, determine, according to the first connection priority and the first value, an I/O request that can be connected in the I/O queue, and create a connection for the I/O request that can be connected;
a connected unit 304, configured to determine a second value of connected I/O requests in the I/O queue and a priority of ordering of each connected I/O request when there are connected I/O requests in the I/O queue;
an adjusting unit 305, configured to adjust the sorting priority of each connected I/O request according to a preset adjusting policy, and determine a second connection priority of each unconnected I/O request in the I/O queue;
a control unit 306, configured to compare the first value with the second value, and execute a corresponding connection policy according to a comparison result, so as to complete control of I/O connection in the system.
Based on the device for regulating and controlling the I/O provided by the embodiment of the invention, the number of the I/O requests which can be connected in the I/O queue can be determined by calling the units and combining the load condition in the system, and the I/O connection corresponding to the I/O request in the I/O queue is regulated. The corresponding adjustment strategy can be preset according to the requirement, and the priority level of the I/O request in the I/O queue is adjusted to determine the priority level of the connection established by the I/O request or the priority level of the connection maintained by the I/O request. The device provided by the embodiment of the invention can regulate and control the I/O request with high load characteristics by combining the I/O load condition in the system, and when the I/O request with high load characteristics of the system occupies excessive I/O load, the I/O connection corresponding to the I/O request with high load characteristics can be suspended or fused to release certain system load to respond to the operation of other programs. The device provided by the embodiment of the invention can avoid that the I/O request with some programs occupies excessive I/O load, so that other programs cannot be normally executed and the normal operation of the system is influenced. The device provided by the embodiment of the invention is beneficial to maintaining the I/O load balance in the system and maintaining the normal operation of the system.
Referring to fig. 4, a schematic structural diagram of an apparatus for regulating I/O according to an embodiment of the present invention is shown:
the queue obtaining unit 301 includes:
a first value subunit 307, configured to obtain load information of an overall I/O load in the system, and determine a first value of a connectable I/O request in the I/O queue based on the load information.
The connection determining unit 302 includes:
a determining subunit 308, configured to determine whether each I/O request in the I/O queue establishes a corresponding I/O connection in the system, and if at least one I/O request in the I/O queue establishes a corresponding I/O connection in the system, determine that there is a connected I/O request in the I/O queue.
The connection creating unit 303 includes:
a first priority subunit 309, configured to perform snapshot analysis on the I/O queue, obtain a characteristic parameter corresponding to each I/O request in the I/O queue, determine, based on a preset ordering policy and the characteristic parameter corresponding to each I/O request, an order of the I/O requests in the I/O queue, and determine, based on the order of the I/O requests in the I/O queue, a first connection priority of each I/O request in the I/O queue.
The connected unit 304 includes:
a priority ordering subunit 310, configured to perform snapshot analysis on the I/O queue, obtain an order of each connected I/O request in the connected I/O requests, and determine an ordering priority of each connected I/O request.
The adjusting unit 305 includes:
an adjusting subunit 311, configured to perform snapshot analysis on the I/O queue, and obtain connection information of each connected I/O request, where the connection information includes a buffer size of an I/O connection corresponding to the connected I/O request and a running time of the I/O connection; when the size of a buffer area of the I/O connection corresponding to the connected I/O request is smaller than a preset first threshold value within a preset time length, improving the sequencing priority of the connected I/O request; or when the running time of the I/O connection corresponding to the connected I/O request is greater than a preset second threshold value, the sequencing priority of the connected I/O request is improved; or when the size of the buffer area of the I/O connection corresponding to the connected I/O request is larger than a preset third threshold value, fusing the I/O connection.
The adjusting unit 305 includes:
a second priority subunit 312, configured to perform snapshot analysis on the I/O queue, obtain a characteristic parameter corresponding to each unconnected I/O request, determine, based on a preset ordering policy and the characteristic parameter of each unconnected I/O request, an order of each unconnected I/O request in the unconnected I/O request, and determine, based on the order of each unconnected I/O request in the unconnected I/O request, a second connection priority of each unconnected I/O request.
The regulatory unit 306, comprising:
a control subunit 313, configured to compare the magnitude of the first value with the magnitude of the second value;
when the first numerical value is smaller than the second numerical value, determining a connected I/O request to be suspended based on the sorting priority of the connected I/O request, the first numerical value and the second numerical value, and suspending the I/O connection corresponding to the connected I/O request to be suspended;
when the first numerical value is larger than the second numerical value, obtaining pause information of I/O requests which are paused and connected in the I/O queue and a second connection priority of I/O requests which are not connected in the I/O queue, and based on the first numerical value, the second numerical value, the pause information and the second connection priority, recovering I/O connections corresponding to the I/O requests which are paused and connected and/or creating corresponding I/O connections for the I/O requests which are not connected; the suspension information includes a number of suspended I/O requests for connections that have been suspended in the I/O queue and a suspension order for each suspended I/O request.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A method of regulating I/O, comprising:
in a preset regulation and control period, acquiring an I/O queue preset in a system, and determining a first numerical value which can be connected with an I/O request in the I/O queue, wherein the I/O queue comprises at least one intercepted I/O request;
judging whether connected I/O requests exist in the I/O queue;
if the I/O queue does not have connected I/O requests, determining a first connection priority of each I/O request in the I/O queue, determining I/O requests which can be connected in the I/O queue according to the first connection priority and the first numerical value, and creating connection for the I/O requests which can be connected;
determining a second value of the connected I/O requests in the I/O queue and a priority of the ordering of each connected I/O request if there are connected I/O requests in the I/O queue;
adjusting the sorting priority of each connected I/O request according to a preset adjusting strategy, and determining a second connection priority of each unconnected I/O request in the I/O queue;
the preset adjusting strategy comprises the following steps:
performing snapshot analysis on the I/O queue to obtain connection information of each connected I/O request, wherein the connection information comprises the size of a buffer area of the I/O connection corresponding to the connected I/O request and the running time of the I/O connection;
when the size of the buffer area of the I/O connection corresponding to the connected I/O request is smaller than a preset first threshold value within a preset time length, improving the sequencing priority of the connected I/O request;
or when the running time of the I/O connection corresponding to the connected I/O request is greater than a preset second threshold value, the sequencing priority of the connected I/O request is increased;
or when the size of the buffer area of the I/O connection corresponding to the connected I/O request is larger than a preset third threshold value, fusing the I/O connection;
comparing the first numerical value with the second numerical value, and executing a corresponding connection strategy according to a comparison result so as to complete regulation and control of I/O connection in the system;
the comparing the first value with the second value and executing a corresponding connection strategy according to a comparison result includes:
comparing the magnitude of the first value with the magnitude of the second value;
when the first numerical value is smaller than the second numerical value, determining a connected I/O request to be suspended based on the sorting priority of the connected I/O request, the first numerical value and the second numerical value, and suspending the I/O connection corresponding to the connected I/O request to be suspended;
when the first numerical value is larger than the second numerical value, obtaining pause information of I/O requests which are paused and connected in the I/O queue and a second connection priority of I/O requests which are not connected in the I/O queue, and based on the first numerical value, the second numerical value, the pause information and the second connection priority, recovering I/O connections corresponding to the I/O requests which are paused and connected and/or establishing corresponding I/O connections for the I/O requests which are not connected; the suspension information includes a number of suspended I/O requests for connections that have been suspended in the I/O queue and a suspension order for each suspended I/O request.
2. The method of claim 1, wherein the intercepting process of the intercepted I/O request comprises:
when a system program responds to user operation and initiates an I/O request, acquiring a characteristic index of the I/O request, and judging whether the characteristic index of the I/O request is a preset high-load characteristic index or not;
and when the characteristic index of the I/O request is a preset high-load characteristic index, intercepting the I/O request and transferring the intercepted I/O request into the I/O queue.
3. The method of claim 1, wherein determining whether there are connected I/O requests in the I/O queue comprises:
and judging whether each I/O request in the I/O queue establishes corresponding I/O connection in the system, and if at least one I/O request in the I/O queue establishes corresponding I/O connection in the system, judging that the I/O queue has connected I/O requests.
4. The method of claim 1, wherein determining a first connection priority of each I/O request in the I/O queue comprises:
performing snapshot analysis on the I/O queue, acquiring a characteristic parameter corresponding to each I/O request in the I/O queue, determining the arrangement sequence of each I/O request in the I/O queue based on a preset ordering strategy and the characteristic parameter corresponding to each I/O request, and determining the first connection priority of each I/O request in the I/O queue based on the arrangement sequence of each I/O request in the I/O queue.
5. The method of claim 1, wherein determining the ordering priority of each connected I/O request in the I/O queue comprises:
and performing snapshot analysis on the I/O queue, acquiring the arrangement sequence of each connected I/O request in the connected I/O requests, and determining the sequencing priority of each connected I/O request.
6. The method of claim 1, wherein determining the second connection priority for each unconnected I/O request comprises:
performing snapshot analysis on the I/O queue, acquiring a characteristic parameter corresponding to each unconnected I/O request, determining the arrangement order of each unconnected I/O request in the unconnected I/O requests based on a preset ordering policy and the characteristic parameter of each unconnected I/O request, and determining a second connection priority of each unconnected I/O request based on the arrangement order of each unconnected I/O request in the unconnected I/O requests.
7. The method of claim 1, wherein determining a first value for a connectible I/O request in a system comprises:
load information of the overall I/O load in the system is obtained, and a first value of the connectable I/O requests in the I/O queue is determined based on the load information.
8. An apparatus for regulating I/O, comprising:
the device comprises a queue obtaining unit, a queue processing unit and a queue processing unit, wherein the queue obtaining unit is used for obtaining an I/O queue preset in a system in a preset regulation and control period and determining a first numerical value which can be connected with an I/O request in the I/O queue, and the I/O queue comprises at least one intercepted I/O request;
a connection judging unit, configured to judge whether there is a connected I/O request in the I/O queue;
a connection creating unit, configured to determine a first connection priority of each I/O request in the I/O queue when there is no connected I/O request in the I/O queue, determine an I/O request that can be connected in the I/O queue according to the first connection priority and the first value, and create a connection for the I/O request that can be connected;
a connected unit for determining a second value of connected I/O requests in the I/O queue and a priority of ordering of each connected I/O request when there are connected I/O requests in the I/O queue;
an adjusting unit, configured to adjust the sorting priority of each connected I/O request according to a preset adjustment policy, and determine a second connection priority of each unconnected I/O request in the I/O queue;
the preset adjusting strategy comprises the following steps:
performing snapshot analysis on the I/O queue to obtain connection information of each connected I/O request, wherein the connection information comprises the size of a buffer area of the I/O connection corresponding to the connected I/O request and the running time of the I/O connection;
when the size of the buffer area of the I/O connection corresponding to the connected I/O request is smaller than a preset first threshold value within a preset time length, improving the sequencing priority of the connected I/O request;
or when the running time of the I/O connection corresponding to the connected I/O request is greater than a preset second threshold value, the sequencing priority of the connected I/O request is increased;
or when the size of the buffer area of the I/O connection corresponding to the connected I/O request is larger than a preset third threshold value, fusing the I/O connection;
the regulation and control unit is used for comparing the first numerical value with the second numerical value and executing a corresponding connection strategy according to a comparison result so as to regulate and control the I/O connection in the system;
the comparing the first value with the second value and executing a corresponding connection strategy according to a comparison result includes:
comparing the magnitude of the first value with the magnitude of the second value;
when the first numerical value is smaller than the second numerical value, determining a connected I/O request to be suspended based on the sorting priority of the connected I/O request, the first numerical value and the second numerical value, and suspending the I/O connection corresponding to the connected I/O request to be suspended;
when the first numerical value is larger than the second numerical value, obtaining pause information of I/O requests which are paused and connected in the I/O queue and a second connection priority of I/O requests which are not connected in the I/O queue, and based on the first numerical value, the second numerical value, the pause information and the second connection priority, recovering I/O connections corresponding to the I/O requests which are paused and connected and/or establishing corresponding I/O connections for the I/O requests which are not connected; the suspension information includes a number of suspended I/O requests for connections that have been suspended in the I/O queue and a suspension order for each suspended I/O request.
CN201910837512.6A 2019-09-05 2019-09-05 Method and device for regulating and controlling I/O (input/output) Active CN110688220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910837512.6A CN110688220B (en) 2019-09-05 2019-09-05 Method and device for regulating and controlling I/O (input/output)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910837512.6A CN110688220B (en) 2019-09-05 2019-09-05 Method and device for regulating and controlling I/O (input/output)

Publications (2)

Publication Number Publication Date
CN110688220A CN110688220A (en) 2020-01-14
CN110688220B true CN110688220B (en) 2022-04-15

Family

ID=69107811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910837512.6A Active CN110688220B (en) 2019-09-05 2019-09-05 Method and device for regulating and controlling I/O (input/output)

Country Status (1)

Country Link
CN (1) CN110688220B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1435036A (en) * 2000-04-07 2003-08-06 因芬尼昂技术北美公司 Integrated access device controller
US8121874B1 (en) * 1999-05-27 2012-02-21 Accenture Global Services Limited Phase delivery of components of a system required for implementation technology
CN109154896A (en) * 2016-04-29 2019-01-04 思杰系统有限公司 System and method for service chaining load balance

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10169090B2 (en) * 2012-09-12 2019-01-01 Salesforce.Com, Inc. Facilitating tiered service model-based fair allocation of resources for application servers in multi-tenant environments

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8121874B1 (en) * 1999-05-27 2012-02-21 Accenture Global Services Limited Phase delivery of components of a system required for implementation technology
CN1435036A (en) * 2000-04-07 2003-08-06 因芬尼昂技术北美公司 Integrated access device controller
CN109154896A (en) * 2016-04-29 2019-01-04 思杰系统有限公司 System and method for service chaining load balance

Also Published As

Publication number Publication date
CN110688220A (en) 2020-01-14

Similar Documents

Publication Publication Date Title
US10754706B1 (en) Task scheduling for multiprocessor systems
US9582326B2 (en) Quality of service classes
US5999963A (en) Move-to-rear list scheduling
US7441240B2 (en) Process scheduling apparatus, process scheduling method, program for process scheduling, and storage medium recording a program for process scheduling
US8424007B1 (en) Prioritizing tasks from virtual machines
CN108600005A (en) A method of defence micro services avalanche effect
US9454401B2 (en) Resource allocation method and apparatus of GPU
US20110145461A1 (en) Method and device for balancing interrupt load of multicore processor
CN110362402B (en) Load balancing method, device, equipment and readable storage medium
CN108123980B (en) Resource scheduling method and system
WO2022068697A1 (en) Task scheduling method and apparatus
Aldarmi et al. Dynamic value-density for scheduling real-time systems
CN110099012B (en) Flow control method, system, electronic equipment and storage medium
US20220222111A1 (en) Deep learning framework scheduling
CN111782355A (en) Cloud computing task scheduling method and system based on mixed load
CN108446180A (en) A kind of data center dynamic method for scheduling task based on Data Migration
CN109739634A (en) A kind of atomic task execution method and device
EP2996382B1 (en) Physical resource adjustment method, device and controller
JP2023526883A (en) Scheduling methods, computing devices, and storage media for tasks
CN110838987B (en) Queue current limiting method and storage medium
CN113986497B (en) Queue scheduling method, device and system based on multi-tenant technology
CN114968567A (en) Method, apparatus and medium for allocating computing resources of a compute node
Tang et al. Toward balanced and sustainable job scheduling for production supercomputers
CN110515728A (en) Server scheduling method, apparatus, electronic equipment and machine readable storage medium
CN110688220B (en) Method and device for regulating and controlling I/O (input/output)

Legal Events

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