Performance Optimization of a DEM Simulation Framework on GPU Using a Stencil Model | SpringerLink
Skip to main content

Performance Optimization of a DEM Simulation Framework on GPU Using a Stencil Model

  • Conference paper
  • First Online:
High Performance Computing and Applications (HPCA 2015)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9576))

  • 764 Accesses

Abstract

High performance and efficiency for parallel computing has significance in large scale discrete element method (DEM) simulation. After analyzing a simulation framework of DEM built on a Graphic Processor Unit (GPU) platform with CUDA architecture and evaluating the simulated data, we propose three optimization methods to improve the performance of a system. A stencil computation model is applied to the particle searching and calculation of forces based on gridding to formulate the structure in the particle-particle contact and neighboring particle searching. In addition, a reasonable and effective parallel granularity is sought out by altering the number of blocks and threads on GPU. A shared-memory environment is set up for data prefetching and storing the results of intermediate calculations by a rational analysis and calculations. The results of the experiment show that the stencil model is useful for the particle searching and calculation of forces and the rational parallel granularity as well as the fair use of shared memory optimizes the performance of the DEM simulation framework.

This work was supported by the National Natural Science Foundation of China (No. 11372067).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
¥17,985 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
JPY 3498
Price includes VAT (Japan)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
JPY 5719
Price includes VAT (Japan)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
JPY 7149
Price includes VAT (Japan)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Radeke, C.A., Glasser, B.J., Khinast, J.G.: Large-scale powder mixer simulations using massively parallel GPU architectures. Chem. Eng. Sci. 65, 6435 (2010)

    Article  Google Scholar 

  2. Hazeghian, M., Soroush, A.: DEM simulation of reverse faulting through sands with the aid of GPU computing. Comput. Geotech. 66, 253 (2015)

    Article  Google Scholar 

  3. Guanghao, J., Toshio, E., Satoshi, M.: A Multi-level Optimization Method for Stencil Computation on the Domain that is Bigger than Memory Capacity of GPU (2013). doi:10.1109/IPDPSW.2013.58

  4. Hori, C., Gotoh, H., Ikari, H., Khayyer, A.: GPU-acceleration for moving particle semi-implicit method. Comput. Fluids 51, 174 (2011)

    Article  MATH  Google Scholar 

  5. Owens, J.D., Houston, M., Luebke, D., Green, S., Stone, J.E., Phillips, J.C.: GPU computing. Proc. IEEE 96, 879 (2008)

    Article  Google Scholar 

  6. Shigeto, Y., Sakai, M.: Parallel computing of discrete element method on multi-core processors. Particuology 9, 398 (2011)

    Article  Google Scholar 

  7. Yangtong, X., Haohuan, F., Lin, G., Xinliang, W., Yuchen, Q., Peng, H., Wei, X., Chao, Y.: Performance Optimization and Analysis for Different Stencil Kernels on Multi-Core and Many-Core Architectures. HPC China 2013. Guilin, 628 p. (2013)

    Google Scholar 

  8. Wang, G., Yang, X., Zhang, Y., Tang, T., Fang, X.: Program optimization of stencil based application on the gpu-accelerated system. In: 2009 IEEE International Symposium on Parallel and Distributed Processing with Applications (2009)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yuxin Wang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Xue, R., Wang, Y., Guo, H., Zhang, C., Ji, S. (2016). Performance Optimization of a DEM Simulation Framework on GPU Using a Stencil Model. In: Xie, J., Chen, Z., Douglas, C., Zhang, W., Chen, Y. (eds) High Performance Computing and Applications. HPCA 2015. Lecture Notes in Computer Science(), vol 9576. Springer, Cham. https://doi.org/10.1007/978-3-319-32557-6_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-32557-6_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-32556-9

  • Online ISBN: 978-3-319-32557-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics