Hardware Engine Resource Leakage Recovery via Register Monitoring

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Resource leakage in hardware processing cores, where resources are not released after use, leading to a lack of available resources and potential system failure, necessitating a full system reset which is complex and degrades network performance.

Innovation Solution

Implementing a memory mapped register accessible to monitoring software to identify and recover leaked resources by stopping processes, invalidating allocated resources, initializing them, and starting new processes, allowing for resource reallocation without rebooting the entire system.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a full system reset is performed to recover from resource leakage, then resources are recovered and system functionality is restored, but system complexity increases and network performance degrades

Engineering Contradiction:
Improveresource recoveryVSAvoidreset procedure complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the reset operation from the entire system to only the hardware engine level. Instead of resetting the whole system, the invention isolates and resets only the specific hardware engine experiencing resource leakage, while other engines continue operating normally. This is achieved through individual engine control mechanisms that allow selective resetting without affecting system-wide operations.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary resource manager component that mediates between hardware engines and the monitoring system. This resource manager tracks resource allocation, detects leakage conditions, and orchestrates targeted recovery operations. The intermediary layer simplifies the reset process by managing resource state transitions and coordinating engine-level resets without requiring complex system-wide reset procedures.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If a full system reset is performed to recover from resource leakage, then resources are recovered, but recovery time increases significantly

Engineering Contradiction:
Improveresource recoveryVSAvoidrecovery time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent divides the recovery process into engine-specific segments rather than system-wide operations. Each hardware engine can be independently monitored and reset, allowing recovery to occur in parallel across multiple engines and significantly reducing total recovery time. The segmentation enables granular control where only affected engines are reset while others maintain operational continuity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary monitoring and detection mechanisms that identify resource leakage conditions before they cause complete system failure. By continuously tracking resource allocation states and detecting anomalies early, the system can initiate targeted recovery operations promptly, reducing the time lost to resource leakage issues.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If hardware engines continue operating with leaked resources, then processing continues, but available resources decrease until the system becomes stuck

Engineering Contradiction:
Improveprocessing continuityVSAvoidavailable resources
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent implements a feedback mechanism where the resource manager continuously monitors resource allocation and engine operation states. When resource leakage is detected through this feedback loop, the system automatically triggers recovery operations. The monitoring system provides real-time information about resource usage patterns, enabling dynamic adjustment and timely intervention before resource exhaustion occurs.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent enables hardware engines to participate in their own resource management and recovery process. Engines can report their resource usage status and cooperate with the resource manager during recovery operations. This self-service approach allows engines to maintain productivity while actively participating in resource leak detection and recovery, minimizing the impact on overall system productivity.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10402259B2Systems and methods for resource leakage recovery in processor hardware engines
Publication Date: 2019.09.03 NXP USA INC
  • US10402259B2 patent drawing
  • US10402259B2 patent drawing

AI summary

The embodiments described herein provide systems and methods for recovering resources in processing devices. Specifically, the embodiments described herein provide techniques for recovering leaked resources allocated to hardware engines in a hardware processing core. As one example, the recovery of resources allocated to hardware engines can be facilitated by making a specified register available to monitoring software. When leaked or otherwise stuck resources are identified, the monitoring software can set the register to trigger the recovery of those resources. This recovery of resources can be then performed by stopping the execution of processes in the hardware engines, invalidating the resources previously allocated to the hardware engines, initializing the resources, and starting the handling of new processes in the hardware engines. This process effectively recovers those resources, and allows those hardware engines to quickly resume operations.