Control Unit Command Retry Mechanism for I/O Data Overflow Prevention
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Data overflow occurs in I/O devices due to high data transfer rates exceeding the processing capabilities of control units, leading to inefficiencies in I/O operations.
Innovation Solution
Implementing a command retry feature that allows control units to request re-sending of data transfer commands and control data transfer rates, supported by the channel subsystem, to manage data flow effectively.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If data transfer rate is increased to improve productivity, then data transfer efficiency is improved, but data overflow occurs at control units
Solution Approach 1:
The control unit monitors its own data processing capacity and sends feedback signals to the channel subsystem. When the control unit detects that it cannot process data fast enough, it generates a feedback message causing the channel subsystem to reduce the data transfer rate or pause transmission, preventing data overflow while maintaining high throughput when possible
Solution Approach 2:
The data transfer rate is made dynamic rather than fixed. The channel subsystem adjusts the transfer rate in real-time based on the control unit's processing capacity. The system transitions from static high-speed transfer to dynamic rate adjustment, allowing the rate to increase when the control unit can keep up and decrease when it cannot, preventing overflow while maximizing productivity
2Reliability
If data transfer rate is reduced to prevent data overflow, then data overflow is prevented, but I/O operation efficiency decreases
Solution Approach 1:
The control unit continuously monitors its processing status and provides feedback to the channel subsystem. This feedback mechanism allows the system to reduce the transfer rate only when necessary to prevent overflow, and immediately increase it when the control unit can process data faster, thus minimizing the impact on overall I/O operation efficiency while ensuring reliable data transfer
Solution Approach 2:
The system employs periodic rate adjustments rather than continuous reduction. The channel subsystem adjusts the data transfer rate in periodic intervals based on the control unit's processing capacity, allowing efficient data transfer during periods when the control unit can keep up, and reducing rate only temporarily when overflow is detected, thereby minimizing efficiency loss
3Reliability
If command retry feature is implemented to manage data flow, then data overflow is prevented, but system complexity increases
Solution Approach 1:
The command retry feature is implemented as a multi-functional mechanism that serves multiple purposes: it prevents data overflow, manages data flow, and provides error recovery. By making the retry mechanism universal for handling various data transfer issues, the system avoids adding separate complex subsystems for each function, thereby limiting the increase in overall system complexity while achieving reliable data flow management
Data Source
AI summary
A computer program product is provided for performing an input/output (I/O) operation initiated by an I/O operation instruction at a host computer system configured for communication with a control unit. The computer program product includes a tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing: receiving, by the control unit, a transport mode command message from a channel subsystem of the host computer system, the command message include a command for data to be transferred between the host computer system and an I/O device controlled by the control unit; and sending a command retry message to the channel subsystem, the command retry message including a request that the command message be re-sent to the control unit and a reason code indicating a reason for the request.


