EP0703535A2

Method and apparatus for processing input/output requests from a plurality of channel buses

Abstract

In order to share out central resources fairly between low-speed and high-speed input/output ports 20-1, 20-2 of an input/output control unit, an activation time between a time point when an end status associated with the end of a transfer is sent and a time point when an activation request is received is measured and stored in a memory 48. When the high-speed port receives an activation request from a high-speed channel, the activation time in the memory measured with respect to the low-speed port is read out and during this activation time an input/output request for the low-speed port is preferentially accepted. To provide the activation time for the low-speed port the minimum time, average time and maximum time are obtained from the result of the measurement. Any of these three times can be selected as the activation time in order substantially to equalize the busy ratios of the high-speed and low-speed ports. Allocation can also be made in alternative ways, for instance by reference to the number of requests which meet with a busy signal.

EP0703535A2, drawing sheet 1
Sheet 1 of 27

Term

Term ended

Projected expiry passed 31 July 2015, 11.2 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

32 claims: 14 independent, 18 dependent

  1. 1
    An apparatus for processing an input/output request from an upper unit (14-i) using a plurality of channel buses (18-i), comprising:at least a high-speed input/output port (20-2) and a low-speed input/output port (20-1) respectively connected to a high-speed channel unit (16-2) and a low-speed channel unit (16-1) of the upper unit through channel buses of different transfer speeds;an activation time measurement storing section (48), provided for each input/output port (20-i), for measuring and storing for every input/output port an activation time (T1,T2) from the time point when a busy end is signalled in association with the end of transfer at another input/output port, to the time point when an activation request is received;and    a route-control section (46) for waiting for an activation request to the low-speed input/output port (20-1) during the activation time (T1) of the low-speed input/output port, stored in the activation time measurement storing section (48), when an activation request is received from the high-speed channel unit to the high-speed input/output port, when there is an activation request to the low-speed input/output port during a waiting time (T0), for coupling the said port to the low-speed channel unit and executing a transfer process, and, when there is no activation request from the low-speed input/output port during the waiting time (T0), for coupling the high-speed channel unit and the high-speed input/output port and executing a transfer process.
  2. 5
    A method of processing an input/output request from an upper unit using a plurality of channel buses of different transfer speeds, comprising:an activation time measurement storing step of measuring and storing an activation time from the time point when a busy end is signalled in association with the end of transfer of another input/output port to the time point when an activation request is received, with respect to each of a high-speed input/output port and a low-speed input/output port connected respectively to a high-speed channel unit and a low-speed channel unit on the upper unit side through the channel buses;an activation request waiting step of waiting for the activation request for the low-speed input/output port for the activation time (T1) stored with respect to the low-speed input/output port when the activation request is received from the high-speed channel unit to the high-speed input/output port;and    a route control step of coupling the low-speed input/output port to the corresponding low-speed channel unit and executing a transfer process when there is the activation request to the low-speed input/output port during a waiting time (TO) of the activation request, and coupling the high-speed channel unit and the high-speed input/output port and executing the transfer process when there is no activation request from the low-speed input/output port during the waiting time.
  3. 9
    An apparatus for processing an input/output request from an upper unit (14-i) using a plurality of channel buses (18-i) of different transfer speeds, comprising:a plurality of input/output ports (20-i) connected to a plurality of channel units on the upper unit side through the plurality of channel buses;an activation time measuring section (230) for measuring an activation time from the time point when a busy end is transmitted to a low-speed channel unit from a low-speed input/output port among the plurality of input/output ports to the time point when an activation request is received;a route-control section for allowing a processing request from the high-speed channel unit to the high-speed input/output port to wait for a preset waiting time when a busy end is transmitted from the low-=speed input/output port to the low-speed channel unit and for accepting a processing request from the low-speed channel unit to the low-speed input/output port for the waiting time;and    a waiting time setting section (232) for varying the waiting time of the route control section on the basis of the time measured by the activation time measuring section.
  4. 10
    An apparatus for processing an input/output request from an upper unit (14-i) using a plurality of channel buses (18-i) of different transfer speeds, comprising:at least a high-speed input/output port (20-2) and a low-speed input/output port (20-1) respectively connected to a high-speed channel unit (16-2) and a low-speed channel unit (16-2) of the upper unit through the channel buses;a route-control section for allowing a processing request from the high-speed channel unit to the high-speed input/output port to wait for a preset waiting time and for accepting a processing request from the low-speed channel unit to the low-speed input/output port for the waiting time when a busy end signal is transmitted from the low-speed input/output port: and    a waiting time setting section for setting the waiting time of the route control section by an input operation from an operator.
  5. 11
    An apparatus for processing an input/output request from an upper unit (14-i) using a plurality of channel buses (18-i) of different transfer speeds, comprising:a plurality of input/output ports (20-i) connected to a plurality of channel units on the upper unit side through a plurality of channel buses;a judging section (68) for counting the number of times of a loop state in which a busy response for an activation request and a response of a busy end associated with the end of transfer of another input/output port are repeated in one of the plurality of input/output ports and for judging whether the number of loop times exceeds a predetermined value;and    a route-control section for preferentially processing the activation request of an input/output port when the judging section determines that the number of loop times at that input/output port exceeds the said predetermined value.
  6. 12
    A method of processing an input/output request from an upper unit using a plurality of channel buses of different transfer speeds, comprising:a judging step of counting the number of times of a loop state in which a busy response for an activation request and a response of a busy end associated with the end of transfer at another input/output port are repeated in one of a plurality of input/output ports connected to a plurality of channel units on the upper unit side through the channel buses and judging whether the number of loop times exceeds a predetermined value;and    a route control step of preferentially processing the activation request of an input/output port when the number of loop times at that input/output port is judged to exceed the said predetermined value.
  7. 13
    An apparatus for processing an input/output request from an upper unit (14-i) using a plurality of channel buses (18-i) of different transfer speeds, comprising:a plurality of input/output ports (20-i) connected to a plurality of channel units on the upper unit side through the plurality of channel buses;a busty response time storing section (70) for storing the time when a busy response for an activation request is performed with respect to each input/output port;a processing port deciding section (72) for designating the input/output port having the oldest of the busy response times as a preferential processing port each time a transfer process for the said activation request is finished;and    a route-control section for preferentially processing the activation request of the preferential processing port decided by the processing port deciding section.
  8. 15
    A method of processing an input/output request from an upper unit using a plurality of channel buses of different transfer speeds, comprising:a busy response time storing step of storing the time when a busy response for an activation request is preformed with respect to each input/output port connected to a plurality of channel units on the upper unit side through the plurality of channel buses;a processing port deciding step of deciding the input/output port having the oldest busy response time as a preferential processing port each time a transfer control for the said activation request is finished;and    a route control step of preferentially processing an activation request of the said preferential processing port decided in the processing port deciding step
  9. 17
    An apparatus for processing an input/output request from an upper unit (14-i) using a plurality of channel buses (18-i) of different transfer speeds, comprising:a plurality of input/output ports (20-i) connected to a plurality of channel units on the upper unit side through the plurality of channel buses;a route-control section for executing a coupling in association with an activation request from the channel unit for one of the input/output ports, a transfer process during the coupling, and a response of an end status associated with the end of transfer;and    a retry interruption processing section (74) for processing in a manner such that, in the case where during the coupling of a specific channel unit and the input/output port, when there is an activation request from the other or another channel unit to the corresponding input/output port by the route control section, a retry status is transmitted from the other input/output port which is disconnected from its channel unit, and after completion of the coupling between the input/output port currently being processed and its channel unit an interruption notification of a retry start is sent from the other input/output port to the other channel unit, thereby allowing the activation request to be retried.
  10. 18
    A method of processing an input/output request from an upper unit using a plurality of channel buses of different transfer speeds, wherein during the coupling of a specific channel unit and an input/output port, when there is an activation request from another channel unit to the corresponding input/output port, a retry status is transmitted from the latter input/output port which is disconnected from its channel unit, and after completion of the coupling of the input/output port currently being processed and its channel unit an interruption of a retry start is notified from the said other input/output port to its channel unit, thereby allowing the activation request again to be executed.
  11. 19
    An apparatus for processing an input/output request from an upper unit (14-i) using a plurality of channel buses (18-i) of different transfer speeds, comprising:a plurality of input/output ports (20-i) connected to a plurality of channel units on the upper unit side through the plurality of channel buses;a route-control section for executing a coupling in association with an activation request from the channel unit for one of the input/output ports, a transfer process during the coupling, a response of an end status in associated with the end of transfer, and a busy response for the activation request during the coupling of the other input/output port;and    a retry interruption processing section (76) for processing in a manner such that in the case where a predetermined interruption condition is satisfied during the transfer process by the coupling between a specific channel unit and the input/output port by the route/control section, a retry status is transmitted from the input/output port to the channel unit, the transfer process is interrupted, the coupling is disconnected, states of the busy responses regarding tall of the ports are analyzed, a preferential processing port is decided, an end status is transmitted from this preferential processing port to its channel unit in order to allow this other channel to execute the activation request, and at the time of the end of the transfer process in association with the activation request an interruption of a retry start is notified to the said channel unit from the input/output port, thereby restarting the interrupted transfer process.
  12. 23
    A method of processing an input/output request from an upper unit using a plurality of channel buses, comprising:a step of judging whether a predetermined interruption condition is satisfied during a transfer process by a coupling of a specific channel unit on the upper unit side and its input/output port;and    a retry interruption processing step of processing in a manner such that in the case where the interruption condition is satisfied a retry status is transmitted from the said input/output port to the channel unit, the transfer process is interrupted, the coupling is disconnected, states of busy responses regarding all of the ports are analyzed, a preferential processing port is decided, an end status is transmitted to the other channel unit from the preferential processing port thereby to allow the said other channel unit to execute the activation request, and at the time of the end of the transfer process in association with the activation request an interruption of a retry start is notified from the said input/output port to its channel unit, thereby restarting the interrupted transfer process.
  13. 27
    An apparatus for processing an input/output request from an upper unit (14-i) using a plurality of channel buses (18-i) of different transfer speeds, comprising:a plurality of input/output ports (20-i) connected to a plurality of channel units on the upper unit side through the plurality of channel buses;and    a command analysis executing section (92, 94) provided for each input/output port for analyzing whether a command received in association with an activation request during the coupling of another input/output port is a command that can be executed or not, and when it is an executable command, accepting the actuation request and executing a command process for internal resources.
  14. 30
    A method of processing an input/output request from an upper unit using a plurality of channel buses, comprising:a command analyzing step for analyzing whether a command received is a command that can be executed or not in the case where a command is received by a specific input/output port in association with an activation request in a state in which another input/output port is being coupled;and    a command executing step of accepting the activation request and executing a command process for internal resources in the case where it is analyzed in the command analyzing step that the received command is a command that can be executed in a state in which the other input/output port is being coupled.
Independent claims14