Quantitative Analysis of OpenMP Parallelization Efficiency for the Diffusion Equation: An Experimental Study of Scalability and Critical Thresholds
Keywords:
Diffusion equation, Methods, Numerical, OpenMP, Parallel efficiency, Parallelization, SpeedupAbstract
Numerical simulation of partial differential equations using finite difference methods presents computational demands that grow rapidly with spatial resolution. This work quantitatively analyzes the efficiency of OpenMP parallelization for the one-dimensional diffusion equation solved with the FTCS scheme. A full factorial experimental design was implemented with mesh sizes from Nx=200 to Nx=20000 and thread configurations from 1 to 16. Results demonstrate the existence of a critical threshold at Nx=20000 where the first speedup greater than unity is achieved (1.05× with 4 threads). For small problems (Nx=200), parallelization is counterproductive with relative overhead up to 118×. Efficiency decreases monotonically from 47.3% (2 threads) to 2.5% (16 threads). Using Amdahl's Law, a parallelizable fraction of 99.8% was estimated. Numerical precision is preserved between serial and parallel versions up to the order of 10⁻¹⁴. This work provides evidence-based practical guidelines for efficient parallel implementations in scientific computing.
Downloads
References
S. Sungnul, K. Para, E. J. Moore, S. Sirisubtawee, and S. Phongthanapanich, "A Finite Difference Method for Solution of Integer-order and Caputo Fractional-time Advection-Diffusion-Reaction Equations: Convergence Analysis and Application to Air Pollution," Engineering Letters, vol. 33, no. 2, pp. 292-311, 2025.
C. L. Gardner, "Numerical Methods for Parabolic PDEs," in Numerical Methods for Unsteady Compressible Flow Problems, Springer, 2024.
Intel Corporation, "OpenMP and the Future of Scientific Computing," Intel Developer Blog, 2025.
M. Thavappiragasam, J. A. Harris, E. Endeve, and B. Videau, "Performance Porting the ExaStar Multi-Physics App Thornado On Heterogeneous Systems - A Fortran-OpenMP Code-Base Evaluation," in *Advancing OpenMP for Future Accelerators - 20th International Workshop on OpenMP, IWOMP 2024, Proceedings*, pp. 16-30, Springer, 2024.
G. M. Amdahl, "Validity of the single processor approach to achieving large scale computing capabilities," in AFIPS Spring Joint Computer Conference, pp. 483-485, 1967.
R. Courant, K. Friedrichs, and H. Lewy, "Über die partiellen Differenzengleichungen der mathematischen Physik," Mathematische Annalen, vol. 100, no. 1, pp. 32-74, 1928.
J. von Neumann and R. D. Richtmyer, "A method for the numerical calculation of hydrodynamic shocks," Journal of Applied Physics, vol. 21, no. 3, pp. 232-237, 1950.
Á. Nagy et al., "New Analytical Results and Comparison of 14 Numerical Schemes for the Diffusion Equation with Space-Dependent Diffusion Coefficient," Mathematics, 2024.
J. L. Gustafson, "Reevaluating Amdahl's law," Communications of the ACM, vol. 31, no. 5, pp. 532-533, 1988.
Z. Xiang and T. G. Robertazzi, "A DLT-Aware Performance Evaluation Framework for Virtual-Core Speedup Modeling," Future Internet, vol. 17, no. 11, p. 519, 2025.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 International Journal of Information Science and Technological Applications-UAS IJISTA

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
