Guarded Storage Event Handler for Concurrent Memory Reclamation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In computing environments, storage reclamation processes face delays due to the need to suspend execution of all application processes referencing memory during garbage collection, as active data objects cannot be relocated without risking data integrity and performance.

Innovation Solution

A guarded storage facility is introduced, which sets up protected memory ranges, allowing storage reclamation to proceed without suspending applications by detecting guarded storage events and using attributes to relocate memory objects and adjust pointers, enabling continuous execution across CPUs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If storage reclamation is performed by suspending execution of all application processes referencing memory, then data integrity is maintained during memory relocation, but application performance deteriorates due to execution delays

Engineering Contradiction:
Improvedata integrityVSAvoidapplication performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system performs preliminary actions by setting up guarded storage events and attributes before storage reclamation begins. The guarded storage facility pre-configures memory ranges and event handlers, allowing storage reclamation to proceed without suspending applications. The guarded storage event attributes (such as the address of the guarded storage event handler and the guarded storage event parameter list address) are established in advance to enable automatic handling of memory relocation events.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The guarded storage event handler acts as an intermediary between the storage reclamation process and application processes. When a guarded storage event is detected (indicating memory relocation), the handler uses the guarded storage event attributes to relocate memory objects and adjust pointers, enabling continuous execution while maintaining data integrity through coordinated memory management.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If memory objects are relocated during storage reclamation, then memory space is efficiently consolidated, but execution must be suspended to prevent data integrity issues

Engineering Contradiction:
Improvememory consolidation efficiencyVSAvoidexecution delay
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The guarded storage facility enables continuity of useful action by allowing storage reclamation to proceed without halting application execution. The system continuously monitors for guarded storage events and automatically handles memory relocation through pre-configured event handlers and attributes, ensuring that both memory consolidation and application execution proceed simultaneously without interruption.

Inventive Principle:
Principle #20Continuity of useful action

3Productivity

If guarded storage events are detected and processed, then memory objects can be relocated without suspending applications, but system complexity increases due to additional event handling mechanisms

Engineering Contradiction:
Improveconcurrent execution capabilityVSAvoidevent handling mechanism complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The guarded storage event attributes serve multiple functions: they store the address of the guarded storage event handler, the guarded storage event parameter list address, and other necessary information for memory relocation. This multi-functional attribute structure reduces the need for separate data structures and simplifies the overall event handling mechanism while enabling concurrent execution.

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

Data Source

PatentUS11010066B2Identifying processor attributes based on detecting a guarded storage event
Publication Date: 2021.05.18 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11010066B2 patent drawing
  • US11010066B2 patent drawing
  • US11010066B2 patent drawing

AI summary

A guarded storage facility sets up a boundary indicating a range of addresses to be guarded or protected. When a program attempts to access an address in a guarded section defined by the boundary, a guarded storage event occurs. Use of this facility facilitates performance of certain tasks within a computing environment, including storage reclamation.