Tape Allocation Deadlock Detection via Serializer Monitoring

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In computer systems with shared input/output resources, serialization of access is used to prevent data corruption, but it can lead to delays and malfunctions like thrashing or allocation deadlocks, where applications continuously request and wait for resources without being allocated, causing inefficiencies and potential data corruption.

Innovation Solution

A method and system for monitoring resource allocation requests across multiple computers, where applications are grouped based on shared resource requests, and a counter is incremented when an application generates a function call due to unallocated resources, sending a message when the counter exceeds a threshold, indicating potential thrashing or deadlocks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If serialization of access to shared input/output devices is implemented, then data corruption is prevented, but system productivity and resource allocation efficiency deteriorate due to delays and waiting times

Engineering Contradiction:
Improvedata integrityVSAvoidresource allocation efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system performs preliminary actions by detecting allocation deadlocks before they cause data corruption or system failure. The deadlock detection mechanism proactively monitors resource allocation states and identifies potential deadlocks early, allowing the system to take preventive measures before actual harm occurs.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The invention implements a feedback mechanism where the system continuously monitors resource allocation requests and detects when applications are waiting for resources held by other applications in a circular dependency. This feedback loop allows the system to identify deadlocks and trigger appropriate resolution actions, balancing data integrity with system productivity.

Inventive Principle:
Principle #23Feedback

2Reliability

If serialization coordinates access sequentially through queuing, then data corruption is prevented, but allocation deadlocks occur causing system instability

Engineering Contradiction:
Improvedata consistencyVSAvoidsystem stability
Core Design Contradiction:
ReliabilityVSStability of the object's composition

Solution Approach 1:

The system detects allocation deadlocks preliminarily by monitoring the state of resource allocation requests and identifying circular wait conditions before they cause system instability. This early detection allows preventive measures to be taken, maintaining system stability while preserving data consistency through serialization.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

A feedback mechanism continuously monitors resource allocation states to detect deadlocks. When a deadlock is detected, the system provides feedback that triggers resolution actions, such as notifying system administrators or automatically breaking the deadlock, thereby maintaining system stability while preserving data consistency.

Inventive Principle:
Principle #23Feedback

3Stability of the object's composition

If monitoring and detection mechanisms are added to detect deadlocks, then system stability is improved, but device complexity increases

Engineering Contradiction:
Improvesystem stabilityVSAvoidsoftware complexity
Core Design Contradiction:
Stability of the object's compositionVSDevice complexity

Solution Approach 1:

The serialization software performs self-service by automatically detecting allocation deadlocks through integrated monitoring of resource allocation requests. The system monitors its own state, identifies deadlocks, and triggers appropriate responses without requiring external intervention, thereby improving stability while minimizing the complexity of additional components.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The deadlock detection mechanism is integrated into the existing serialization software, allowing it to perform multiple functions: coordinating sequential access to prevent data corruption and simultaneously detecting allocation deadlocks. This multi-functionality reduces the need for separate monitoring components, thereby improving system stability without proportionally increasing device complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS9928118B1Detecting tape allocation deadlocks in computer systems using tape device allocation serializer software
Publication Date: 2018.03.27 CA TECH INC
  • US9928118B1 patent drawing
  • US9928118B1 patent drawing
  • US9928118B1 patent drawing

AI summary

Monitoring resource allocation requests to computer resources shared between a plurality of computers includes detecting an allocation request by an application for a first set of the plurality of computer resources and assigning the application to a group, wherein each member of the group comprises a respective application having an associated allocation request for an associated set of the plurality of computer resources. Determining that the first set of the plurality of computer resources cannot be allocated by the application, and determining that the first application generates a function call instructing other members of the group, if any, to request allocation of their associated set of the plurality of computer resources results in incrementing a counter value corresponding to the group. A message is sent when the counter value exceeds a predetermined threshold.