GAMORRA:一种基于栅格化图形流水结构的API级并行计算模型
GAMORRA: An API-Level Workload Model for Rasterization-based Graphics Pipeline Architecture
摘要:
需要帧渲染时间估计或动态频率缩放的应用程序的性能依赖于这些应用程序中使用的工作负载模型的准确性。现有的模型在其核心模型中缺乏足够的准确性。因此,它们需要对目标应用程序或硬件进行更改,以产生准确的结果。本文介绍了一种基于栅格化的图形应用编程接口(API)流水线,命名为GAMORRA,它的工作负载和复杂性的基础上,每个阶段的流水线的数学工作量模型。首先,GAMORRA根据流水线的操作复杂度和输入数据大小对流水线的各个阶段进行建模。然后,将计算出的各阶段的工作量作为解释变量输入到多元线性回归(MLR)模型中。提出了一种混合离线/在线训练方案,以及训练模型。一套基准测试也被设计来调整模型参数的基础上的目标系统的性能。实验在Direct 3D 11和两个不同的渲染平台上进行,将GAMORRA与自回归(AR)模型、帧复杂度模型(FCM)和基于频率的(FRQ)模型进行比较。实验表明,帧渲染时间估计的平均误差为1.27 ms(9.45%),而FCM的平均误差为1.87 ms(13.23%),这是三种方法中最好的方法。然而,与FCM相比,这是以时间复杂度增加0.54 ms(4.58%)为代价的。此外,与FCM相比,GAMMORA将帧时间低估提高了1.1%。
英文摘要:
The performance of applications that require frame rendering time estimation or dynamic frequency scaling, rely on the accuracy of the workload model that is utilized within these applications. Existing models lack sufficient accuracy in their core model. Hence, they require changes to the target application or the hardware to produce accurate results. This paper introduces a mathematical workload model for a rasterization-based graphics Application Programming Interface (API) pipeline, named GAMORRA, which works based on the load and complexity of each stage of the pipeline. Firstly, GAMORRA models each stage of the pipeline based on their operation complexity and the input data size. Then, the calculated workloads of the stages are fed to a Multiple Linear Regression (MLR) model as explanatory variables. A hybrid offline/online training scheme is proposed as well to train the model. A suite of benchmarks is also designed to tune the model parameters based on the performance of the target system. The experiments were performed on Direct3D 11 and on two different rendering platforms comparing GAMORRA to an AutoRegressive (AR) model, a Frame Complexity Model (FCM) and a frequency-based (FRQ) model. The experiments show an average of 1.27 ms frame rendering time estimation error (9.45%) compared to an average of 1.87 ms error (13.23%) for FCM which is the best method among the three chosen methods. However, this comes at the cost of 0.54 ms (4.58%) increase in time complexity compared to FCM. Furthermore, GAMMORA improves frametime underestimations by 1.1% compared to FCM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。