Performance#

Dots are measurements from the performance rows of the matrix, run on the first Tuesday of each month; lines (or crosses) are fits through them, redone on every build.

How long does a grid take to build, with its bathymetry?#

  • Dots: pacific_2p5deg … pacific_40deg, squares of open ocean at 0.1°, full GEBCO (15″)

  • Squares: every other grid, GEBCO coarsened to 1/30°

  • Varied: grid area A, 6.25–1600 square degrees

  • Time: the grid and bathymetry parts of crocodash create

  • Fit: time ≈ 17 + 0.14 · A1.24 s, memory ≈ 1.1 + 0.040 · A GB

_images/cc97e197ec5bc1e88e3d0f38dee93f6267a8eed43b3b4bcda038855ea3144344.svg

How long do open boundaries take?#

  • Fixed: synthetic reference_ocean source (10 levels), 1 worker

  • Varied, left to right: source resolution on pacific_10deg (0.01, 0.05, 0.25, 0.5°), 30 days; the grid (every row with open boundaries), 30 days; days on pacific_10deg (30, 90, 360)

  • Fit: time ≈ 7.8 + S·(5.2 + 1.3 C) + k·(-1.9 + 6.8e+02 P + 14 C) s; S 30-day slices, k slices per worker, P million source points, C million domain cells

_images/a4bf2b7e67ea36870323ab77214d07f982bb584113192a0f64c8dc64daf709ed.svg

Do more workers make open boundaries faster, and what do they cost in memory?#

  • Fixed: 360 days (12 slices of 30 days); the grid and source in the legend

  • Varied: workers, 1, 2, 4, 12

  • Fit: time as above; memory ≈ 0.58 + 6.6 P + 2.4 C + w·(0.19 + 0.57 C) GB, w workers (0 for one)

_images/c0ff3cd3fac61932e92b5a37da594ff86283ff5b3ed97096f5275d43e7e55db8.svg

How long does runoff mapping take, and how much memory?#

  • Fixed: GLOFAS source mesh (21.6 million points); left, rmax 20 km

  • Varied: left, the grid (every row with runoff); right, every case, rmax sweeps included

  • Fit: time ≈ 40 + 39 C + 53 W s, memory ≈ 12 + 41 W GB; C million ocean cells, W billion weights

_images/7c9d389c857841a070b81c440df0daad4edffd59c6a4752b25a32a08f1a9e587.svg

How does the smoothing radius grow the runoff maps, and the coupler’s memory?#

  • Fixed: the grid, in the legend

  • Varied: rmax, 10, 20, 40, 80 km

  • Fit: weights ∝ rmax1.8

  • Right axis: CESM coupler memory, 311 GB per billion weights

_images/65f1bf6821cf3fa34355eaf7860a3f5c242c57b71102d8746e9d80eb2cbbad82.svg

How fast does MOM6 run on more tasks?#

  • Fixed: one month of a 100×100×10 grid on Derecho, run by hand (CROC monorepo dev/scaling_test/)

  • Varied: NTASKS_OCN (N), 1–80

  • Fit: run time ≈ 26 + 1380 / N s

_images/92fc30490a35085f7534da06603a51cd10447891f6798df159ef654380199268.svg