Channel Subsystem I/O State Interrogation

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 challenges in making informed decisions about actions to take during prolonged I/O processing.

Innovation Solution

A method is introduced where a transport command control block (TCCB) is forwarded to a control unit, and an interrogation command is sent to determine the state of the I/O operation before the completion time expires, receiving a response that includes the state of the I/O device, control unit, and operation, thereby enabling timely decision-making.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the operating system waits for the I/O operation to complete before making decisions, then the system can make informed decisions based on actual completion status, but the system responsiveness and decision-making speed deteriorate due to the prolonged waiting time

Engineering Contradiction:
Improvedecision-making accuracyVSAvoidsystem responsiveness time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by implementing an interrogation mechanism that proactively queries the state of I/O operations before their completion time expires. The channel subsystem periodically interrogates pending I/O operations to obtain status information in advance, allowing the operating system to prepare and make decisions ahead of time rather than waiting passively for completion notifications. This transforms the reactive waiting model into an proactive inquiry model, resolving the contradiction between reliable decision-making and system responsiveness.

Inventive Principle:
Principle #10Preliminary action

2Loss of information

If the channel subsystem continuously monitors I/O operation states, then the operating system receives timely status information, but the communication overhead and system resource consumption increase

Engineering Contradiction:
Improvestatus information availabilityVSAvoidcommunication overhead
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The patent implements periodic action through scheduled interrogation of I/O operations. Instead of continuous monitoring, the channel subsystem performs status queries at predetermined intervals or at specific checkpoints during the I/O operation lifecycle. This periodic interrogation provides the operating system with timely status information while significantly reducing communication overhead compared to continuous monitoring, as the system only initiates communications at designated intervals rather than maintaining constant surveillance.

Inventive Principle:
Principle #19Periodic action

3Productivity

If the system interrogates I/O operations frequently to obtain status information, then the operating system can make timely decisions, but the I/O operation execution time increases due to additional interruptions

Engineering Contradiction:
Improvedecision-making speedVSAvoidI/O operation execution time
Core Design Contradiction:
ProductivityVSDuration of action of moving object

Solution Approach 1:

The patent applies partial action by implementing selective interrogation of I/O operations. Rather than querying all pending operations at all times, the system intelligently determines which specific I/O operations require status checks based on their priority, type, and current state. The channel subsystem performs targeted inquiries only on operations that are approaching their completion time or have specific characteristics requiring monitoring. This selective approach provides necessary status information for timely decision-making while minimizing the number of interruptions to I/O operation execution, thus reducing the overall execution time.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS8108570B2Determining the state of an I/O operation
Publication Date: 2012.01.31 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US8108570B2 patent drawing
  • US8108570B2 patent drawing
  • US8108570B2 patent drawing

AI summary

A state of an input/output (I/O) operation in an I/O processing system is determined. A request for performing the I/O operation is received from an I/O operating system at a channel subsystem and forwarded to a control unit controlling an I/O device for executing the I/O operation. After a predetermined amount of time passes without receiving indication from the control unit that the I/O operation is completed, an interrogation request is received at the channel subsystem from the I/O operating system for determining the state of the I/O operation. An interrogation command is sent from the channel subsystem to the control unit. A response is received from the control unit, the response indicates a state of the I/O device executing the I/O operation, a state of the control unit controlling the I/O device executing the I/O operation, and the state of the I/O operation being executed.