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

Method and system for managing hardware command queue

A command queue and hardware queue technology, applied in the field of high-performance computing, can solve problems such as hardware delay, command queue blocking, and reduce the efficiency of parallel computing systems, so as to avoid invalid waiting and improve efficiency

Active Publication Date: 2022-06-07
SHANGHAI DENGLIN TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The fence mechanism is a consumer and producer mode that requires external storage to exchange data between hardware command queues. This mechanism causes hardware delays due to access to external storage and requires software to manage external storage.
The hardware semaphore signal method is to use the internal circuit of the hardware command queue chip to transmit the semaphore signal. This method is more convenient for synchronization with a small number of queues (such as 2). Once the number of hardware command queues increases, the algorithm will be quite complicated. Difficult to efficiently synchronize hardware command queues
Moreover, the inventor also found that these synchronization mechanisms often also cause the blockage of the command queue, because once a certain command queue executes the waiting command, the command queue will stop running
It is necessary to wait until the end of the command to continue the execution of subsequent commands, even if there are no subsequent commands that do not have any dependencies, they cannot be executed
This also reduces the efficiency of the parallel computing system, especially when there are many data processing modules, the problem caused by this waiting is more obvious

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
  • Method and system for managing hardware command queue
  • Method and system for managing hardware command queue
  • Method and system for managing hardware command queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings through specific embodiments. It should be understood that the described embodiments are some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0031] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present invention. However, those skilled in the art will appreciate that the technical solutions of the present invention may be practiced withou...

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

Embodiments of the present invention provide a method and system for managing hardware command queues. The commands are executed in a non-blocking manner inside the hardware queue. The hardware command queue can transmit commands that do not currently have any dependencies to the data processing module for processing. There is no need to wait for the completion of the previous command; for pending commands that have dependencies with other commands, check whether the dependent commands have been executed. If not, you can temporarily cache the command and continue to process subsequent commands. Therefore, the efficiency of data parallel processing is fully improved, and the effective synchronization between each hardware command queue is realized by using a simple mechanism, which does not require complicated software programming, and avoids invalid waiting caused by reading external storage.

Description

technical field [0001] The present invention relates to high-performance computing, and in particular, to a method and system for managing hardware command queues. Background technique [0002] The statements in this section are only for providing background information related to the technical solutions of the present application to help understanding, and they do not necessarily constitute prior art to the technical solutions of the present application. [0003] Multiple hardware command queues (also referred to as hardware queues for short) are usually included in modern high-performance computing processors to execute commands in parallel. The execution of commands in each hardware command queue usually includes three steps: command reading and parsing, command scheduling, and command distribution. [0004] Usually, within each hardware queue, commands are executed serially, that is, commands are parsed and distributed sequentially within the same hardware command queue...

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/38
CPCG06F9/3816G06F9/3836
Inventor 马亮王平
Owner SHANGHAI DENGLIN TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products