Memory page management method and memory page conversion method for GPU

A management method and memory page technology, applied in the GPU field, can solve problems such as space waste, program overhead, and storage cost increase, and achieve the effects of improving usage efficiency, reducing storage costs, and reducing the possibility of internal fragmentation

Active Publication Date: 2021-12-24
NAT INNOVATION INST OF DEFENSE TECH PLA ACAD OF MILITARY SCI
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the problem of memory fragmentation occurs, it will cause waste of space, resulting in increased program overhead and storage costs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory page management method and memory page conversion method for GPU
  • Memory page management method and memory page conversion method for GPU
  • Memory page management method and memory page conversion method for GPU

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with specific embodiments of the present invention and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.

[0044] The technical solution provided by an embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

[0045] See attached figure 2 In a first aspect, an embodiment of the present invention provides a memory page management method for GPU, the method comprising:

[0046] A small physical page is neste...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a memory page management method and a memory page conversion method for a GPU (Graphics Processing Unit), the memory page management method comprises the following steps: nesting a small physical page in at least one physical page, the memory of the small physical page being smaller than that of the physical page; adding a nested page flag bit with a preset memory size in the page table item of the TLB, wherein the nested page flag bit is used for representing whether a small physical page is nested in a physical page corresponding to the page table item of the current TLB or not and used for representing whether the virtual address hits the physical page corresponding to the page table item of the current TLB or not; and performing virtual and real address conversion according to the adjusted TLB. According to the memory page management method and the memory page conversion method for the GPU, the use efficiency of the memory space can be improved, the storage cost is reduced, and the memory fragmentation problem in the multi-task GPU is reduced.

Description

technical field [0001] The invention relates to the technical field of GPUs, in particular to a memory page management method and a memory page conversion method for GPUs. Background technique [0002] Graphics Processing Unit (GPU) is a microprocessor used to do image and graphics-related calculations. GPU is widely used in cloud computing platforms and data centers because of its powerful computing capabilities, providing users with the For computing, modern GPUs usually use virtual memory technology to abstract real physical memory, providing the illusion of an exclusive memory address space for each task running on the GPU. Under the virtual memory technology, the memory address generated by executing the memory access instruction of a certain task on the GPU is called a virtual address or logical address, and the address that accesses the real physical memory is called a physical address. The address mapping of the address, so when writing the program, you can ignore t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/1036G06F12/1009G06F12/0882G06F9/50
CPCG06F12/1036G06F12/1009G06F12/0882G06F9/5016Y02D10/00
Inventor 赵夏唐玉华张光达黄安文温家辉孙懿淳张鸿云张宇
Owner NAT INNOVATION INST OF DEFENSE TECH PLA ACAD OF MILITARY SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products