diff --git a/docs/12_laghos/data/laghos_cubic_weak_rocm.csv b/docs/12_laghos/data/laghos_cubic_weak_rocm.csv index 5f3240a9..eee37b77 100644 --- a/docs/12_laghos/data/laghos_cubic_weak_rocm.csv +++ b/docs/12_laghos/data/laghos_cubic_weak_rocm.csv @@ -1,12 +1,12 @@ -Nodes,GPUs,FOM (megadofs x time steps / second / GPU) -1,4,3491.349 -2,8,3400.236 -4,16,3383.685 -8,32,3326.572 -16,64,3338.019 -32,128,3321.906 -64,256,3227.393 -128,512,3277.743 -192,768,3207.836 -256,1024,3243.384 -384,1536,2944.889 +Nodes,GPUs,FOM (megadofs x time steps / second),FOM/GPU +1,4,13965.396,3491.349 +2,8,27201.888,3400.236 +4,16,54138.960,3383.685 +8,32,106450.304,3326.572 +16,64,213633.216,3338.019 +32,128,425203.968,3321.906 +64,256,826212.608,3227.393 +128,512,1678204.416,3277.743 +192,768,2463618.048,3207.836 +256,1024,3321225.216,3243.384 +384,1536,4523349.504,2944.889 diff --git a/docs/12_laghos/data/laghos_linear_weak_rocm.csv b/docs/12_laghos/data/laghos_linear_weak_rocm.csv index b7520164..b0f37025 100644 --- a/docs/12_laghos/data/laghos_linear_weak_rocm.csv +++ b/docs/12_laghos/data/laghos_linear_weak_rocm.csv @@ -1,12 +1,12 @@ -Nodes,GPUs,FOM (megadofs x time steps / second / GPU) -1,4,1528.117 -2,8,1531.778 -4,16,1494.634 -8,32,1518.581 -16,64,1477.152 -32,128,1470.303 -64,256,1401.449 -128,512,1450.384 -192,768,1437.548 -256,1024,1413.787 -384,1536,1396.590 +Nodes,GPUs,FOM (megadofs x time steps / second),FOM/GPU +1,4,6112.468,1528.117 +2,8,12254.224,1531.778 +4,16,23914.144,1494.634 +8,32,48594.592,1518.581 +16,64,94537.728,1477.152 +32,128,188198.784,1470.303 +64,256,358770.944,1401.449 +128,512,742596.608,1450.384 +192,768,1104036.864,1437.548 +256,1024,1447717.888,1413.787 +384,1536,2145162.240,1396.590 diff --git a/docs/12_laghos/data/laghos_quadratic_weak_rocm.csv b/docs/12_laghos/data/laghos_quadratic_weak_rocm.csv index 1cd1625d..12598fb4 100644 --- a/docs/12_laghos/data/laghos_quadratic_weak_rocm.csv +++ b/docs/12_laghos/data/laghos_quadratic_weak_rocm.csv @@ -1,12 +1,12 @@ -Nodes,GPUs,FOM (megadofs x time steps / second / GPU) -1,4,2883.744 -2,8,2917.763 -4,16,2632.741 -8,32,2796.624 -16,64,2840.787 -32,128,2849.900 -64,256,2790.639 -128,512,2787.150 -192,768,2790.226 -256,1024,2786.080 -384,1536,2545.050 +Nodes,GPUs,FOM (megadofs x time steps / second),FOM/GPU +1,4,11534.976,2883.744 +2,8,23342.104,2917.763 +4,16,42123.856,2632.741 +8,32,89491.968,2796.624 +16,64,181810.368,2840.787 +32,128,364787.200,2849.900 +64,256,714403.584,2790.639 +128,512,1427020.800,2787.150 +192,768,2142893.568,2790.226 +256,1024,2852945.920,2786.080 +384,1536,3909196.800,2545.050 diff --git a/docs/12_laghos/laghos.rst b/docs/12_laghos/laghos.rst index 547cdcaf..b3111bd8 100644 --- a/docs/12_laghos/laghos.rst +++ b/docs/12_laghos/laghos.rst @@ -218,7 +218,7 @@ Running Benchmark runs should aim to maximize the FOM by choosing an appropriate `-epm` (element per mpi rank) value. To ensure domains are well shaped and minimize the impact of MPI communications it is recommended to set `-epm` to either a power of 2, or something of the form `b*2^a`, where b is small and a is large. Note that MFEM/Laghos currently does not support more than 32-bit local indexing so avoid choosing epm values which can result in more than `2^31-1` quadrature points per rank. -You can compute the number of rank local quadrature points by multiplying the epm by the number of quadrature points per zone (tabulated below). +The number of rank local quadrature points can be computed by multiplying the epm by the number of quadrature points per zone (tabulated below). .. table:: Quadrature points per zone. :align: center @@ -317,7 +317,7 @@ Sample CPU and GPU memory usage on a single El Capitan node are shown below. GPU memory use on El Capitan with 4 ranks on a single node per DOF -Weak Scaling on El Capitan +Baseline on El Capitan ========================== Weak scaling performance of Laghos on El Capitan (AMD Epyc + AMD MI300A) for each order is provided as follows. @@ -370,6 +370,16 @@ Timings were captured using Caliper and are presented below. .. image:: plots/laghos_caliper_cubic_weak_rocm.png :align: center +Performance Projection +====================== + +The last row of each table in the above baselines captures the performance on a single Scalable Unit (SU) of El Capitan (384 nodes, 1536 GPUs). + +To project Laghos performance for a Scalable Unit (SU), scale the number of MPI ranks to match the number of GPUs in the SU. There can be one or more MPI rank per GPU as long as each GPU has the same number of ranks. All other configuration options, including `-epm`, must remain unchanged. + +Any `-epm` value which uses **at least** 10% of the memory available on each node of the SU may be used. +See :ref:`RunningLaghos` for recommendations for selecting an appropriate `-epm` value. + References ========== diff --git a/docs/12_laghos/laghos_cubic_weak.matplotlib.py b/docs/12_laghos/laghos_cubic_weak.matplotlib.py index 202edfca..cf5f18f5 100644 --- a/docs/12_laghos/laghos_cubic_weak.matplotlib.py +++ b/docs/12_laghos/laghos_cubic_weak.matplotlib.py @@ -10,7 +10,7 @@ rows = list(csv.DictReader(stream)) nodes = [int(row["Nodes"]) for row in rows] -fom_per_gpu = [float(row["FOM (megadofs x time steps / second / GPU)"]) for row in rows] +fom_per_gpu = [float(row["FOM/GPU"]) for row in rows] fig, ax = plt.subplots(figsize=(12, 5.6)) ax.plot( @@ -18,11 +18,11 @@ fom_per_gpu, color="#00ad55", marker="o", - label="FOM", + label="FOM/GPU", ) ax.set_title("Laghos: Weak Q3Q2, epm=524288") ax.set_xlabel("Nodes") -ax.set_ylabel("FOM\n[megadofs x time steps / second / GPU]") +ax.set_ylabel("FOM/GPU\n[megadofs x time steps / second / GPU]") ax.set_xscale("log", base=2) ax.set_xticks(nodes) ax.xaxis.set_major_formatter(FormatStrFormatter("%d")) diff --git a/docs/12_laghos/laghos_linear_weak.matplotlib.py b/docs/12_laghos/laghos_linear_weak.matplotlib.py index 74695f64..84b9548b 100644 --- a/docs/12_laghos/laghos_linear_weak.matplotlib.py +++ b/docs/12_laghos/laghos_linear_weak.matplotlib.py @@ -10,7 +10,7 @@ rows = list(csv.DictReader(stream)) nodes = [int(row["Nodes"]) for row in rows] -fom_per_gpu = [float(row["FOM (megadofs x time steps / second / GPU)"]) for row in rows] +fom_per_gpu = [float(row["FOM/GPU"]) for row in rows] fig, ax = plt.subplots(figsize=(12, 5.6)) ax.plot( @@ -18,11 +18,11 @@ fom_per_gpu, color="#00ad55", marker="o", - label="FOM", + label="FOM/GPU", ) ax.set_title("Laghos: Weak Q1Q0, epm=12582912") ax.set_xlabel("Nodes") -ax.set_ylabel("FOM\n[megadofs x time steps / second / GPU]") +ax.set_ylabel("FOM/GPU\n[megadofs x time steps / second / GPU]") ax.set_xscale("log", base=2) ax.set_xticks(nodes) ax.xaxis.set_major_formatter(FormatStrFormatter("%d")) diff --git a/docs/12_laghos/laghos_quadratic_weak.matplotlib.py b/docs/12_laghos/laghos_quadratic_weak.matplotlib.py index c88e8bc2..9f0c8222 100644 --- a/docs/12_laghos/laghos_quadratic_weak.matplotlib.py +++ b/docs/12_laghos/laghos_quadratic_weak.matplotlib.py @@ -10,7 +10,7 @@ rows = list(csv.DictReader(stream)) nodes = [int(row["Nodes"]) for row in rows] -fom_per_gpu = [float(row["FOM (megadofs x time steps / second / GPU)"]) for row in rows] +fom_per_gpu = [float(row["FOM/GPU"]) for row in rows] fig, ax = plt.subplots(figsize=(12, 5.6)) ax.plot( @@ -18,11 +18,11 @@ fom_per_gpu, color="#00ad55", marker="o", - label="FOM", + label="FOM/GPU", ) ax.set_title("Laghos: Weak Q2Q1, epm=1835008") ax.set_xlabel("Nodes") -ax.set_ylabel("FOM\n[megadofs x time steps / second / GPU]") +ax.set_ylabel("FOM/GPU\n[megadofs x time steps / second / GPU]") ax.set_xscale("log", base=2) ax.set_xticks(nodes) ax.xaxis.set_major_formatter(FormatStrFormatter("%d"))