Performance Aspects of Collocated and Staggered Grids for Particle-in-Cell Plasma Simulation
- 918 Downloads
We present a computational comparison of collocated and staggered uniform grids for particle-in-cell plasma simulation. Both types of grids are widely used, and numerical properties of the corresponding solvers are well-studied. However, for large-scale simulations performance is also an important factor, which is the focus of this paper. We start with a baseline implementation, apply widely-used techniques for performance optimization and measure their efficacy for both grids on a high-end Xeon CPU and a second-generation Xeon Phi processor. For the optimized version the collocated grid outperforms the staggered one by about 1.5 x on both Xeon and Xeon Phi. The speedup on the Xeon Phi processor compared to Xeon is about 1.9 x.
KeywordsPerformance optimization Xeon Phi SIMD Plasma simulation Particle-in-cell
The authors (E.E., A.G.) acknowledge the support from the Russian Science Foundation project No. 16-12-10486. The authors are grateful to Intel Corporation for access to the system used for performing computational experiments presented in this paper. We are also grateful to A. Bobyr, S. Egorov, I. Lopatin, and Z. Matveev from Intel Corporation for technical consultations.
- 3.Vay, J.-L., Bruhwiler, D.L., Geddes, C.G.R., Fawley, W.M., Martins, S.F., Cary, J.R., Cormier-Michel, E., Cowan, B., Fonseca, R.A., Furman, M.A., Lu, W., Mori, W.B., Silva, L.O.: Simulating relativistic beam and plasma systems using an optimal boosted frame. J. Phys. Conf. Ser. 180(1), 012006 (2009)CrossRefGoogle Scholar
- 10.Surmin, I., Bastrakov, S., Matveev, Z., Efimenko, E., Gonoskov, A., Meyerov, I.: Co-design of a Particle-in-Cell plasma simulation code for Intel Xeon Phi: a first look at knights landing. In: Carretero, J., et al. (eds.) ICA3PP 2016. LNCS, vol. 10049, pp. 319–329. Springer, Cham (2016). doi: 10.1007/978-3-319-49956-7_25 CrossRefGoogle Scholar
- 16.Haber, I., Lee, R., Klein, H., Boris, J.: Advances in electromagnetic simulation techniques. In: Proceedings of the Sixth Conference on Numerical Simulation of Plasmas, pp. 46–48 (1973)Google Scholar
- 19.Birdsal, C., Langdon, A.: Plasma Physics via Computer Simulation. Taylor & Francis Group, New York (2005)Google Scholar