Hardware Virtual Memory Page Migration in Heterogeneous Systems
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Software-based data migration in unified memory systems results in excessive overhead, necessitating a solution to minimize this overhead and improve performance by offloading page faults and software processing to hardware.
Innovation Solution
A virtual memory management technology that detects local memory access and migrates pages without software intervention, using an inverted page table to generate frame identifications and perform page migration between system and device memories, thereby reducing the time required for page migration and improving performance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If software-based data migration is used in unified memory systems, then data can be migrated between heterogeneous memory sets, but excessive overhead is generated
Solution Approach 1:
The patent replaces software-based page migration with a hardware-based mechanism. A page migration unit in the GPU detects page faults and performs data migration between system memory and device memory through hardware operations, eliminating the need for software intervention and reducing processing overhead significantly
Solution Approach 2:
The GPU's page migration unit autonomously handles page migration operations without requiring software intervention. When a page fault is detected, the hardware automatically migrates the required data pages between memory spaces, enabling self-service memory management
2Reliability
If software processing is used for page faults, then page migration can be performed, but time required for page migration increases
Solution Approach 1:
The patent substitutes software page fault handling with hardware-based detection and migration. The page migration unit in the GPU hardware directly detects page faults and executes migration operations, dramatically reducing the time required compared to software-based approaches
3Adaptability or versatility
If unified memory technology is used, then memory overuse is supported, but software intervention is required for migration
Solution Approach 1:
The GPU's page migration unit autonomously manages unified memory operations, detecting page faults and performing migrations without software intervention. This self-service mechanism maintains memory overuse support while eliminating the complexity of software-based migration management
Data Source
AI summary
There is provided a method for managing a virtual memory in a heterogeneous system. The method comprises receiving a request for accessing to a page in the heterogeneous system; determining a physical address corresponding to an address of the page in the device memory; generating a frame indentification of a migration destination of the device memory using an inverted page table stored in the device memory, when the determined physical address indicates an address allocated to the system memory; and performing page migration to the system memory using the frame indentification and the physical address.


