arrow
返回

Thread-Level Locking for SIMT Architectures

delete2020-05-01
delete4
PRE
AI
高
高岚 (Lan Gao)
Y
Yunlong Xu
R
Rui Wang *
Z
Zhongzhi Luan
Z
Zhibin Yu
D
Depei Qian
DOI:10.1109/TPDS.2019.2955705delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
As more emerging applications are moving to GPUs, thread-level synchronization has become a requirement. However, GPUs only provide warp-level and thread-block-level rather than thread-level synchronization. Moreover, it is highly possible to cause live-locks by using CPU synchronization mechanisms to implement thread-level synchronization for GPUs. In this article, we first propose a software-based thread-level synchronization mechanism called lock stealing for GPUs to avoid live-locks. We then describe how to implement our lock stealing algorithm in mutual exclusive locks and readers-writer locks with high performance. Finally, by putting it all together, we develop a thread-level locking library (TLLL) for commercial GPUs. To evaluate TLLL and show its general applicability, we use it to implement six widely used programs. We compare TLLL against the state-of-the-art ad-hoc GPU synchronization, GPU software transactional memory (STM), and CPU hardware transactional memory (HTM), respectively. The results show that, compared with the ad-hoc GPU synchronization for Delaunay mesh refinement (DMR), TLLL improves the performance by 22 percent on average on a GTX970 GPU, and shows up to 11 percent of performance improvement on a Volta V100 GPU. Moreover, it significantly reduces the required memory size. Such low memory consumption enables DMR to successfully run on the GTX970 GPU with the 10-million mesh size, and the V100 GPU with the 40-million mesh size, with which the ad-hoc synchronization can not run successfully. In addition, TLLL outperforms the GPU STM by 65 percent, and the CPU HTM (running on a Xeon E5-2620 v4 CPU with 16 hardware threads) by 43 percent on average.
Keyword:
Graphics processing units
Synchronization
Message systems
System recovery
Instruction sets
Hardware
Computer architecture
Deadlocks
parallelism and concurrency
runtime environments
SIMD processors
synchronization
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

IEEE Transactions on Parallel and Distributed Systems 封面图
IEEE Transactions on Parallel and Distributed Systems
IF:
6
论文数:
5.2K
被引数:
1.1W

机构

X
xi'an jiaotong university
学者数:
9.3W
论文数: 6.7W
被引数: 75
B
Beihang University
学者数:
5.2W
论文数: 4.1W
被引数: 37
C
capital normal university
学者数:
6.4K
论文数: 4.4K
被引数: 3
C
chinese academy of sciences
学者数:
56.7W
论文数: 45.0W
被引数: 704
学者 查看更多机构
引用论文

引用论文

err分享
err收藏
Facile preparation of in situ coated Ti3C2Tx/Ni0.5Zn0.5Fe2O4composites and their electromagnetic performance原位涂层Ti3C2Tx/Ni0.5Zn0.5Fe2O4 复合材料及其电磁性能
err2017-01-01
err0
errOAAI
errYoubing Li; Xiaobing Zhou; Jing Wang; Qihuang Deng; Mian Li; Shiyu Du; Young-Hwan Han; Jaehyung Lee; Qing Huang
err分享
err收藏
Coculture of ARPE-19 Cells and Porcine Neural Retina as an Ex Vivo Retinal Model
err2022-03-18
err0
PREAI
errNatalie Wagner; Armin Safaei; Pia A. Vogt; Maurice R. Gammel; H. Burkhard Dick; Sven Schnichels; Stephanie C. Joachim
err分享
err收藏
Lightweight Hardware Transactional Memory for GPU Scratchpad Memory
err2018-06-01
err9
PREAI
errVillegas, Alejandro; Asenjo, Rafael; Navarro, Angeles; Plata, Oscar; Kaeli, David
err分享
err收藏
学者 查看更多内容