From 1b6c60c49b03e203ffdd64f24232bdef422e878d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20F=C3=BCrst?= Date: Mon, 5 Feb 2024 13:46:54 +0100 Subject: [PATCH] benchmark copy throughput for using 1,2,4,8 dsas and remove brute cpu bench (we steal it from andre) --- .../copy-n0ton11-1gib-1dsa.json | 19 +++ .../copy-n0ton12-1gib-1dsa.json} | 14 +- .../copy-n0ton15-1gib-1dsa.json} | 14 +- .../peak-perf-1dsa/copy-n0ton8-1gib-1dsa.json | 19 +++ .../copy-n0ton11-1gib-2dsa.json} | 0 .../copy-n0ton12-1gib-2dsa.json} | 0 .../copy-n0ton15-1gib-2dsa.json} | 0 .../copy-n0ton8-1gib-2dsa.json} | 0 .../copy-n0ton11-1gib-4dsa.json} | 0 .../copy-n0ton12-1gib-4dsa.json | 55 +++++++ .../copy-n0ton15-1gib-4dsa.json | 55 +++++++ .../copy-n0ton8-1gib-4dsa.json} | 0 .../copy-n0ton11-1gib-8cpu.json} | 0 .../copy-n0ton12-1gib-8cpu.json} | 0 .../copy-n0ton15-1gib-8cpu.json} | 0 .../copy-n0ton8-1gib-8cpu.json} | 0 .../copy-n0ton11-1gib-8dsa.json} | 0 .../copy-n0ton12-1gib-8dsa.json} | 0 .../copy-n0ton15-1gib-8dsa.json} | 0 .../copy-n0ton8-1gib-8dsa.json} | 0 .../copy-n0ton11-1gib-brute-cpu.json | 151 ------------------ .../copy-n0ton12-1gib-brute-cpu.json | 151 ------------------ .../copy-n0ton15-1gib-brute-cpu.json | 151 ------------------ .../copy-n0ton8-1gib-brute-cpu.json | 151 ------------------ .../plot-perf-peakthroughput-bar.py | 13 +- 25 files changed, 157 insertions(+), 636 deletions(-) create mode 100644 benchmarks/benchmark-descriptors/peak-perf-1dsa/copy-n0ton11-1gib-1dsa.json rename benchmarks/benchmark-descriptors/{peak-perf-smart/copy-n0ton12-1gib-smart.json => peak-perf-1dsa/copy-n0ton12-1gib-1dsa.json} (54%) rename benchmarks/benchmark-descriptors/{peak-perf-smart/copy-n0ton15-1gib-smart.json => peak-perf-1dsa/copy-n0ton15-1gib-1dsa.json} (54%) create mode 100644 benchmarks/benchmark-descriptors/peak-perf-1dsa/copy-n0ton8-1gib-1dsa.json rename benchmarks/benchmark-descriptors/{peak-perf-pushpull/copy-n0ton11-1gib-pushpull.json => peak-perf-2dsa/copy-n0ton11-1gib-2dsa.json} (100%) rename benchmarks/benchmark-descriptors/{peak-perf-pushpull/copy-n0ton12-1gib-pushpull.json => peak-perf-2dsa/copy-n0ton12-1gib-2dsa.json} (100%) rename benchmarks/benchmark-descriptors/{peak-perf-pushpull/copy-n0ton15-1gib-pushpull.json => peak-perf-2dsa/copy-n0ton15-1gib-2dsa.json} (100%) rename benchmarks/benchmark-descriptors/{peak-perf-pushpull/copy-n0ton8-1gib-pushpull.json => peak-perf-2dsa/copy-n0ton8-1gib-2dsa.json} (100%) rename benchmarks/benchmark-descriptors/{peak-perf-smart/copy-n0ton11-1gib-smart.json => peak-perf-4dsa/copy-n0ton11-1gib-4dsa.json} (100%) create mode 100644 benchmarks/benchmark-descriptors/peak-perf-4dsa/copy-n0ton12-1gib-4dsa.json create mode 100644 benchmarks/benchmark-descriptors/peak-perf-4dsa/copy-n0ton15-1gib-4dsa.json rename benchmarks/benchmark-descriptors/{peak-perf-smart/copy-n0ton8-1gib-smart.json => peak-perf-4dsa/copy-n0ton8-1gib-4dsa.json} (100%) rename benchmarks/benchmark-descriptors/{peak-perf-allnodes-cpu/copy-n0ton11-1gib-allnodes-cpu.json => peak-perf-8cpu/copy-n0ton11-1gib-8cpu.json} (100%) rename benchmarks/benchmark-descriptors/{peak-perf-allnodes-cpu/copy-n0ton12-1gib-allnodes-cpu.json => peak-perf-8cpu/copy-n0ton12-1gib-8cpu.json} (100%) rename benchmarks/benchmark-descriptors/{peak-perf-allnodes-cpu/copy-n0ton15-1gib-allnodes-cpu.json => peak-perf-8cpu/copy-n0ton15-1gib-8cpu.json} (100%) rename benchmarks/benchmark-descriptors/{peak-perf-allnodes-cpu/copy-n0ton8-1gib-allnodes-cpu.json => peak-perf-8cpu/copy-n0ton8-1gib-8cpu.json} (100%) rename benchmarks/benchmark-descriptors/{peak-perf-allnodes/copy-n0ton11-1gib-allnodes.json => peak-perf-8dsa/copy-n0ton11-1gib-8dsa.json} (100%) rename benchmarks/benchmark-descriptors/{peak-perf-allnodes/copy-n0ton12-1gib-allnodes.json => peak-perf-8dsa/copy-n0ton12-1gib-8dsa.json} (100%) rename benchmarks/benchmark-descriptors/{peak-perf-allnodes/copy-n0ton15-1gib-allnodes.json => peak-perf-8dsa/copy-n0ton15-1gib-8dsa.json} (100%) rename benchmarks/benchmark-descriptors/{peak-perf-allnodes/copy-n0ton8-1gib-allnodes.json => peak-perf-8dsa/copy-n0ton8-1gib-8dsa.json} (100%) delete mode 100644 benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton11-1gib-brute-cpu.json delete mode 100644 benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton12-1gib-brute-cpu.json delete mode 100644 benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton15-1gib-brute-cpu.json delete mode 100644 benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton8-1gib-brute-cpu.json diff --git a/benchmarks/benchmark-descriptors/peak-perf-1dsa/copy-n0ton11-1gib-1dsa.json b/benchmarks/benchmark-descriptors/peak-perf-1dsa/copy-n0ton11-1gib-1dsa.json new file mode 100644 index 0000000..8e87c27 --- /dev/null +++ b/benchmarks/benchmark-descriptors/peak-perf-1dsa/copy-n0ton11-1gib-1dsa.json @@ -0,0 +1,19 @@ +{ + "count": 1, + "list": [ + { + "affinity": { + "nnode_dst": 11, + "nnode_src": 0, + "node": 0 + }, + "task": { + "size": 1073741824, + "batch_size": 0, + "reps": 1 + } + } + ], + "path": "hw", + "repetitions": 10 +} \ No newline at end of file diff --git a/benchmarks/benchmark-descriptors/peak-perf-smart/copy-n0ton12-1gib-smart.json b/benchmarks/benchmark-descriptors/peak-perf-1dsa/copy-n0ton12-1gib-1dsa.json similarity index 54% rename from benchmarks/benchmark-descriptors/peak-perf-smart/copy-n0ton12-1gib-smart.json rename to benchmarks/benchmark-descriptors/peak-perf-1dsa/copy-n0ton12-1gib-1dsa.json index 35262af..b83febf 100644 --- a/benchmarks/benchmark-descriptors/peak-perf-smart/copy-n0ton12-1gib-smart.json +++ b/benchmarks/benchmark-descriptors/peak-perf-1dsa/copy-n0ton12-1gib-1dsa.json @@ -1,5 +1,5 @@ { - "count": 2, + "count": 1, "list": [ { "affinity": { @@ -12,18 +12,6 @@ "batch_size": 0, "reps": 1 } - }, - { - "affinity": { - "nnode_dst": 12, - "nnode_src": 0, - "node": 4 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } } ], "path": "hw", diff --git a/benchmarks/benchmark-descriptors/peak-perf-smart/copy-n0ton15-1gib-smart.json b/benchmarks/benchmark-descriptors/peak-perf-1dsa/copy-n0ton15-1gib-1dsa.json similarity index 54% rename from benchmarks/benchmark-descriptors/peak-perf-smart/copy-n0ton15-1gib-smart.json rename to benchmarks/benchmark-descriptors/peak-perf-1dsa/copy-n0ton15-1gib-1dsa.json index 5c3aa4d..7839d96 100644 --- a/benchmarks/benchmark-descriptors/peak-perf-smart/copy-n0ton15-1gib-smart.json +++ b/benchmarks/benchmark-descriptors/peak-perf-1dsa/copy-n0ton15-1gib-1dsa.json @@ -1,5 +1,5 @@ { - "count": 2, + "count": 1, "list": [ { "affinity": { @@ -12,18 +12,6 @@ "batch_size": 0, "reps": 1 } - }, - { - "affinity": { - "nnode_dst": 15, - "nnode_src": 0, - "node": 7 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } } ], "path": "hw", diff --git a/benchmarks/benchmark-descriptors/peak-perf-1dsa/copy-n0ton8-1gib-1dsa.json b/benchmarks/benchmark-descriptors/peak-perf-1dsa/copy-n0ton8-1gib-1dsa.json new file mode 100644 index 0000000..17d40e9 --- /dev/null +++ b/benchmarks/benchmark-descriptors/peak-perf-1dsa/copy-n0ton8-1gib-1dsa.json @@ -0,0 +1,19 @@ +{ + "count": 1, + "list": [ + { + "affinity": { + "nnode_dst": 8, + "nnode_src": 0, + "node": 0 + }, + "task": { + "size": 1073741824, + "batch_size": 0, + "reps": 1 + } + } + ], + "path": "hw", + "repetitions": 10 +} \ No newline at end of file diff --git a/benchmarks/benchmark-descriptors/peak-perf-pushpull/copy-n0ton11-1gib-pushpull.json b/benchmarks/benchmark-descriptors/peak-perf-2dsa/copy-n0ton11-1gib-2dsa.json similarity index 100% rename from benchmarks/benchmark-descriptors/peak-perf-pushpull/copy-n0ton11-1gib-pushpull.json rename to benchmarks/benchmark-descriptors/peak-perf-2dsa/copy-n0ton11-1gib-2dsa.json diff --git a/benchmarks/benchmark-descriptors/peak-perf-pushpull/copy-n0ton12-1gib-pushpull.json b/benchmarks/benchmark-descriptors/peak-perf-2dsa/copy-n0ton12-1gib-2dsa.json similarity index 100% rename from benchmarks/benchmark-descriptors/peak-perf-pushpull/copy-n0ton12-1gib-pushpull.json rename to benchmarks/benchmark-descriptors/peak-perf-2dsa/copy-n0ton12-1gib-2dsa.json diff --git a/benchmarks/benchmark-descriptors/peak-perf-pushpull/copy-n0ton15-1gib-pushpull.json b/benchmarks/benchmark-descriptors/peak-perf-2dsa/copy-n0ton15-1gib-2dsa.json similarity index 100% rename from benchmarks/benchmark-descriptors/peak-perf-pushpull/copy-n0ton15-1gib-pushpull.json rename to benchmarks/benchmark-descriptors/peak-perf-2dsa/copy-n0ton15-1gib-2dsa.json diff --git a/benchmarks/benchmark-descriptors/peak-perf-pushpull/copy-n0ton8-1gib-pushpull.json b/benchmarks/benchmark-descriptors/peak-perf-2dsa/copy-n0ton8-1gib-2dsa.json similarity index 100% rename from benchmarks/benchmark-descriptors/peak-perf-pushpull/copy-n0ton8-1gib-pushpull.json rename to benchmarks/benchmark-descriptors/peak-perf-2dsa/copy-n0ton8-1gib-2dsa.json diff --git a/benchmarks/benchmark-descriptors/peak-perf-smart/copy-n0ton11-1gib-smart.json b/benchmarks/benchmark-descriptors/peak-perf-4dsa/copy-n0ton11-1gib-4dsa.json similarity index 100% rename from benchmarks/benchmark-descriptors/peak-perf-smart/copy-n0ton11-1gib-smart.json rename to benchmarks/benchmark-descriptors/peak-perf-4dsa/copy-n0ton11-1gib-4dsa.json diff --git a/benchmarks/benchmark-descriptors/peak-perf-4dsa/copy-n0ton12-1gib-4dsa.json b/benchmarks/benchmark-descriptors/peak-perf-4dsa/copy-n0ton12-1gib-4dsa.json new file mode 100644 index 0000000..11745f2 --- /dev/null +++ b/benchmarks/benchmark-descriptors/peak-perf-4dsa/copy-n0ton12-1gib-4dsa.json @@ -0,0 +1,55 @@ +{ + "count": 4, + "list": [ + { + "affinity": { + "nnode_dst": 12, + "nnode_src": 0, + "node": 0 + }, + "task": { + "size": 1073741824, + "batch_size": 0, + "reps": 1 + } + }, + { + "affinity": { + "nnode_dst": 12, + "nnode_src": 0, + "node": 1 + }, + "task": { + "size": 1073741824, + "batch_size": 0, + "reps": 1 + } + }, + { + "affinity": { + "nnode_dst": 12, + "nnode_src": 0, + "node": 4 + }, + "task": { + "size": 1073741824, + "batch_size": 0, + "reps": 1 + } + }, + { + "affinity": { + "nnode_dst": 12, + "nnode_src": 0, + "node": 5 + }, + "task": { + "size": 1073741824, + "batch_size": 0, + "reps": 1 + } + } + ], + "path": "hw", + "repetitions": 10 +} \ No newline at end of file diff --git a/benchmarks/benchmark-descriptors/peak-perf-4dsa/copy-n0ton15-1gib-4dsa.json b/benchmarks/benchmark-descriptors/peak-perf-4dsa/copy-n0ton15-1gib-4dsa.json new file mode 100644 index 0000000..60e93b9 --- /dev/null +++ b/benchmarks/benchmark-descriptors/peak-perf-4dsa/copy-n0ton15-1gib-4dsa.json @@ -0,0 +1,55 @@ +{ + "count": 4, + "list": [ + { + "affinity": { + "nnode_dst": 15, + "nnode_src": 0, + "node": 0 + }, + "task": { + "size": 1073741824, + "batch_size": 0, + "reps": 1 + } + }, + { + "affinity": { + "nnode_dst": 15, + "nnode_src": 0, + "node": 1 + }, + "task": { + "size": 1073741824, + "batch_size": 0, + "reps": 1 + } + }, + { + "affinity": { + "nnode_dst": 15, + "nnode_src": 0, + "node": 7 + }, + "task": { + "size": 1073741824, + "batch_size": 0, + "reps": 1 + } + }, + { + "affinity": { + "nnode_dst": 15, + "nnode_src": 0, + "node": 6 + }, + "task": { + "size": 1073741824, + "batch_size": 0, + "reps": 1 + } + } + ], + "path": "hw", + "repetitions": 10 +} \ No newline at end of file diff --git a/benchmarks/benchmark-descriptors/peak-perf-smart/copy-n0ton8-1gib-smart.json b/benchmarks/benchmark-descriptors/peak-perf-4dsa/copy-n0ton8-1gib-4dsa.json similarity index 100% rename from benchmarks/benchmark-descriptors/peak-perf-smart/copy-n0ton8-1gib-smart.json rename to benchmarks/benchmark-descriptors/peak-perf-4dsa/copy-n0ton8-1gib-4dsa.json diff --git a/benchmarks/benchmark-descriptors/peak-perf-allnodes-cpu/copy-n0ton11-1gib-allnodes-cpu.json b/benchmarks/benchmark-descriptors/peak-perf-8cpu/copy-n0ton11-1gib-8cpu.json similarity index 100% rename from benchmarks/benchmark-descriptors/peak-perf-allnodes-cpu/copy-n0ton11-1gib-allnodes-cpu.json rename to benchmarks/benchmark-descriptors/peak-perf-8cpu/copy-n0ton11-1gib-8cpu.json diff --git a/benchmarks/benchmark-descriptors/peak-perf-allnodes-cpu/copy-n0ton12-1gib-allnodes-cpu.json b/benchmarks/benchmark-descriptors/peak-perf-8cpu/copy-n0ton12-1gib-8cpu.json similarity index 100% rename from benchmarks/benchmark-descriptors/peak-perf-allnodes-cpu/copy-n0ton12-1gib-allnodes-cpu.json rename to benchmarks/benchmark-descriptors/peak-perf-8cpu/copy-n0ton12-1gib-8cpu.json diff --git a/benchmarks/benchmark-descriptors/peak-perf-allnodes-cpu/copy-n0ton15-1gib-allnodes-cpu.json b/benchmarks/benchmark-descriptors/peak-perf-8cpu/copy-n0ton15-1gib-8cpu.json similarity index 100% rename from benchmarks/benchmark-descriptors/peak-perf-allnodes-cpu/copy-n0ton15-1gib-allnodes-cpu.json rename to benchmarks/benchmark-descriptors/peak-perf-8cpu/copy-n0ton15-1gib-8cpu.json diff --git a/benchmarks/benchmark-descriptors/peak-perf-allnodes-cpu/copy-n0ton8-1gib-allnodes-cpu.json b/benchmarks/benchmark-descriptors/peak-perf-8cpu/copy-n0ton8-1gib-8cpu.json similarity index 100% rename from benchmarks/benchmark-descriptors/peak-perf-allnodes-cpu/copy-n0ton8-1gib-allnodes-cpu.json rename to benchmarks/benchmark-descriptors/peak-perf-8cpu/copy-n0ton8-1gib-8cpu.json diff --git a/benchmarks/benchmark-descriptors/peak-perf-allnodes/copy-n0ton11-1gib-allnodes.json b/benchmarks/benchmark-descriptors/peak-perf-8dsa/copy-n0ton11-1gib-8dsa.json similarity index 100% rename from benchmarks/benchmark-descriptors/peak-perf-allnodes/copy-n0ton11-1gib-allnodes.json rename to benchmarks/benchmark-descriptors/peak-perf-8dsa/copy-n0ton11-1gib-8dsa.json diff --git a/benchmarks/benchmark-descriptors/peak-perf-allnodes/copy-n0ton12-1gib-allnodes.json b/benchmarks/benchmark-descriptors/peak-perf-8dsa/copy-n0ton12-1gib-8dsa.json similarity index 100% rename from benchmarks/benchmark-descriptors/peak-perf-allnodes/copy-n0ton12-1gib-allnodes.json rename to benchmarks/benchmark-descriptors/peak-perf-8dsa/copy-n0ton12-1gib-8dsa.json diff --git a/benchmarks/benchmark-descriptors/peak-perf-allnodes/copy-n0ton15-1gib-allnodes.json b/benchmarks/benchmark-descriptors/peak-perf-8dsa/copy-n0ton15-1gib-8dsa.json similarity index 100% rename from benchmarks/benchmark-descriptors/peak-perf-allnodes/copy-n0ton15-1gib-allnodes.json rename to benchmarks/benchmark-descriptors/peak-perf-8dsa/copy-n0ton15-1gib-8dsa.json diff --git a/benchmarks/benchmark-descriptors/peak-perf-allnodes/copy-n0ton8-1gib-allnodes.json b/benchmarks/benchmark-descriptors/peak-perf-8dsa/copy-n0ton8-1gib-8dsa.json similarity index 100% rename from benchmarks/benchmark-descriptors/peak-perf-allnodes/copy-n0ton8-1gib-allnodes.json rename to benchmarks/benchmark-descriptors/peak-perf-8dsa/copy-n0ton8-1gib-8dsa.json diff --git a/benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton11-1gib-brute-cpu.json b/benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton11-1gib-brute-cpu.json deleted file mode 100644 index 7641bb2..0000000 --- a/benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton11-1gib-brute-cpu.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "count": 12, - "list": [ - { - "affinity": { - "nnode_dst": 11, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 11, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 11, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 11, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 11, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 11, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 11, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 11, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 11, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 11, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 11, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 11, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - } - ], - "path": "sw", - "repetitions": 10 -} \ No newline at end of file diff --git a/benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton12-1gib-brute-cpu.json b/benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton12-1gib-brute-cpu.json deleted file mode 100644 index 5163b7b..0000000 --- a/benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton12-1gib-brute-cpu.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "count": 12, - "list": [ - { - "affinity": { - "nnode_dst": 12, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 12, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 12, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 12, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 12, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 12, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 12, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 12, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 12, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 12, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 12, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 12, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - } - ], - "path": "sw", - "repetitions": 10 -} \ No newline at end of file diff --git a/benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton15-1gib-brute-cpu.json b/benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton15-1gib-brute-cpu.json deleted file mode 100644 index 7ef3231..0000000 --- a/benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton15-1gib-brute-cpu.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "count": 12, - "list": [ - { - "affinity": { - "nnode_dst": 15, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 15, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 15, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 15, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 15, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 15, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 15, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 15, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 15, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 15, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 15, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 15, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - } - ], - "path": "sw", - "repetitions": 10 -} \ No newline at end of file diff --git a/benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton8-1gib-brute-cpu.json b/benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton8-1gib-brute-cpu.json deleted file mode 100644 index 81efd70..0000000 --- a/benchmarks/benchmark-descriptors/peak-perf-brute-cpu/copy-n0ton8-1gib-brute-cpu.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "count": 12, - "list": [ - { - "affinity": { - "nnode_dst": 8, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 8, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 8, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 8, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 8, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 8, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 8, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 8, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 8, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 8, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 8, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - }, - { - "affinity": { - "nnode_dst": 8, - "nnode_src": 0, - "node": 0 - }, - "task": { - "size": 1073741824, - "batch_size": 0, - "reps": 1 - } - } - ], - "path": "sw", - "repetitions": 10 -} \ No newline at end of file diff --git a/benchmarks/benchmark-plotters/plot-perf-peakthroughput-bar.py b/benchmarks/benchmark-plotters/plot-perf-peakthroughput-bar.py index ecd518f..1492e14 100644 --- a/benchmarks/benchmark-plotters/plot-perf-peakthroughput-bar.py +++ b/benchmarks/benchmark-plotters/plot-perf-peakthroughput-bar.py @@ -58,7 +58,7 @@ def process_file_to_dataset(file_path, src_node, dst_node): run_idx = run_idx + 1 -def plot_bar(table,title,node_config): +def plot_bar(table,node_config): plt.figure(figsize=(2, 3)) sns.barplot(x=x_label, y=y_label, data=table, palette="mako", errorbar="sd") @@ -72,7 +72,7 @@ def plot_bar(table,title,node_config): # loops over all possible configuration combinations and calls # process_file_to_dataset for them in order to build a dataframe # which is then displayed and saved -def main(node_config,title): +def main(node_config): src_node = 0 for dst_node in {8,11,12,15}: file = os.path.join(result_path, f"copy-n{src_node}ton{dst_node}-1gib-{node_config}.json") @@ -83,12 +83,13 @@ def main(node_config,title): data.clear() df.set_index(index, inplace=True) - plot_bar(df, title, node_config) + plot_bar(df, node_config) return df if __name__ == "__main__": - dall = main("allnodes", title_allnodes) - dsmart = main("smart", title_smartnodes) - dspp = main("pushpull", title_smartnodes) \ No newline at end of file + main("1dsa") + main("2dsa") + main("4dsa") + main("8dsa") \ No newline at end of file