Research and Realization of the Accelerating Techniques of LARED-P on GPU

Author
LiuLaiGuo
Advisor
XuZuoZuo
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2009
Downloads
30
Citations
2

Request the full text

Abstract

LARED-P is an important particle simulation algorithm. It implements three-dimensional laser-plasma simulation using particle-in-cell method. It has great significance in deeply understanding the characteristics when the super-laser spreading in low-density plasma and the complex interaction between them, the research in controlled nuclear fusion and solving the problem in using nuclear energy. In practice, the simulation size is always large; the amounts of data and calculation are huge. It is a compute-intensive program. When implemented in large-scale clusters, we need a lot of computing devices, and so it is costly. GPU has a higher floating-point computing capability compared with that of CPU. It is suitable to accelerate the programs those are compute-intensive, control-less, can be divided into threads in high degree and can be parallel in fine-grained. Acceleration of LARED-P on GPU has great significance in effectively reducing the simulation costs and improving simulation efficiency.In this paper we detailed analyze the LARED-P. Focused on the particle-motion-equations, particle-cloud-equation and the particle-rearrangement process, we found the key factors those constrain the GPU-based acceleration of LARED-P. On this basis, with a view of the structural characteristics of GPU, we accelerated LARED-P on GPU taking a part-to-whole strategy. It is the first time that LARED-P is accelerated in double-precision on GPU. The main work that we achieved includes:(1) The strategy of large scale kernel division is put forward. Particle-motion-equation was implemented on GPU, on this basis, we focused on and analyzed the reason why the main kernel functions inefficiency. We found that the scale of kernel was too large and was too complex; it also took too many registers. This directly lead to the number of active warps on SM was constrained and the low SM occupancy rate. In result, this lead to the kernel functions inefficiency. The large scale kernel division strategy been used, the large scale kernel was divided into many relatively simple sub-kernels those took less registers. This enhanced the SM occupancy rate and the acceleration efficiency. Using large scale kernel division method, the computing performance of particle-motion-equations was enhanced by 20%.(2) The CPU+GPU-based task division strategy is put forward. Focused on and analyzed the serious dependency in particle-cloud-Equations, the whole solving process of the equation was broken down into two main parts, the solving of particle index and the solving process of current density based on the particle index. There was strict sequential dependency during the solving process of the particle index, so it must be computed on CPU. The particle index been solved, we can choose different ways to accelerate the process of current density solving on GPU. Using the CPU+GPU task division strategy, we make it possible to accelerated particle cloud equations solving process on GPU.(3) The GPU-based task division strategy is put forward. Considering the characteristics of the grid current density solving process which is a sub process of the particle cloud equation solving process, it could be solved in using different task division method. We also found that it could lead to different computational performance when using different task division method to solve the particle cloud equation. On the use of GPU-based task division strategy, the performance of particle cloud equation solving process was enhanced by 70%, along with the use of register it achieved a three times performance increase.(4) The accelerating of particle rearrangement process on GPU. After the particle-motion-equation and particle cloud equation were accelerated on GPU, there were still many processes those should be sequential implemented on CPU. This part of the CPU program would not only take up a considerable proportion of computation, but also lead to many data exchange between CPU and GPU. Particle rearrangement process is one main of these programs. In this article, we focused on the function of particle rearrangement process to convert the program and accelerate it on GPU. This process achived a speed ratio of five times, this greatly reduced the proportion of computation taked by CPU programs and the overhead of communication between CPU and GPU.Accelerated on GPU, LARED-P achieved a speed-up of 6 times in double precision on one GPU of NVIDIA Tesla S1070 at 1.44 GHz compared with that on one core of Intel(R) Core(TM)2 Quad CPU Q6600 at 2.4 GHz.

Table of contents

Abstract 9-11 ABSTRACT 11-13 Chapter Introduction 13-17 1.1 LARED-P 13-14 1.2 GPU computing technology 14-15 1.3 LARED-P 's acceleration technology 15 1.4 research content 15-16 1.5 thesis structure 16-17 Chapter LARED-P and GPU computing 17-31 2.1 LARED-P analysis 17-21 2.1.1 LARED-P structure 17-18 2.1.2 LARED-P process analysis 18-20 2.1.3 main equations method 20 -21 2.2 GPU for scientific computing 21-31 2.2.1 GPU architecture 21-22 2.2.2 GPU memory model 22 -25 2.2.3 GPU scheduling 25-27 2.2.4 GPU-based optimization techniques commonly 27-31 Chapter particle motion equation GPU acceleration 31-44 3.1 particle motion equation analysis 31-32 3.2 particle motion equation migration and optimization 32-43 3.2. a particle velocity solving process parallelization 32-35 3.2.2 calculate core decomposition 35-41 3.2.3 texture memory usage 41 - 43 3.3 performance evaluation 43-44 Chapter GPU-accelerated particle cloud equation 44-56 4.1 particle cloud equation analysis 44 -46 4.2 particle cloud equation migration and optimization 46-54 4.2.1 reconstructs particle index 46-49 4.2.2 GPU-based task decomposition 49-52 4.2.3 register usage 52-54 4.3 performance evaluation 54-56 Chapter LARED-P 's Porting and optimization 56-66 5.1 overall migration strategy 56 5.2 particle rearrangement process GPU acceleration 56-64 5.2.1 particle rearrangement process analysis 57-60 5.2.2 transplant particle rearrangement process optimization and results 60-64 5.3 performance evaluation 64-66 <br / > Chapter VI Conclusion 66-68 6.1 papers fruition 66-67 6.2 further work 67-68 Thanks 68-69 References 69-72 author during term academic achievements 72

Related dissertations

  1. Periodic structure in RCWA simulation software and hardware computing research accelerated method
  2. String Kernel Parallel Implementations Based on GPU
    ShiYongQuan ·Shandong University ·2012 ·Master's thesis
  3. Study on the Multilayer Periodic Structure of Grating Diffraction Simulation Algorithm GPU Acceleration
  4. Study on the Characteristic of MC-FBG and Applications in Optical Fiber Sensors
    HeXiaoYan ·Xiamen University ·2014 ·Master's thesis
  5. Research of Efficient Computing Method on GPU-based LS-SVM
    BaoWenLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  6. Research on Key Technologies of Network Traffic Analysis and System Implementation
  7. A Study of GPU-based Parallel Learning to Rank
    FanXiXian ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. Research on GPU General Computing on Text Classification
    LiZhiLong ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  10. Research on GPU-based Flame Effects Technology
    DongChengChen ·Harbin Engineering University ·2013 ·Master's thesis
  11. Research on Fast Method for Triangular Mesh Recnostruction
  12. Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
    XiaoZuo ·Northeastern University ·2011 ·Master's thesis
  13. Research on Multimodal Visualization of Heart
    ShenFangZhou ·Harbin Institute of Technology ·2012 ·Master's thesis
  14. Image Super-resolution on Improvig Motion Estimation
  15. Design and Implementation of Image Matching Based Wavelet Transform
    LiZuo ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Research on Osteosarcoma Medical Image Analysis System
  17. Design and Implementation of Parallel Image Processing Algorithms Based on GPU
  18. Design and Realization of2D Graphics Acceleration Module
    ZhouYi ·Hunan University ·2013 ·Master's thesis
  19. Research on Text Detecting and Removal in Video Image Based on CUDA
  20. Rapid Implementation of the Small Infrared Target Detection Algorithm on CUDA