With the advent of low-power ultra-fast hardware and GPUs, virtual reality (VR) has gained a lot of prominence in the last few years and is being used in various areas such as education, entertainment, scientific visualization, and computer-aided design. VR-based applications are highly interactive, and one of the most important performance metrics for these applications is the motion-to-photon-delay (MPD). MPD is the delay from the users head movement to the time at which the image gets updated on the VR screen. Since the human visual system can even detect an error of a few pixels (very spatially sensitive), the MPD should be as small as possible. Popular VR vendors use the GPU-accelerated Asynchronous Time Warp (ATW) algorithm to reduce the MPD. ATW reduces the MPD if and only if the warping operation finishes just before the display refreshes. However, due to the competition between applications for the shared GPU, the GPU-accelerated ATW algorithm suffers from an unpredictable ATW latency, making it challenging to find the ideal time instance for starting the time warp and ensuring that it completes with the least amount of lag relative to the screen refresh. Hence, the state-of-the-art is to use a separate hardware unit for the time warping operation. Our approach, PredATW, uses an ML-based predictor to predict the ATW latency for a VR application, and then schedule it as late as possible. This is the first work to do so. Our predictor achieves an error of 0.77 ms across several popular VR applications for predicting the ATW latency. As compared to the baseline architecture, we reduce deadline misses by 73.1%.
翻译:随着超快低功率硬件和GPU的出现,虚拟现实(VR)在过去几年中已变得非常突出,并且正在教育、娱乐、科学视觉化和计算机辅助设计等各个领域使用。VR的应用程序具有高度互动性,而这些应用程序最重要的性能衡量标准之一是运动到Photo-pton-delay(MPD)。MPD是从用户头到图像在VR屏幕上更新的时间的延迟。由于人类视觉系统甚至能够发现几个像素的错误(高度空间敏感),MPD应该尽可能小地预测。大众VR供应商使用GPU加速的Asynchoncrosyous Tymer Warp(ATW)算法来减少MPD。 ATW如果而且只有当战争操作在显示更新前刚刚结束,则会降低MPDD。然而,由于对共享GPU的应用程序的竞争, GPU-cer-ceralation 算出数对AT的算法会因时间上的不可预测性而发生。AST-AT的精确性应用,因此使得我们最晚的运行时间范围变得难以预测。对于我们最短的时间结构来说,因此难以找到一个最短的时间范围。