From 49a56ee5b83d0822831bcb8f41859104bee5ea41 Mon Sep 17 00:00:00 2001 From: Marc Coiffier Date: Fri, 24 Jan 2025 14:33:29 +0100 Subject: [PATCH] =?UTF-8?q?R=C3=A9cup=C3=A9ration=20de=20benchs=20pour=20H?= =?UTF-8?q?100;=20ajout=20de=20labels=20aux=20axes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/source/bench-jeanzay.json | 64 +++++++++++++++++++++++++++++++++ doc/source/plot_idefix_bench.py | 7 ++-- 2 files changed, 69 insertions(+), 2 deletions(-) diff --git a/doc/source/bench-jeanzay.json b/doc/source/bench-jeanzay.json index 6d5fd5ca..7ded6914 100644 --- a/doc/source/bench-jeanzay.json +++ b/doc/source/bench-jeanzay.json @@ -142,5 +142,69 @@ "cell_updates": 3.083581E+8 } ] + }, + { + "date": "2025-01-24_13:02:08", + "gpumodel": "h100", + "idefix_commit": "54482d582361f1cd05c39717902f752b3d04ae6e", + "bench_commit": "a94bc00490b3c62f81f7713327f4388e44a2abea", + "results": [ + { + "nbgpu": 1, + "cell_updates": 3.076537E+8 + } + ] + }, + { + "date": "2025-01-24_13:04:02", + "gpumodel": "h100", + "idefix_commit": "54482d582361f1cd05c39717902f752b3d04ae6e", + "bench_commit": "a94bc00490b3c62f81f7713327f4388e44a2abea", + "results": [ + { + "nbgpu": 1, + "cell_updates": 3.032686E+8 + }, + { + "nbgpu": 2, + "cell_updates": 3.007089E+8 + }, + { + "nbgpu": 4, + "cell_updates": 2.938962E+8 + } + ] + }, + { + "date": "2025-01-24_14:17:30", + "gpumodel": "h100", + "idefix_commit": "54482d582361f1cd05c39717902f752b3d04ae6e", + "bench_commit": "a94bc00490b3c62f81f7713327f4388e44a2abea", + "results": [ + { + "nbgpu": 1, + "cell_updates": 3.074363E+8 + }, + { + "nbgpu": 2, + "cell_updates": 3.009340E+8 + }, + { + "nbgpu": 4, + "cell_updates": 2.938868E+8 + }, + { + "nbgpu": 8, + "cell_updates": 2.833054E+8 + }, + { + "nbgpu": 16, + "cell_updates": 2.822483E+8 + }, + { + "nbgpu": 32, + "cell_updates": 2.817151E+8 + } + ] } ] diff --git a/doc/source/plot_idefix_bench.py b/doc/source/plot_idefix_bench.py index cd45aa5a..ac91b787 100644 --- a/doc/source/plot_idefix_bench.py +++ b/doc/source/plot_idefix_bench.py @@ -8,7 +8,10 @@ def do_plot(title, bench_file, gpumodel): select = [bench for bench in benches if bench['gpumodel'] == gpumodel][-1] xs = [r['nbgpu'] for r in select['results']] ys = [r['cell_updates'] for r in select['results']] - - plt.xscale("log") + + plt.xscale("log", base=2) plt.plot(xs, ys) + plt.ylim(0,max(ys)*1.1) + plt.xlabel("Number of GPUs") + plt.ylabel("Performance (cells / second / GPU)") plt.title(title)