arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1312.6650cs.OS
收藏

硬件加速3D图形的透明检查点重启

Transparent Checkpoint-Restart for Hardware-Accelerated 3D Graphics

Samaneh Kazemi Nafchi, Rohan Garg, Gene Cooperman

摘要:

为长时间运行的GPU密集型作业提供容错需要特定于应用程序的解决方案,并且通常涉及保存分布在许多图形库中的复杂数据结构的状态。这项工作描述了一种透明的GPU独立的检查点重新启动的3D图形的机制。该方法基于记录-修剪-重放范例:记录与图形驱动器状态相关的所有OpenGL调用;丢弃与检查点之前的最后一个图形帧的内部驱动器状态不相关的调用;并且在重启时重放剩余的调用。以前的OpenGL 1.5方法基于影子设备驱动程序,需要超过78,000行OpenGL特定代码。相比之下,基于记录-修剪-重放的新方法仅用4,500行代码就实现了相同的情况。这种方法的速度在OpenGL 1.5的本地硬件加速速度的80%到近100%之间变化,这是在Linux下运行ioquake 3游戏时测得的。这种方法也被扩展到第一次演示OpenGL 3.0的检查点,并演示了PyMol的分子可视化。

英文摘要:

Providing fault-tolerance for long-running GPU-intensive jobs requires application-specific solutions, and often involves saving the state of complex data structures spread among many graphics libraries. This work describes a mechanism for transparent GPU-independent checkpoint-restart of 3D graphics. The approach is based on a record-prune-replay paradigm: all OpenGL calls relevant to the graphics driver state are recorded; calls not relevant to the internal driver state as of the last graphics frame prior to checkpoint are discarded; and the remaining calls are replayed on restart. A previous approach for OpenGL 1.5, based on a shadow device driver, required more than 78,000 lines of OpenGL-specific code. In contrast, the new approach, based on record-prune-replay, is used to implement the same case in just 4,500 lines of code. The speed of this approach varies between 80 per cent and nearly 100 per cent of the speed of the native hardware acceleration for OpenGL 1.5, as measured when running the ioquake3 game under Linux. This approach has also been extended to demonstrate checkpointing of OpenGL 3.0 for the first time, with a demonstration for PyMol, for molecular visualization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑