Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

GPU page missing processing method, system and medium based on page-locked memory

A memory page and memory technology, which is applied in the direction of electrical digital data processing, multi-channel program device, program control design, etc., can solve problems such as data access delay, and achieve the effect of avoiding performance waste and reducing computing time

Active Publication Date: 2022-07-29
NANKAI UNIV
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The main purpose of the present invention is to provide a page-locked memory-based GPU page-miss acceleration processing method, system and medium, which can solve the problem of data access delay caused by the cycle-by-cycle page-miss processing mechanism of UVM, and realize the lack of GPU Optimized page processing mechanism

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
  • GPU page missing processing method, system and medium based on page-locked memory
  • GPU page missing processing method, system and medium based on page-locked memory
  • GPU page missing processing method, system and medium based on page-locked memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

[0044] Embodiments of the present invention provide a method for processing GPU page misses based on page-locked memory, refer to figure 2 ,include:

[0045] S100. In the page-locked memory, establish an access state bitmap for accessing a physical memory page; the access state bitmap includes: a record state of a physical memory page that may be accessed; when the physical memory page exists in the GPU memory, Then it is...

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 GPU page missing processing method, system and medium based on page-locked memory. The method establishes an access state bitmap for accessing physical memory pages in the page-locked memory, detects the access state bitmap, and detects GPUs in advance. Whether the physical memory page that the thread block needs to access is on the GPU side; if it does not exist, the physical memory page migration of the GPU is performed in advance to avoid performance waste caused by batch processing of missing GPU memory pages. Based on the current GPU page fault processing mechanism, the process of waiting for the page fault processing cycle can be omitted, and the calculation time can be reduced; it is especially suitable for application scenarios when the storage amount of the data to be processed is larger than the GPU memory.

Description

technical field [0001] The invention relates to the field of computer applications, in particular to a method, system and medium for processing GPU page missing based on page-locked memory. Background technique [0002] With the rapid growth of Internet users and the rapid expansion of data volume, the demand for computing in cloud services and data centers is also rising rapidly. The emergence of various new applications such as deep learning online prediction, video transcoding, and image compression and decompression requires computing that has far exceeded the capabilities of traditional CPU processors. The emergence of new processors such as GPUs that are different from CPUs has brought a huge architectural change to the data center, and GPUs can be used to execute any computing scenario in parallel. [0003] At present, GPU programming technology refers to the use of computing platforms provided by graphics card manufacturers to perform CPU-GPU collaborative processin...

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 Patents(China)
IPC IPC(8): G06F9/50
CPCG06F9/5016G06F9/5027
Inventor 唐瑞琦宫晓利张金
Owner NANKAI UNIV
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More