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
| Function | Time (in sec.) | Instructions per cycle |
| | Min. | Max. | Avg | Min. | Max. | Avg |
| rrtm | 3.38 | 13.17 | 8.55 | 1.23 | 1.46 | 1.23 |
| turbl | 0.59 | 0.74 | 0.66 | 0.43 | 0.53 | 0.47 |
| adv1 | 0.65 | 0.72 | 0.79 | 0.67 | 0.69 | 0.68 |
With communication
| Function | Time (in sec.) |
| | Min. | Max. | Avg |
| exch3 | 0.05 | 6.54 | 2.13 |
| exch33 | 0.21 | 4.19 | 1.72 |
| solver_run | 0.38 | 10.38 | 2.02 |
| scatter_layers | 0.23 | 0.86 | 0.55 |
| gather_layers | 0.38 | 0.72 | 0.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
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