High-Performance Graphics 2021
Permanent URI for this collection
Browse
Browsing High-Performance Graphics 2021 by Subject "Software and its engineering"
Now showing 1 - 1 of 1
Results Per Page
Sort Options
Item Cooperative Profile Guided Optimizations(The Eurographics Association and John Wiley & Sons Ltd., 2021) Stephenson, Mark; Rangan, Ram; Keckler, Stephen W.; Binder, Nikolaus and Ritschel, TobiasExisting feedback-driven optimization frameworks are not suitable for video games, which tend to push the limits of performance of gaming platforms and have real-time constraints that preclude all but the simplest execution profiling. While Profile Guided Optimization (PGO) is a well-established optimization approach, existing PGO techniques are ill-suited for games for a number of reasons, particularly because heavyweight profiling makes interactive applications unresponsive. Adaptive optimization frameworks continually collect metrics that guide code specialization optimizations during program execution but have similarly high overheads. We emulate a system, which we call Cooperative PGO, in which the gaming platform collects piecemeal profiles by sampling in both time and space during actual gameplay across many users; stitches the piecemeal profiles together statistically; and creates policies to guide future gameplay. We introduce a three-level hierarchical profiler that is well-suited to graphics APIs, that commonly operates with no overhead and occasionally introduces an average overhead of less than 0.5% during periods of active profiling. This paper examines the practicality of Cooperative PGO using three PGOs as case studies. A PGO that exploits likely zeros is particularly effective, achieving an average speedup of 5%, with a maximum speedup of 15%, over a highly-tuned baseline.