Video memory management method and device, electronic equipment and storage medium

By identifying and replacing hot and cold pages in the GPU page table, memory management is optimized, solving the problems of limited memory resources and low utilization, and improving GPU performance and system stability.

CN120994305APending Publication Date: 2025-11-21MOORE THREADS TECHNOLOGY (SHANGHAI) CO LTD
0 Cites 3 Cited by

Patent Information

Application Number
CN202511095027.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-05
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

Existing GPU virtualization technologies suffer from limited memory resources, low utilization, and a lack of hot and cold page identification and replacement mechanisms, leading to a decline in GPU performance.

Method used

By identifying cold and hot pages in the GPU page table, cold pages are swapped into system memory and hot pages are swapped into GPU memory. The system optimizes memory usage by periodically scanning threads and manages memory resources by setting margin thresholds and memory page pools.

Benefits of technology

This improves the utilization of video memory and reduces the need to use system memory as a substitute due to insufficient video memory, thereby enhancing the overall performance of the GPU and the stability of the system.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention relates to a video memory management method and device, electronic equipment and a storage medium, the method is applied to a GPU drive in a virtual machine, and the method comprises the steps that when it is detected that the remaining amount of a GPU video memory is lower than a set remaining amount threshold value, cold pages in a GPU page table are recognized; wherein the cold page is a page table item which is not accessed in a recent preset time interval; and under the condition that the cold page is a video memory, replacing a physical address corresponding to the virtual address in the cold page to a physical address in a system memory so as to replace video memory data corresponding to the cold page to the system memory. The embodiment of the invention can improve the overall utilization rate of the video memory.
Need to check novelty before this filing date? Find Prior Art