Virtual Tape Emulator Stall Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Virtual tape storage systems often experience instability and freezing due to stalled directories, which can cause mainframes to hang or freeze when attempting to access them, leading to system instability and unreliability.

Innovation Solution

A virtual tape emulator is implemented with a request reception module, a stall determination module, and an access prevention module to identify and prevent access to stalled directories by determining whether a directory is stalled based on the difference between the start and end times of recent I/O requests, and if greater than a threshold, flagging it as stalled to avoid accessing it.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the system allows access to any directory without checking for stalls, then the system operates with high speed and low complexity, but the system experiences instability and freezing due to stalled directories

Engineering Contradiction:
Improvesystem stabilityVSAvoidaccess control complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system performs preliminary detection of directory stall status before allowing access. The virtual tape emulator checks whether a directory is stalled by examining the time difference between the start and end times of recent I/O requests, and prevents access to stalled directories before they can cause system freezing or instability.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If the system implements directory stall detection and access prevention, then system stability improves, but the device complexity and processing overhead increase

Engineering Contradiction:
Improvedirectory access reliabilityVSAvoidemulator complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system implements a feedback mechanism where the virtual tape emulator continuously monitors directory status by detecting stall conditions based on I/O request timing. When a stall is detected, the system provides feedback by preventing further access to the stalled directory, creating a closed-loop control system that maintains reliability.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system uses readily available I/O request timing information that is already present in the operational system to detect stalls, rather than requiring additional complex monitoring infrastructure. The emulator leverages existing system data to perform self-diagnosis and self-protection against stalled directories.

Inventive Principle:
Principle #25Self-service

3Reliability

If the system checks every directory for stall status before access, then access reliability improves, but the processing time and system performance decrease

Engineering Contradiction:
Improveaccess reliabilityVSAvoidsystem throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system performs a lightweight partial check by examining only the time difference between start and end times of recent I/O requests to determine stall status, rather than performing a comprehensive directory analysis. This partial action approach provides sufficient reliability while maintaining system throughput.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS9207877B1Detection and avoidance of stalled filesystems to prevent stalling of virtual tape drives during tape mounts
Publication Date: 2015.12.08 EMC IP HLDG CO LLC
  • US9207877B1 patent drawing
  • US9207877B1 patent drawing
  • US9207877B1 patent drawing

AI summary

A method for operating a virtual tape emulator that receives a request to access a directory in a disk array including a set of directories. The method includes determining whether the directory is stalled, and if so, preventing access to the directory. In another embodiment, a virtual tape emulator includes a request reception module configured to receive a request to access a directory in a disk array including a set of directories. The virtual tape emulator further includes a stall determination module configured to determine whether the directory is stalled, and an access prevention module configured to prevent access to the directory if the directory is stalled.