Sub-graph Identification for DAG Processing Memory Constraints

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data processing techniques, such as neural network and graphics processing, face inefficiencies in handling large amounts of data due to inadequate management of operations and memory constraints, leading to suboptimal execution and increased memory traffic.

Innovation Solution

A system comprising a host processor and an offload processor, where the host processor identifies and selects sub-graphs of operations from a directed acyclic graph (DAG) that map to corresponding execution units and storage elements, optimizing buffer sizes through simulation to minimize memory constraints and reduce external memory operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If data processing techniques process and generate considerable amounts of data using operations, then processing capability is improved, but memory constraints and memory traffic increase

Engineering Contradiction:
Improveprocessing capabilityVSAvoidmemory traffic
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent segments the directed acyclic graph of operations into multiple sub-graphs that can be independently mapped to processing modules. This segmentation allows operations to be distributed across multiple execution units, improving processing capability while managing memory traffic by localizing data access within each sub-graph's mapping context.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a mapping dimension that connects operations to execution units and connections to storage elements. This dimensional transformation enables the system to process considerable amounts of data by utilizing the multi-dimensional mapping space, thereby improving processing capability without proportionally increasing memory traffic.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Productivity

If buffer sizes are increased to handle data processing operations, then processing efficiency is improved, but memory constraints are worsened

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidmemory constraints
Core Design Contradiction:
ProductivityVSVolume of stationary object

Solution Approach 1:

The patent performs preliminary simulation of sub-graph execution to estimate required buffer sizes before actual data processing. This preliminary action allows the system to allocate memory efficiently, ensuring processing efficiency is maintained while avoiding excessive buffer allocation that would worsen memory constraints.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent dynamically adjusts buffer size parameters based on simulation results and actual processing requirements. By changing buffer size parameters adaptively rather than using fixed large allocations, the system maintains processing efficiency while respecting memory constraints.

Inventive Principle:
Principle #35Parameter changes

3Speed

If sub-graph mapping to execution units is optimized, then processing speed is improved, but system complexity increases

Engineering Contradiction:
Improveprocessing speedVSAvoidsystem complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent implements self-service mechanisms where the system automatically performs sub-graph identification, simulation, and mapping optimization without requiring external intervention. This automation improves processing speed through optimized mapping while managing system complexity by encapsulating the complexity within automatic routines rather than requiring manual management.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20240370301A1Identification of sub-graphs from a directed acyclic graph of operations on input data
Publication Date: 2024.11.07 ARM LTD
  • US20240370301A1 patent drawing
  • US20240370301A1 patent drawing
  • US20240370301A1 patent drawing

AI summary

The present disclosure relates to a system, method and non-transitory computer-readable storage medium for handling data. From a directed acyclic graph, DAG, of operations on input data a sub-graph of operations is identified and issued as task data to be executed by a processing module, wherein each of the operations in the sub-graph maps to a corresponding execution unit of the processing module of the system and wherein each connection between operations maps to a corresponding storage element of the processing module. The sub-graph is identified such that a simulation of an execution of the operations of the candidate sub-graph according to a determined size of the processing unit of said input data shows that the processing module can execute the operations of the sub-graph such that memory constrains of the processing module are met and read-write operations to memory external to the processing module are avoided or reduced.