Recent Changes - Search:

Analysis

OpenMPI_optimized

Intel_MPI?

IBM_MPI?

FunctionsThrottling

ClusteringFolding

ClusteringAndFolding

Compile-Execute edit SideBar

Meteo Omp DRAFT

This page includes executions occurred with NMMB model using only the meteorological part from NCEP and with the optimized arguments for OpenMPI.

Forecast date: 21/09/2010

Resolution: 0.5 degrees NRADS1=40, DT_INT1=90, 36 cores

We have disabled I/O

FunctionTime (in sec.)Instructions per cycle
 Min.Max.AvgMin.Max.Avg
rrtm3.3813.178.551.231.461.23
turbl0.590.740.660.430.530.47
adv10.650.720.790.670.690.68

With communication

FunctionTime (in sec.)
 Min.Max.Avg
exch30.056.542.13
exch330.214.191.72
solver_run0.3810.382.02
scatter_layers0.230.860.55
gather_layers0.380.720.55

Visualization

Traces

  • Trace 1: Filter only running states and I/O
  • Trace 2: Apply computation configuration file
  • Trace 3: Filter the user functions only

Discussion

  • We observe that the blank areas in the trace 2 correspond to communications.

Visualization

  • The beginning of the trace with the distribution of the data (green color in the first trace is the subroutine read input)

Discussion

  • It is necessary to implement the parallel reading of the input file.

Visualization

  • rrtm subroutine

Discussion

  • We can observe the load imbalance of rrtm subroutine

Parallel efficiency

  • The parallel efficiency is 72.5%, which means that we loose 27.5% of the performance while the communication efficiency is 87.8% and the load imbalance around to 83%, so the application looses 17% performance because of the imbalance.

Communication matrix

Visualization

  • Functions gather, fft and mono

Discussion

  • The call to fft (grey color) has only computation. The serialization part of mono can be observed.

For the higher resolution domain, 24km, global, 64 layers and 260 cores (256 for computation)

DOMAIN=0
LM=64
DT_INT1=60
TLM0D1=0.0
TPH0D1=0.0
WBD1=-180.0
SBD1=-90.0
DLMD1=0.3125
DPHD1=0.221948
PTOP1=100.
DCAL1=0.255
NRADS1=60
NRADL1=60

Date 02/12/2005

Visualization

Traces

  • Trace 1: Filter only running states and I/O
  • Trace 2: Apply computation configuration file
  • Trace 3: Filter the user functions only

Discussion

  • We observe that the MPI initialization time needs some significant time.
  • There is a lot of I/O coming from the flush of the traces on the hard disk at the end of the execution.
  • The read input (green area) takes significant also time.

Visualization

Traces

  • Trace 1: Useful user functions between rrtm calls
  • Trace 2: Filter the running and I/O

Discussion

  • We observe that some routines take significant time in trace 1 because the extrae flushes the traces on the hard disk (brown color, trace 2)

Visualization

Traces

We zoom in one area as they have repeatable behavior

  • Trace 1: User functions between the rrtm calls
  • Trace 2: Useful user functions between the rrtm functions (parts with MPI calls are removed)
  • Trace 3: Useful instructions per cycle of the trace 1
  • Trace 4: The cut from the initial trace regarding the part of trace 1 without the communication links

Discussion

  • The large computation phases (brown, green, and red black of trace 2) have low IPC (green areas on trace 3 while good IPC is blue color)

Visualization

Now we focus our study on the first radiation call

Traces

  • Trace 1: Filter only running states and I/O
  • Trace 2: Apply computation configuration file
  • Trace 3: Filter the user functions only
  • Trace 4: Cut from the initial trace
  • Trace 5: Instructions per process
  • Trace 6: Instructions per Cycle

Discussion

  • The radiation is executed only during the day, thus there is a load balance issue.
  • From trace 3 we can see that there are till 4 times less instructions on some nodes and that's why we have this pattern of communication on trace 2. We should change the computation part by moving some load from the earth poles which execute radiation to the ones that are not executing. About the other nodes probably we can share the load to more cores, seems that a shared memory programming model could help in this case as not all the cores of the nodes are used.

analysis,meteo

This page may have a more recent version on pmwiki.org: PmWiki:MeteoOmpDRAFT, and a talk page: PmWiki:MeteoOmpDRAFT-Talk.

Edit - History - Print - Recent Changes - Search
Page last modified on June 26, 2014, at 02:07 PM