Dynamic Memory Management for Workload Acceleration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current memory management methods are inefficient as they do not dynamically select the optimal memory management approach based on specific memory parameters and processor capabilities, leading to suboptimal performance and energy consumption during function execution.
Innovation Solution
A system that includes a memory condition module to determine memory parameters of host and device memory, and a memory selection module to choose between pageable, page-locked, zero-copy, and unified address space memory management methods based on these parameters, ensuring the most efficient method is used for each function execution.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If a fixed memory management method is used for all function executions, then the system complexity is reduced and ease of operation is improved, but performance is suboptimal and energy consumption is higher
Solution Approach 1:
The patent implements dynamic memory management method selection based on runtime conditions. The system evaluates memory parameters such as available host memory, device memory, access patterns, and allocation complexity to dynamically choose the most appropriate memory management method (pageable, page-locked, zero-copy, or unified address space) for each function execution, thereby optimizing performance without requiring a single complex fixed system
Solution Approach 2:
The system changes memory management parameters dynamically by selecting different memory management methods based on varying memory conditions. The memory condition module monitors parameters like available memory size, access frequency, and allocation complexity, then adjusts the memory management approach accordingly - using pageable memory when host memory is abundant, zero-copy when device memory is limited, and other methods based on specific conditions
2Use of energy by moving object
If dynamic memory management method selection is implemented, then performance is improved and energy consumption is reduced, but system complexity increases
Solution Approach 1:
The memory condition module autonomously monitors memory parameters and selects appropriate memory management methods without requiring external intervention or complex control systems. The system self-evaluates conditions such as available memory, access patterns, and allocation complexity, then automatically adjusts memory management approach, reducing the need for additional complex control infrastructure while achieving energy optimization
3Productivity
If the current memory management method is used regardless of conditions, then ease of operation is maintained, but performance and energy efficiency deteriorate
Solution Approach 1:
The patent introduces a memory condition module as an intermediary between the function execution request and the memory management system. This intermediary automatically evaluates memory parameters and selects the optimal memory management method, shielding users from complexity while enabling performance optimization. Users simply issue function calls without needing to understand or manage memory allocation details
Data Source
AI summary
An apparatus for selecting a memory management method includes a memory condition module that determines memory parameters of host memory and device memory prior to a device executing a function and a memory selection module that selects a memory management method based on the memory parameters. The apparatus includes and an implementation module that implements the selected memory management method in association with execution of the function.


