I/O Control Unit Interrogation for Stalled Operation Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Operating systems face difficulties in determining the state of input/output (I/O) operations that take longer than expected to complete, leading to potential delays and inefficiencies in I/O processing systems.

Innovation Solution

A method and apparatus that allow a control unit to receive requests from a channel subsystem to determine the state of an I/O operation after a predetermined time has passed, sending a response indicating the state of both the I/O device and the control unit executing the operation, thereby facilitating informed decision-making and reducing communication overhead.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the operating system waits for I/O operation completion without intervention, then the I/O operation may complete successfully, but the system experiences delays and inefficiencies when operations stall

Engineering Contradiction:
ImproveI/O processing efficiencyVSAvoidTime delay in detecting stalled operations
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent implements preliminary action by establishing a timeout mechanism that proactively detects stalled I/O operations before they significantly impact system performance. The channel subsystem monitors operation duration and initiates an INTERROGATE command when a threshold is reached, allowing the system to gather diagnostic information and take corrective action before productivity is severely degraded.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If the operating system frequently queries the state of I/O operations, then it can make timely decisions about stalled operations, but communication overhead between the channel subsystem and control unit increases

Engineering Contradiction:
ImproveAbility to detect stalled operationsVSAvoidCommunication overhead between channel subsystem and control unit
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies partial action by implementing selective interrogation rather than continuous monitoring. The channel subsystem only initiates INTERROGATE commands when specific conditions are met (timeout threshold exceeded), rather than constantly querying the control unit. This approach achieves sufficient reliability for detecting stalled operations while minimizing unnecessary communication overhead.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent implements feedback through the INTERROGATE command sequence, where the channel subsystem queries the control unit about the state of pending I/O operations and receives detailed status information in response. This feedback mechanism allows the operating system to make informed decisions about stalled operations without requiring continuous communication, as the system only queries when timeout conditions indicate a potential problem.

Inventive Principle:
Principle #23Feedback

3Ease of operation

If no state information is provided for stalled I/O operations, then the system can maintain simpler operation, but troubleshooting and decision-making become difficult

Engineering Contradiction:
ImproveSimplicity of I/O processingVSAvoidState information of stalled operations
Core Design Contradiction:
Ease of operationVSLoss of information

Solution Approach 1:

The patent uses the control unit as an intermediary that maintains detailed state information about I/O operations and provides this information to the channel subsystem upon request. The control unit acts as a mediator between the simple channel subsystem and the complex reality of I/O device states, allowing the channel to remain operationally simple while still accessing comprehensive diagnostic information when needed through the INTERROGATE command sequence.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS7904605B2Computer command and response for determining the state of an I/O operation
Publication Date: 2011.03.08 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US7904605B2 patent drawing
  • US7904605B2 patent drawing
  • US7904605B2 patent drawing

AI summary

A computer program product, apparatus, and method are provided for determining a state of an input/output (I/O) operation in an I/O processing system. A request from a channel subsystem is received at a control unit for performing the I/O operation. After a predetermined amount of time passes without the I/O operation completing, an interrogation request is received from the channel subsystem at the control unit for determining the state of the I/O operation. A response is sent from the control unit to the channel subsystem indicating the state of the I/O operation in response to the interrogation request. The response also includes information regarding a state of an I/O device executing the I/O operation and information indicating a state of the control unit controlling the I/O device executing the I/O operation.