GPU-oriented virtual IO ringbuffer realization method

A technology of free space and data transmission, applied in software simulation/interpretation/simulation, instrumentation, computing, etc., can solve the problems of reduced host interface and low performance, reduce the number of synchronizations, improve ringbuffer data storage rate and host interface bandwidth The effect of utilization

Inactive Publication Date: 2017-05-24
XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Ringbuffer is an important part of graphics command transmission in GPU design. It is responsible for the command interaction between the GPU of the host. The interaction between the host and the GPU is generally completed by the host interface. The ringbuffer design in the public in

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-oriented virtual IO ringbuffer realization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Below in conjunction with accompanying drawing and embodiment the present invention will be further described:

[0020] A method for virtual IO ringbuffer implemented by GPU, such as figure 1 shown, including:

[0021] Step 1, ringbuffer interface (1) initializes all information contained in ringbuffer virtual IO control (2) and ringbuffer IO control (3); said all information includes: the read pointer, write pointer, ringbuffer size of ringbuffer IO control (3) , data transmission start control; ringbuffer virtual IO control (2) free space first address and free space size; said ringbuffer virtual IO control (2) free space first address refers to ringbuffer IO control (3) in the free space of ringbuffer First address; the free space size of the ringbuffer virtual IO control (2) refers to the free space size of the ringbuffer in the ringbuffer IO control (3);

[0022] Step 2. When there is data to be stored in the ringbuffer, first judge whether the free space of the ...

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 belongs to the field of software design and relates to a GPU-oriented virtual IO ringbuffer realization method. The method comprises the steps of writing to-be-stored data in a continuous space starting from a head address of a free space of a ringbuffer if the free space of the ringbuffer can store current data when the data needs to be stored in the ringbuffer, and updating write pointer information; if the free space of the ringbuffer cannot store the current data, initiating synchronization operation to ringbuffer IO control (3) by ringbuffer virtual IO control (2), and re-performing data storage operation; when a data transmission startup instruction is received, sending data information stored in the ringbuffer, and after the sending is finished, updating read pointer information in the ringbuffer IO control (3); and when the space is full of the data in the ringbuffer, actively initiating data transmission operation, and after the sending is finished, updating the read pointer information in the ringbuffer IO control (3). According to the method, ringbuffer management of virtual IO is constructed, so that the costs of the ringbuffer in data transmission and space management are reduced, the communication arbitration cost of a host interface of a GPU is reduced, and the utilization efficiency of the host interface of the GPU is improved.

Description

technical field [0001] The invention belongs to the field of software design, and relates to a virtual IO ringbuffer-oriented method realized by GPU. Background technique [0002] Ringbuffer is an important part of graphics command transmission in GPU design. It is responsible for the command interaction between the GPU of the host. The interaction between the host and the GPU is generally completed by the host interface. The ringbuffer design in the public information is a direct IO operation, and the direct IO operation leads to the ringbuffer. Frequent IO operations are required for data storage, which leads to low performance and frequent switching of host interface operations, reducing the bandwidth utilization of the host interface. Contents of the invention [0003] Purpose of the invention: [0004] In order to solve the problems in the prior art, the present invention provides a GPU-oriented virtual IO ringbuffer method, frequent IO operations during data storage...

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
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/45562G06F2009/45579
Inventor 马城城刘晖田泽黎小玉张琛聂曌
Owner XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
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