An elastic-wave stencil is decomposed into row slabs of a grid
PHYSICS · Multi-part · Fermi University Physics · Computational Physics · High-performance and data-driven computational physics · High-performance and data-driven computational physics
Scientific Computing for Physicists, Ch Many processors: speed-up, decomposition and the cost of communication
Problem
An elastic-wave stencil is decomposed into row slabs of a Ng=2048 grid. A ping-pong test gives αlat=0.8μs and βnet=10GBs−1, and one halo row carries Ng double-precision values. Each process exchanges two such rows per step, and the time to update one cell on a fully loaded node is tcell=30ns.
((a)) Find the slab size n∗ (in cells owned by a process) at which the two halo messages cost as much as updating n∗ cells.
((b)) Find the value tcell would have to take for that crossover to rise to exactly one row of the grid (Ng=2048 cells).
((c)) State the factor by which tcell would have to change from its given value of 30ns to reach that crossover.