[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/3603273.3636554acmotherconferencesArticle/Chapter ViewAbstractPublication PagesaaiaConference Proceedingsconference-collections
research-article

Research on Speedup Ratio Based on Reduction and Critical

Published: 09 January 2024 Publication History

Abstract

Reduction and critical are two methods to synchronize access to shared variables in parallel regions in OpenMP, which have a certain impact on the performance of many parallel computations. Therefore, the parallel speedup ratio of reduction and critical has a certain research value. In this paper, three common mathematical problems such as solving calculus equation, determinant expansion and matrix multiplication are taken as examples to write corresponding parallel programs. The parallel parts of the program are executed by using reduction and critical instructions respectively, and the speedup ratios of the above two instructions in program execution are emphatically tested under different calculation scales and different thread numbers. The results show that the performance of reduction instruction is better than that of critical instruction when a shared variable is required to be specified. When the task scale is small, critical instruction can improve the performance of the program, but with the increase of the task scale, critical instruction will become the bottleneck of the program and affect the scalability of the program. In OpenMP programming, programmers need to choose different instructions flexibly according to the nature and requirements of tasks in order to obtain better performance and efficiency.

References

[1]
Robert R and Yuliana Z 2022 Parallel and High Performance Computing (Beijing: Tsinghua University Press).
[2]
You Z Y 2011 Research and Application of OpenMP Parallel Programming Model and Capability Optimization Method Chengdu University of Technology.
[3]
Huang M Y 2011 Design and Implementation of Message Programming Mode Task parallelism Compilation Instruction Sun Yat-sen University.
[4]
Liu X X 2013 Research on Parallel Compilation Optimization Technology for Shared Storage Structures Information Engineering University.
[5]
Lv H 2012 Research on Performance Optimization of Parallel Programs in Core Processor Chip Computing Platform Beijing University of Technology.
[6]
Zhang S H, Xia Z X, Yuan R and Jiang X M 2014 Parallel computation of a dam-break flow model using OpenMP on a multi-core computer Journal of Hydrology 512 126-133.
[7]
Greg S, Richard B and Yang X Y 2010 Multicore Image Processing with OpenMP IEEE Signal Processing Magazine 27(2): 134-8.
[8]
Qin J B and Li W Z 2009 Optimizing n Queen Algorithm Using OpenMP Compilation Instructions on multi-core processor Platform Aeronautical Computer Technique 39(3): 92-94.
[9]
Yin S C 2006 Performance Analysis of OpenMP Parallel Programs National University of Defense Technology.
[10]
Xie C, Mai L D, Du Z H 2003 Research and analysis on acceleration ratio in parallel computing systems Computer Engineering and Applications 39(26): 66-68.
[11]
Wu L and Sun Q 2013 OpenMP parallel computing technology for finite element analysis Aeronautical Computer Technique 43(5): 56-60.
[12]
Jin Z, Duan Y R, 2022 Performance optimization of parallel protocols and scanning primitives on ReRAM architecture Journal of National University of Defense Technology 44 (5): 80-91.
[13]
Yan C Z, Hong Z and Sun G H 2014 Parallel analysis of two-dimensional finite-discrete element method based on OpenMP Rock and Soil Mechanics 35(9): 2717-24.
[14]
Tang B and He H W 2017 A Parallel algorithm for non-negative matrix decomposition based on MPI and OpenMP mixed programming Computer Science 44(3): 51-54.

Index Terms

  1. Research on Speedup Ratio Based on Reduction and Critical

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    AAIA '23: Proceedings of the 2023 International Conference on Advances in Artificial Intelligence and Applications
    November 2023
    406 pages
    ISBN:9798400708268
    DOI:10.1145/3603273
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 09 January 2024

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Compile Instruction
    2. Critical
    3. OpenMP
    4. Reduction
    5. Speedup Ratio

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Conference

    AAIA 2023

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 9
      Total Downloads
    • Downloads (Last 12 months)9
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 18 Jan 2025

    Other Metrics

    Citations

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    HTML Format

    View this article in HTML Format.

    HTML Format

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media