Home > Papers

 
 
A Fast and Secure GPU Memory Allocator
CHEN Hao *,WU Jiang
College of Computer Science and Electronic Engineering, Hunan University, Changsha 410006
*Correspondence author
#Submitted by
Subject:
Funding: National Science Foundation(No.No.61572179, No.61772183)
Opened online: 4 April 2019
Accepted by: none
Citation: CHEN Hao,WU Jiang.A Fast and Secure GPU Memory Allocator[OL]. [ 4 April 2019] http://en.paper.edu.cn/en_releasepaper/content/4748201
 
 
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 suchas 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 asbuffer 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.
Keywords:Software engineering ; Dynamic Memory Allocation ; CUDA ; Buffer Overflow ; GPGPU
 
 
 

For this paper

  • PDF (0B)
  • ● Revision 0   
  • ● Print this paper
  • ● Recommend this paper to a friend
  • ● Add to my favorite list

    Saved Papers

    Please enter a name for this paper to be shown in your personalized Saved Papers list

Tags

Add yours

Related Papers

Statistics

PDF Downloaded 40
Bookmarked 0
Recommend 0
Comments Array
Submit your papers