Locality-Aware CTA Scheduling for Gaming Applications

Author:

Ukarande Aditya1,Patidar Suryakant1,Rangan Ram1

Affiliation:

1. NVIDIA, Bangalore, India

Abstract

The compute work rasterizer or the GigaThread Engine of a modern NVIDIA GPU focuses on maximizing compute work occupancy across all streaming multiprocessors in a GPU while retaining design simplicity. In this article, we identify the operational aspects of the GigaThread Engine that help it meet those goals but also lead to less-than-ideal cache locality for texture accesses in 2D compute shaders, which are an important optimization target for gaming applications. We develop three software techniques, namely LargeCTAs , Swizzle , and Agents , to show that it is possible to effectively exploit the texture data working set overlap intrinsic to 2D compute shaders. We evaluate these techniques on gaming applications across two generations of NVIDIA GPUs, RTX 2080 and RTX 3080, and find that they are effective on both GPUs. We find that the bandwidth savings from all our software techniques on RTX 2080 is much higher than the bandwidth savings on baseline execution from inter-generational cache capacity increase going from RTX 2080 to RTX 3080. Our best-performing technique, Agents , records up to a 4.7% average full-frame speedup by reducing bandwidth demand of targeted shaders at the L1-L2 and L2-DRAM interfaces by 23% and 32%, respectively, on the latest generation RTX 3080. These results acutely highlight the sensitivity of cache locality to compute work rasterization order and the importance of locality-aware cooperative thread array scheduling for gaming applications.

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Information Systems,Software

Reference58 articles.

1. B. Aarts M. Barreteau F. Bodin P. Brinkhaus Z. Chamski H.-P.Charles C. Eisenbeis et al. 1997. OCEANS: Optimizing com-pilers for embedded applications. In Proceedings of the 3rd International Euro-Par Conference . 1351–1356.

2. Understanding the efficiency of ray traversal on GPUs

3. A survey on compiler autotuning using machine learning;Ashouri Amir H.;ACM Computing Surveys,2018

4. Analyzing CUDA workloads using a detailed GPU simulator;Bakhoda Ali;Proceedings of the International Symposium on Performance Analysis of Systems and Software (ISPASS’09),2009

Cited by 6 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. FASTEN: Fast GPU-accelerated Segmented Matrix Multiplication for Heterogenous Graph Neural Networks;Proceedings of the 38th ACM International Conference on Supercomputing;2024-05-30

2. DEFCON: Deformable Convolutions Leveraging Interval Search and GPU Texture Hardware;2024 IEEE International Parallel and Distributed Processing Symposium (IPDPS);2024-05-27

3. Boustrophedonic Frames: Quasi-Optimal L2 Caching for Textures in GPUs;2023 32nd International Conference on Parallel Architectures and Compilation Techniques (PACT);2023-10-21

4. Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programs;Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2;2023-01-27

5. DTexL: Decoupled Raster Pipeline for Texture Locality;2022 55th IEEE/ACM International Symposium on Microarchitecture (MICRO);2022-10

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3