Accelerating a particle-in-cell simulation using a hybrid counting sort

被引:43
作者
Bowers, KJ [1 ]
机构
[1] Univ Calif Berkeley, Dept Elect Engn & Comp Sci, Berkeley, CA 94720 USA
关键词
plasma simulation; particle in cell; cache thrashing; counting sort;
D O I
10.1006/jcph.2001.6851
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
In this article, performance limitations of the particle advance in a particle-in-cell (PIC) simulation are discussed. It is shown that the memory subsystem and cache-thrashing severely limit the speed of such simulations. Methods to implement a PIC simulation under such conditions are explored. An algorithm based on a counting sort is developed which effectively eliminates PIC simulation cache thrashing. Sustained performance gains of 40 to 70 percent are measured on commodity workstations for a minimal 2d2v electrostatic PIC simulation. More complete simulations are expected to have even better results as larger simulations are usually even more memory subsystem limited. (C) 2001 Academic Press.
引用
收藏
页码:393 / 411
页数:19
相关论文
共 8 条
[1]   3-D ICEPIC simulations of the relativistic klystron oscillator [J].
Blahovec Jr., Joseph D. ;
Bowers, Lester A. ;
Luginsland, John W. ;
Sasser, Gerald E. ;
Watrous, John J. .
2000, IEEE, Piscataway, NJ, United States (28)
[2]  
Decyk V. K., 1996, Computers in Physics, V10, P290, DOI 10.1063/1.168571
[3]   Physical and numerical methods of speeding up particle codes and paralleling as applied to RF discharges [J].
Kawamura, E ;
Birdsall, CK ;
Vahedi, V .
PLASMA SOURCES SCIENCE & TECHNOLOGY, 2000, 9 (03) :413-428
[4]   Weighted particles in coulomb collision simulations based on the theory of a cumulative scattering angle [J].
Nanbu, K ;
Yonemura, S .
JOURNAL OF COMPUTATIONAL PHYSICS, 1998, 145 (02) :639-654
[5]   Simultaneous potential and circuit solution for two-dimensional bounded plasma simulation codes [J].
Vahedi, V ;
DiPeso, G .
JOURNAL OF COMPUTATIONAL PHYSICS, 1997, 131 (01) :149-163
[6]   VERIFICATION OF FREQUENCY SCALING LAWS FOR CAPACITIVE RADIOFREQUENCY DISCHARGES USING 2-DIMENSIONAL SIMULATIONS [J].
VAHEDI, V ;
BIRDSALL, CK ;
LIEBERMAN, MA ;
DIPESO, G ;
ROGNLIEN, TD .
PHYSICS OF FLUIDS B-PLASMA PHYSICS, 1993, 5 (07) :2719-2729
[7]   AN OBJECT-ORIENTED ELECTROMAGNETIC PIC CODE [J].
VERBONCOEUR, JP ;
LANGDON, AB ;
GLADD, NT .
COMPUTER PHYSICS COMMUNICATIONS, 1995, 87 (1-2) :199-211
[8]   SIMULTANEOUS POTENTIAL AND CIRCUIT SOLUTION FOR 1D BOUNDED PLASMA PARTICLE SIMULATION CODES [J].
VERBONCOEUR, JP ;
ALVES, MV ;
VAHEDI, V ;
BIRDSALL, CK .
JOURNAL OF COMPUTATIONAL PHYSICS, 1993, 104 (02) :321-328