Title
A Fast and Secure GPU Memory Allocator
Abstract
Graphics Processing Units (GPUs) is widely used to perform general purpose computing in many areas such as scientific computing and deep learning. In order to offer more flexibility in GPU programming, dynamic memory allocation has been introduced in GPU programming frameworks such as CUDA. However, the dynamic memory allocator in CUDA is inefficient in highly concurrent environments. Thus, several dynamic memory allocators are recently proposed to enhance the performance of dynamic memory management. However, these allocators only focus on achieving higher performance but ignore the security issues. In this paper, we propose a fast and secure GPU memory allocator based on ScatterAlloc. In order to efficiently protect against memory attacks such as buffer overflows, our allocator consists of several key techniques including canary-based memory protection (two options such as detection-on-free and always-on-detection are provided), address compression, and over-provisioning. Experimental results show that the allocator can effectively detect buffer overflow errors while it is still approximately 100 times faster than the CUDA toolkit allocator.
Year
DOI
Venue
2019
10.1109/HPCC/SmartCity/DSS.2019.00035
2019 IEEE 21st International Conference on High Performance Computing and Communications; IEEE 17th International Conference on Smart City; IEEE 5th International Conference on Data Science and Systems (HPCC/SmartCity/DSS)
Keywords
Field
DocType
Dynamic Memory Allocation, CUDA, Buffer Overflow, GPGPU
Dynamic random-access memory,Memory protection,C dynamic memory allocation,Computer science,CUDA,Parallel computing,Artificial intelligence,General-purpose computing on graphics processing units,Deep learning,Allocator,Distributed computing,Buffer overflow
Conference
ISBN
Citations 
PageRank 
978-1-7281-2059-1
0
0.34
References 
Authors
0
7
Name
Order
Citations
PageRank
Jiang Wu100.34
Bang Di272.47
Jianhua Sun319225.27
Hao Chen4145.59
Xionghu Zhong521.03
Daokun Hu612.04
Chenlin Huang700.34