Newer
Older
# EC-Earth3-scalability-analysis
Scalability curves for multiple EC-Earth3 components for stand-alone executions.
The results are always an average of 3 independent executions of the same experiment to gain consistency. Always using 2-month simulations except for TM5-Aerchem configurations (1 month). The initialization and finalization are always omitted.
Note that the efficiency plots starts at 100% for all outclasses, meaning that it is computed independently for each outclass. This is a good metric to know how each outclass scales but it is better to use the CHPSY to compare how efficiently the resources are being used for different outclasses.
![IFS_scalability_per_outclass](./images/IFS_scalability_per_outclass.png)
The reduced outclass has very little impact on the execution time of IFS (3%). However, the average overhead when using the CMIP6-historical outclass is almost 20% when compared to the execution without output. This impact gets bigger as we add more nodes.
![IFS_CHPSY_per_outclass](uploads/01f38cb36a42865cedffc02c081564be/IFS_CHPSY_per_outclass.png)
![IFS_efficiency](uploads/ab685f9e9ec6777dbcc1bd3155c15897/IFS_efficiency.png)
To be over 60% we should use no more than 10 nodes (480 cores) or 8 (384 cores) for CMIP6 outclass.
Always using 47 cores for XIOS. ElPin activated and using the following number of processes:
![NEMO_scalability_per_outclass](uploads/8ebae67b741eb6e9a4f6593250af82db/NEMO_scalability_per_outclass.png)
Even though a dedicated I/O server (XIOS) is used, the overhead due to output is bigger in NEMO than in IFS*. The average overhead when using the reduced outclass is 8.14% when compared to the execution without output and almost 37% with the CMIP6-historical outclass. Again, the impact gets bigger as we add more nodes.
(*) Assuming that the increase in the amount of data to output is equal for IFS and NEMO when changing the outclass.
![NEMO_CHPSY_per_outclass](uploads/d2b598e32c734131bd2a0c48e34f5ea1/NEMO_CHPSY_per_outclass.png)
![NEMO_efficiency](uploads/0ed1c60cace4787bb3659c13a1af33bd/NEMO_efficiency.png)
We can use up to 521 processes with more than 60% efficiency for all outclasses.
#### PISCES
![NEMO+PISCES_ORCA1L75_scalability](uploads/51e42f9f3153d83cc42d617362a1a13e/NEMO+PISCES_ORCA1L75_scalability.png)
![NEMO+PISCES_ORCA1L75_CHPSY](uploads/ee8a40094f018c66bcd3de7c90dbfc56/NEMO+PISCES_ORCA1L75_CHPSY.png)
After 1008 processes, there is a significant drop in NEMO+PISCES performance. Same when using 229 cores.
![PISCES_overhead](uploads/2097b25b7d08fb562db8cb691bb2379d/PISCES_overhead.png)
## LPJG
LPJG scalability is divided into two parts. The initialization (time to read the initial state) and the computation. The problem with the initialization is that it can take some minutes to complete. During this period of time, any other component of the coupled system will be waiting. This can represent an important waste of resources (especially with higher resolutions where many more cores will be used and, therefore, waiting).
Since LPJG requires the memory of 3 nodes (at least) to work, the first experiments have been executed only changing the number of cores dedicated to LPJG on these nodes. More precisely:
[ 1, 2, 3, 8, 16, 32, 48] on each of the 3 nodes, resulting in [ 3, 6, 9, 24, 48, 96, 144] cores in total.
Additionally, it has been tested with 4 (192 cores) and 5 (240) nodes.
![LPJG_init](uploads/6faa1f2be9a36930f16fadde0441df2d/LPJG_init.png)
On the other hand, the execution of LPJG, as shown in the next plot, does not need many resources to overpass IFS and NEMO in terms of speed (30 and 65 SYPD respectively at most).
![LPJG_scalability_without_init](uploads/d6116bb698962ac22b6725e37fd23292/LPJG_scalability_without_init.png)
![LPJG_scalability](uploads/1c1b7e22a945c5a32344a75d19eaa014/LPJG_scalability.png)
![3d_tm5co2](uploads/88d5f33d62953053100736b256b6ca3b/3d_tm5co2.png)
![3d_tm5AerChem](uploads/5de0243f4b6e6b41e2fc7ffc8b0607ad/3d_tm5AerChem.png)