PERFORMANCE, ACCURACY, AND PREDICTIVE CHUNK OPTIMIZATION OF PARALLEL SIMPSON AND TRAPEZOIDAL INTEGRATION METHODS

Keywords: Parallel numerical integration, Simpson’s rule, Trapezoidal rule, Adaptive quadrature, Chunk optimization

Abstract


Parallel numerical integration is a fundamental component of many scientific and engineering applications, yet its performance depends strongly on workload partitioning strategies. In shared-memory environments, the choice of chunk size directly affects load balancing, scheduling overhead, and cache utilization, particularly when adaptive numerical methods are employed. This paper presents an analysis of the performance, accuracy, and scalability of four numerical integration techniques: Simpson’s rule, Adaptive Simpson’s rule, the Trapezoidal rule, and the Adaptive Trapezoidal rule, implemented in a multi-threaded execution model. Execution-time distributions are analyzed across a wide range of chunk sizes and thread counts, revealing substantial performance variability and method-dependent optimal chunk configurations. In addition to performance evaluation, numerical accuracy is assessed to highlight trade-offs between computational efficiency and error reduction. Based on empirical observations, optimal chunk ranges are identified and used to construct a predictive model that estimates near-optimal chunk configurations as a function of the number of threads. The proposed approach enables efficient parameter selection without exhaustive tuning and demonstrates the feasibility of predictive chunk optimization for parallel numerical integration.

References

Abdul Khalib, N., Kamaruddin, S. S., Ibrahim, Z. & Mohamed, Z. 2013. Performance evaluation of OpenMP scheduling policies and chunk sizes, International Journal of Computer Science and Network Security, 13 (2), pp. 1-8.

Barker, K., Chard, K., Foster, I., Katz, D. S., Wilde, M. & Ripeanu, M. 2012. Scientific software design for emerging platforms, IEEE Computer, 45 (11), pp. 47-53.

Bielecki, J. & Śmiałek, M. 2023. Estimation of execution time for computing tasks, Cluster Computing, 26, pp. 3943-3956. https://doi.org/10.1007/s10586-022-03774-1

Bishop, C. M. 2006. Pattern Recognition and Machine Learning, Springer.

Burden, R. L. & Faires, J. D. 2016. Numerical Analysis, 10th edn., Cengage Learning.

Chapman, B., Jost, G., & van der Pas, R. 2007. Using OpenMP: Portable Shared Memory Parallel Programming, MIT Press.

da Silva, F. H. S., Calheiros, R. N. & Schnorr, L. M. 2025. Auto-tuning OpenMP dynamic scheduling for improved performance across problem sizes and architectures, Computers & Operations Research, 167, 106041. https://doi.org/10.1016/j.cageo.2025.105932

Davis, P. J. & Rabinowitz, P. 2007. Methods of Numerical Integration, 2nd edn., Dover Publications.

Dinan, J., Olivier, S., Sabin, G., Prins, J., Sadayappan, P. & Tseng, C.-W. 2007. Dynamic load balancing of unbalanced computations using message passing, Proceedings of the IEEE International Parallel and Distributed Processing Symposium (IPDPS), pp. 1-8. https://doi.org/10.1109/IPDPS.2007.370581

Estébanez, J., Llanos, D., Orden, D. & Palop, B. 2014. On the choice of the best chunk size for the speculative execution of loops, Journal of Supercomputing, 69 (1), pp. 475-497.

Hastie, T., Tibshirani, R. & Friedman, J. 2009. The Elements of Statistical Learning, 2nd edn., Springer. https://doi.org/10.1007/978-0-387-84858-7

Korndörfer, J. H., Müller, M., Eleliemy, A. & Ciorba, F. M. 2022. Automated scheduling algorithm selection and chunk parameter calculation in OpenMP, IEEE Transactions on Parallel and Distributed Systems, 33 (11), pp. 2802-2815. https://doi.org/10.1109/TPDS.2022.3189270

Laberge, G., Shirzad, S., Diehl, P., Kaiser, H., Prudhomme, S. & Lemoine, A. S. 2019. Scheduling optimization of parallel linear algebra algorithms using supervised learning, arXiv preprint arXiv:1909.03947.

Liu, D., Wu, J. & Zhang, X. 2017. The adaptive composite trapezoidal rule for Hadamard finite-part integrals on an interval, Journal of Computational and Applied Mathematics, 325, pp. 165-174. https://doi.org/10.1016/j.cam.2017.04.041

Lloyd, S., Irani, R. & Ahmadi, M. 2020. Using neural networks for fast numerical integration and optimization, IEEE Access, 8, pp. 84519-84531. https://doi.org/10.1109/ACCESS.2020.2991966

Plaškota, L. 2015. Automatic integration using asymptotically optimal adaptive Simpson quadrature, Numerische Mathematik, 131, pp. 173-198. https://doi.org/10.1007/s00211-014-0684-3

Quintero-Monsebaiz, R., Meneses-Viveros, A., Carranza, F., Cortés, C. G., González-Zamudio, A. & Vela, A. 2021. Multidimensional adaptive and deterministic integration in CUDA and OpenMP, Journal of Supercomputing, 77, pp. 12075-12097. https://doi.org/10.1007/s11227-021-03752-1

Shahvandi, M. K. 2021. Applications of numerical integration in geodesy and geophysics, Acta Geophysica, 69, pp. 1-17. https://doi.org/10.1007/s11600-020-00525-x

Smilić, M., Milić, D., Stefanović, Č., Đurović, S., Đošić, D. & Matejić, M. 2025. Analysis of sequential and parallel execution of Simpson’s rule for numerical integration in Java, Proceedings of the 60th International Scientific Conference on Information, Communication and Energy Systems and Technologies (ICEST), Ohrid, North Macedonia, pp. 1-4. https://doi.org/10.1109/ICEST66328.2025.11098324

Tefera, A. G., Tarekegn, G. & Ayalew, B. 2024. Constraint-Guided Learning of Data-Driven Health Indicator Models, arXiv preprint arXiv:2407.13853.

Tonarelli, M., Riva, S., Benedusi, P., Ferrandi, F. & Krause, R. 2025. Adaptive multidimensional quadrature on multi-GPU systems, arXiv preprint arXiv:2511.01573.

Published
2026/04/21
Section
Original Scientific Paper