Unlock instant, AI-driven research and patent intelligence for your innovation.

Dynamic timer and VirtIO GPU performance optimization method

A timer and dynamic change technology, applied in the direction of processor architecture/configuration, multi-programming device, resource allocation, etc., can solve the problems of long virtual rendering time and low performance at the VirtIOGPU level, and improve the overall graphics performance and performance. The effect of high amplitude and good compatibility

Pending Publication Date: 2022-07-29
KYLIN CORP
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, when the status query is performed at a cycle of 10 milliseconds, the physical graphics card has already been processed, but the VirtIO GPU is still unknown, which leads to a long virtual rendering time at the VirtIO GPU level, and finally manifests as low performance.

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
  • Dynamic timer and VirtIO GPU performance optimization method
  • Dynamic timer and VirtIO GPU performance optimization method
  • Dynamic timer and VirtIO GPU performance optimization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0090] The dynamic algorithm of this embodiment is an exponential increasing algorithm within a specified interval, for example, the setting rule is:

[0091] This time-out time = the last time-out time × multiplication factor.

[0092] The initial value of the timeout period is 100 microseconds, and the maximum value is 10 milliseconds.

[0093] For the VirtIO GPU performance optimization method based on this dynamic timer, see Figure 4 , which includes the following steps:

[0094] Step S1, the VirtIO GPU device receives the rendering request;

[0095] Step S2, the VirtIO GPU forwards the rendering request to the physical graphics card;

[0096] Step S3, the VirtIO GPU queries the completion status of all rendering requests in the physical graphics card, and notifies the application of the completed requests. If the current request has also been processed, the rendering ends; otherwise, if the current request has not been processed, go to step S4.

[0097] Step S4, the...

example 2

[0105] Example 2. Dynamic approximation algorithm:

[0106] In the dynamic approximation algorithm of this embodiment, the initial (ie, the first) timeout time of the dynamic timer of each rendering task is dynamically changed, which is affected by the completion of the previous task. If the previous task is completed within the first timeout, the current rendering task will try to shorten the initial timeout. If the previous task fails to complete within the first timeout, the current task will try to increase the initial timeout. In addition, the second and subsequent timeouts are not affected by the previous task and are fixed at 100 microseconds.

[0107] Algorithm logic:

[0108] Define the initial timeout of the dynamic timer of the current rendering task n as t n , the initial timeout of the dynamic timer of the next rendering task is defined as t n+1 , then there are:

[0109]

[0110] Among them: the time unit is microsecond, n is the rendering task, R n Indic...

example 3

[0122] Example 3. Moving average algorithm:

[0123] In the moving average algorithm of this embodiment, the timeout time (including the first time and later) of the dynamic timer of each rendering task n changes dynamically, which mainly refers to the moving average of the total timeout time when the first 10 tasks are completed. value.

[0124] Algorithm logic:

[0125] Define the rendering task as n, and define the single timeout time of the dynamic timer of the current rendering task n as t n , the single timeout of the next rendering task is defined as t n+1 , the total timeout when the current rendering task n is completed is defined as T n , the total timeout when the last rendering task is completed is defined as T n-1 , and so on, there are:

[0126]

[0127] Among them: the time units are all microseconds, p is the completion rate of the last 10 tasks within the first timeout (that is, p = the number of the last 10 tasks completed within the first timeout ÷ 1...

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 relates to a dynamic timer and a VirtIO GPU (Graphics Processing Unit) performance optimization method based on the dynamic timer, and the dynamic timer is used for polling a rendering request completion state in a VirtIO GPU and calculating timeout time through a dynamic algorithm. The performance optimization method comprises the following steps: the VirtIO GPU equipment receives a rendering request; the VirtIO GPU forwards the rendering request to a physical display card; the VirtIO GPU queries the completion states of all rendering requests in the physical display card, and informs the application program of the completed requests; if the current request is processed, ending the rendering, otherwise, entering the step S4; and S3, starting the dynamic timer by the VirtIO GPU, and entering the step S3 again after the dynamic timer is overtime. According to the method, the problem that the completion state of the rendering request in the VirtIO GPU is not fed back in time is solved, and the processing speed of the rendering request and the overall graphic performance are improved.

Description

technical field [0001] The present patent application belongs to the technical field of VirtIO GPU performance optimization, and more specifically, relates to a dynamic timer and a VirtIO GPU performance optimization method based on the dynamic timer. Background technique [0002] Before introducing the background of the present invention, the relevant abbreviations and key terms in the industry are first introduced. [0003] Cloud desktop: Cloud desktop, also known as desktop virtualization, is a typical application in the era of virtualization and cloud computing. Cloud Desktop builds a server cluster in the cloud data center through cloud computing technology, and creates multiple virtual machines to provide remote services such as remote computing, storage, applications and other personalized content. Users connect to the remote cloud through various cloud terminal devices through the network. Desktop, get your own computing, storage, personalized applications and data ...

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): G06T1/20G06F9/50G06F9/455
CPCG06T1/20G06F9/5027G06F9/45558
Inventor 孙立明江锋谢明张铎
Owner KYLIN CORP