Skip to main content

Resultados relacionados

Resultados totales (Incluyendo duplicados): 4
Encontrada(s) 1 página(s)

UPCommons. Portal del coneixement obert de la UPC
Publication Contribución de congreso (ConferenceOutput)

Optimizing an Elastic Wave Propagation by Means of a Roofline-Based Strategy on Xeon Processors

  • Hanzich, Mauricio
  • Farrés, Albert
  • Rubio, Felix
Acoustic wave propagation has been the preferred engine for geophysical exploration applications for the last few years due to the large cost involved in using better approximations, especially for 3D full-wave field modelling-based applications. Hence, simplified approaches have been used to generate images of the subsurface so that data processing can be finished in a reasonable time. The current trend in seismic imaging aims at using an improved physical model, considering that the Earth is not rigid but an elastic body. This new model takes simulations closer to the real physics of the problem, at the cost of raising the needed computational resources. Moreover, to take the simulation representation a step closer to the real physics, some kind of anisotropy in the propagation medium should be considered. However, this again may rice the computational cost of the simulation. On the hardware front, recently developed high-performing devices, called accelerators or co-processors, have shown that can outperform their general purpose counterparts by orders of magnitude in terms of performance per watt. These new alternatives may then provide the necessary resources for making possible to represent complex wave physics in a reasonable time. There might be, however, a penalty associated to the usage of such devices, as some portion of the simulation code might need some re-writing or new optimization strategies explored and applied (Araya-Polo et al., 2011). In this work we will show some optimization strategies evaluated and applied to an elastic propagator based on a Fully Staggered Grid, running on the Intel® Xeon Phi™ coprocessor. It is important to remark, that the propagator is able to reproduce elastic wave propagation, even for an arbitrary anisotropy., We have shown a set of optimizations, applied to a Finite Difference numerical method solving elastic wave propagation equations on the Intel Xeon Phi coprocessor. Moreover, the proposed scheme for solving the elastic equation supports arbitrary anisotropy at a higher computational cost when compared to more traditional ways of solving elastic propagation. The evaluated set of optimizations ranges from memory to compute optimizations. Our results show that it is possible to obtain more than an order of magnitude of improvement when comparing the fully optimized code with a naïve version (which only had OpenMP parallelization included), while up to a 7x of improvement is possible with little investment on code optimization. A comparison with a system with two Intel Xeon E5-2697v3 processor shows that a single Intel Xeon Phi coprocessor is able to outperform such computational architecture.
UPCommons. Portal del coneixement obert de la UPC
Publication Artículo científico (JournalArticle)

Role-shifting threads: Increasing OpenMP malleability to address load imbalance at MPI and OpenMP

  • Criado Ledesma, Joel
  • López Herrero, Víctor
  • Vinyals Ylla Català, Joan
  • Ramirez Miranda, Guillem
  • Teruel García, Xavier
  • Garcia Gasulla, Marta|||0000-0003-3682-9905
This paper presents the evolution of the free agent threads for OpenMP to the new role-shifting threads model and their integration with the Dynamic Load Balancing (DLB) library. We demonstrate how free agent threads can improve resource utilization in OpenMP applications with load imbalance in their nested parallel regions. We also demonstrate how DLB efficiently manages the malleability exposed by the role-shifting threads to address load imbalance issues. We use three real-world scientific applications, one of them to demonstrate that free agents alone can improve the OpenMP model without external tools, and two other MPI+OpenMP applications, one of them with a coupling case, to illustrate the potential of the free agent threads’ malleability with an external resource manager to increase the efficiency of the system. In addition, we demonstrate that the new implementation is more usable than the former one, letting the runtime system automatically make decisions that were made by the programmer previously. All software is released open-source., This work has received funding from the DEEP Projects, at the European Commission’s FP7, H2020, and EuroHPC Programmes, under Grant Agreements 287530, 610476, 754304, and 955606. The PCI2021-121958 financed by the Spanish State Research Agency - Ministry of Science and Innovation. And it also has the support of the Spanish Ministry of Science and Innovation (Computacion de Altas Prestaciones VIII: PID2019-107255GB)., Peer Reviewed
Recercat. Dipósit de la Recerca de Catalunya
Publication Artículo científico (JournalArticle)

Role-shifting threads: Increasing OpenMP malleability to address load imbalance at MPI and OpenMP

  • Criado Ledesma, Joel
  • López Herrero, Víctor
  • Vinyals Ylla Català, Joan
  • Ramirez Miranda, Guillem
  • Teruel García, Xavier
  • Garcia Gasulla, Marta
This paper presents the evolution of the free agent threads for OpenMP to the new role-shifting threads model and their integration with the Dynamic Load Balancing (DLB) library. We demonstrate how free agent threads can improve resource utilization in OpenMP applications with load imbalance in their nested parallel regions. We also demonstrate how DLB efficiently manages the malleability exposed by the role-shifting threads to address load imbalance issues. We use three real-world scientific applications, one of them to demonstrate that free agents alone can improve the OpenMP model without external tools, and two other MPI+OpenMP applications, one of them with a coupling case, to illustrate the potential of the free agent threads’ malleability with an external resource manager to increase the efficiency of the system. In addition, we demonstrate that the new implementation is more usable than the former one, letting the runtime system automatically make decisions that were made by the programmer previously. All software is released open-source., This work has received funding from the DEEP Projects, at the European Commission’s FP7, H2020, and EuroHPC Programmes, under Grant Agreements 287530, 610476, 754304, and 955606. The PCI2021-121958 financed by the Spanish State Research Agency - Ministry of Science and Innovation. And it also has the support of the Spanish Ministry of Science and Innovation (Computacion de Altas Prestaciones VIII: PID2019-107255GB)., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publication Contribución de congreso (ConferenceOutput)

Optimizing an Elastic Wave Propagation by Means of a Roofline-Based Strategy on Xeon Processors

  • Hanzich, Mauricio
  • Farrés, Albert
  • Rubio, Felix
Acoustic wave propagation has been the preferred engine for geophysical exploration applications for the last few years due to the large cost involved in using better approximations, especially for 3D full-wave field modelling-based applications. Hence, simplified approaches have been used to generate images of the subsurface so that data processing can be finished in a reasonable time. The current trend in seismic imaging aims at using an improved physical model, considering that the Earth is not rigid but an elastic body. This new model takes simulations closer to the real physics of the problem, at the cost of raising the needed computational resources. Moreover, to take the simulation representation a step closer to the real physics, some kind of anisotropy in the propagation medium should be considered. However, this again may rice the computational cost of the simulation. On the hardware front, recently developed high-performing devices, called accelerators or co-processors, have shown that can outperform their general purpose counterparts by orders of magnitude in terms of performance per watt. These new alternatives may then provide the necessary resources for making possible to represent complex wave physics in a reasonable time. There might be, however, a penalty associated to the usage of such devices, as some portion of the simulation code might need some re-writing or new optimization strategies explored and applied (Araya-Polo et al., 2011). In this work we will show some optimization strategies evaluated and applied to an elastic propagator based on a Fully Staggered Grid, running on the Intel® Xeon Phi™ coprocessor. It is important to remark, that the propagator is able to reproduce elastic wave propagation, even for an arbitrary anisotropy., We have shown a set of optimizations, applied to a Finite Difference numerical method solving elastic wave propagation equations on the Intel Xeon Phi coprocessor. Moreover, the proposed scheme for solving the elastic equation supports arbitrary anisotropy at a higher computational cost when compared to more traditional ways of solving elastic propagation. The evaluated set of optimizations ranges from memory to compute optimizations. Our results show that it is possible to obtain more than an order of magnitude of improvement when comparing the fully optimized code with a naïve version (which only had OpenMP parallelization included), while up to a 7x of improvement is possible with little investment on code optimization. A comparison with a system with two Intel Xeon E5-2697v3 processor shows that a single Intel Xeon Phi coprocessor is able to outperform such computational architecture., Postprint (published version)