GPGPU Accelerated Massive Parallel Design of Long Wave Radiation Process in GRAPES-GLOBAL Model
- Author
- GuoMiao
- Advisor
- JinZhiYan
- School
- Chinese Academy of Meteorological Sciences
- Major
- Meteorology
- Classification
- P409 Computer applications in atmospheric science
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 24
- Citations
- 1
Abstract
Recent years, with the rapid advance of GPGPU (General purpose graphic processing unit)technology, leveraging the massive parallel processing power of GPGPU to providesuper-computing capacity becomes a new trend. At present, GPGPU has been applied to manyfields of the scientific calculations. GRAPES (Global/regional assimilation and predictionssystem) are the new-generation multi-scale numerical model, which is developed by ChineseAcademy of meteorological science and plays an important role in weather forecasting andresearch. Long wave radiation process is one of the most important physics process inGRAPES_GLOBAL model and a lot of processing time is occupied by it. As a result, it affectsthe whole model’s computing efficiency.Since this process could be partitioned into different tiles within the horizontal plane, anaturally parallel scheme could be carried out. In this paper, first, the advantages of GPUcomputing are introduced. It has hundreds of stream processors within one chip, which enablesit handling thousands of hardware threads simultaneously, and gives much higher theoreticalthroughput–over1TFlops by one chip. GPU also has a whole integration of supporting toolsets, from compiler to libraries, which could facilitate the development. Then, the long waveradiation computing process is described and analyzed. While keeping the high level MPIcommunication the same, a low-level fine-grained parallel architecture is designed to harnessthe computing power of the new hardware. This massive parallel processing implementation isbased on NVIDIA GPGPU and CUDA technology. Other than looping through a big portion ofthe atmosphere columns within conventional CPU-based systems, the new GPU-basedimplementation uses each small core to process a single column. This scheme has three majoradvantages, including: much higher thread concurrence; using bigger band width of GPUmemory; denser computing intensity and better efficiency.In the end, experiments with real-life dataset are performed and the correctness of the newdesign is validated. Moreover, if we just focus on the time of GPGPU’s calculations, theexperiments showed Tesla C1060has an11x speedup compared to a high-end x86CPU.While, Tesla C2050has an13x speedup, which greatly improved the execution speed andforecasting effects. However, if we focus on the whole time including the time of data transfer and GPGPU’s calculation, Tesla C1060and Tesla C2050just have5.9x and6.1x respectively.Obviously, the time of data transfer is the biggest bottleneck of parallel experimentation.Timing on sub-routines and data transfer time are also recorded and compared. Differentpartition configurations are carried out to get the best combination. Also, the asynchronousexecution overlapping of execution and data transfer is used to hide the latency. And theasynchronous execution experiment has the8.97x speedup compared to a high-end x86CPU.The experiment shows GPGPU has good potential to improve numerical weatherforecasting models. With more and more routines are being ported to GPU systems, a muchbetter speedup could be achieved over the whole model.
Table of contents
Summary 4-5
Abstract 5-9
Chapter 1 Introduction 9-17
purpose and significance 1.1 topics 9-13
1.1.1 GRAPES numerical prediction model 9-10
1.1.2 GPGPU and CUDA Profile 10-11
1.1.3 GPGPU system architecture introduced and it is applied to analyze the feasibility of GRAPES 11-13
1.2 GPGPU research progress of general purpose computing systems based 13-14
1.3 research and innovation in this article point 14-16
1.3.1 contents of this paper 14-15
innovation 1.3.2 of this study 15-16
1.4 papers the structure 16-17
chapter CUDA programming model and memory model 17-23
2.1 CUDA programming model 17-20
2.1. a host and device 17-18
2.1.2 thread organizational structure 18-19
2.1.3 Warp 19-20
2.1.4 SIMT programming model 20
2.2 CUDA memory model 20-22
2.2.1 registers and local memory 20-21
2.2.2 shared Memory 21
2.2.3 global memory 21-22
2.2.4 constant memory and texture memory 22
2.3 Summary 22 -23
Chapter longwave radiation scheme and fine-grained parallelism model 23-34
3.1 GRAPES global model of the long-wave radiation physics model 23-24
3.2 parallel analysis framework GRAPES model 24-25
3.3 GPGPU -based parallel system of GRAPES frame analysis grained 25-27
3.4 longwave radiation scheme parallel model 27-30
3.5 CUDA FORTRAN program 30-33
3.5.1 CUDA FORTRAN introduced 30-31
3.5.2 GPGPU systems based on long-wave radiation program program 31-33
3.6 Summary 33-34
fourth chapter analyzes the results of the initial test 34-43
4.1 Tesla C1060 test 34-39
4.1.1 test environment and parameters 34
4.1.2 analysis of test results 34-37
4.1.3 The test results verified 37-39
4.2 Tesla C2050 test 39-42
4.2.1 test environment and parameters 39
4.2.2 analysis of test results affect 39-40
4.2.3 change the number of threads within a single block on performance 40-42
4.3 Summary 42-43
Chapter CUDA program optimization 43-53
5.1 CUDA optimization procedures outlined 43-44
5.2 CUDA in this test program analysis 44-45
5.3 Pinned memory 45-46
5.4 asynchronous execution 46-48
5.5 asynchronous execution program demonstrates 48-49
5.6 asynchronous data flow execution model 49-50
5.7 test results and analysis 50-52
5.8 summary 52-53
sixth chapter summary and discussion 53-58
6.1 summarizes 53-54
6.2 discussion 54-58
References 58-60
Thanks 60-61
Profile 61
Related dissertations
- The Research of GPU-Based3D Texture Mapping Volume Rendering
- The Algorithm Research and Implementation of Multi-band Image Fusion
- The Parallelization Research of Query Technology on GPU
- The Research of GPGPU-based Parallel Digital Image Encryption Algorithm
- Research on the Algorithm of Charge Distribution in Molecular Dynamics Simulations Based on GPU
- The Parallelization Research of Map Algebra of Spacial Analysis in Heterogeneous Computing Environment
- Analysis of Hardware Fault Propagation in Programs and Research on Fault-tolerance Techniques
- The Hybrid MPI+OpenMP Parallel Method of GRAPES-global Model
- Real-time Study of Augmented Reality 3D Registration Algorithm Based on GPGPU
- The Research of Virtualization on General-purpose Computation on Graphic Processing Unit
- Real-time Video Motion Detection Algorithm Research Based on CUDA
- Research of Soft Shadow Algorithm Based on GPGPU
- Research of GPGPU-based Real-time High-quality Ray Casting
- Bun-Time Feature Based Energy Saving Study for GPGPU
- Airborne Optical Platform Image Statbilization Research
- Research on Many-core GPU Architectures
- CUDA Based Moving Object Detection
- The Research of Mining Frequent Itemset Based on OpenCL
- Study on Parallel List Intersection Algorithm on CPU/GPU Hybrid Platform
- Parallel Implementation of TOUGHREACT Based on GPU