diff --git a/benchmarks/benchmark-plotters/plot-cost-mtsubmit.py b/benchmarks/benchmark-plotters/plot-cost-mtsubmit.py index 614ca33..a84a6df 100644 --- a/benchmarks/benchmark-plotters/plot-cost-mtsubmit.py +++ b/benchmarks/benchmark-plotters/plot-cost-mtsubmit.py @@ -12,6 +12,7 @@ thread_counts = ["1t", "2t", "4t", "8t", "12t"] thread_counts_nice = ["1 Thread", "2 Threads", "4 Threads", "8 Threads", "12 Threads"] engine_counts = ["1e", "4e"] engine_counts_nice = ["1 Engine per Group", "4 Engines per Group"] +title = "Performance of Multi-Threaded Submit - Copy Operation Intra-Node on DDR with Size 1 MiB" data = { x_label : thread_counts_nice, @@ -70,7 +71,8 @@ def main(): dfm = pd.melt(df, id_vars=x_label, var_name=var_label, value_name=y_label) sns.catplot(x=x_label, y=y_label, hue=var_label, data=dfm, kind='bar', height=5, aspect=1, palette="viridis") - plt.savefig(os.path.join(folder_path, "plot-cost-mtsubmit.png")) + plt.title(title) + plt.savefig(os.path.join(folder_path, "plot-cost-mtsubmit.png"), bbox_inches='tight') plt.show() if __name__ == "__main__": diff --git a/benchmarks/benchmark-plotters/plot-perf-enginelocation.py b/benchmarks/benchmark-plotters/plot-perf-enginelocation.py index 6be1dd6..1a707ab 100644 --- a/benchmarks/benchmark-plotters/plot-perf-enginelocation.py +++ b/benchmarks/benchmark-plotters/plot-perf-enginelocation.py @@ -12,6 +12,7 @@ types = ["intersock-n0ton4", "internode-n0ton1"] types_nice = ["Inter-Socket Copy", "Inter-Node Copy"] copy_methods = ["dstcopy", "srccopy", "xcopy"] copy_methods_nice = [ "Engine on DST-Node", "Engine on SRC-Node", "Cross-Copy / Both Engines" ] +title = "Performance of Engine Location - Copy Operation on DDR with Size 1 MiB" data = { x_label : types_nice, @@ -73,7 +74,8 @@ def main(): dfm = pd.melt(df, id_vars=x_label, var_name=var_label, value_name=y_label) sns.catplot(x=x_label, y=y_label, hue=var_label, data=dfm, kind='bar', height=5, aspect=1, palette="viridis") - plt.savefig(os.path.join(folder_path, "plot-perf-enginelocation.png")) + plt.title(title) + plt.savefig(os.path.join(folder_path, "plot-perf-enginelocation.png"), bbox_inches='tight') plt.show() if __name__ == "__main__": diff --git a/benchmarks/benchmark-plotters/plot-perf-submitmethod.py b/benchmarks/benchmark-plotters/plot-perf-submitmethod.py index 1b5e4ed..78e8e55 100644 --- a/benchmarks/benchmark-plotters/plot-perf-submitmethod.py +++ b/benchmarks/benchmark-plotters/plot-perf-submitmethod.py @@ -13,6 +13,7 @@ sizes = ["1kib", "4kib", "1mib", "1gib"] sizes_nice = ["1 KiB", "4 KiB", "1 MiB", "1 GiB"] types = ["bs10", "bs50", "ms10", "ms50", "ssaw"] types_nice = ["Batch, Size 10", "Batch, Size 50", "Multi-Submit, Count 10", "Multi Submit, Count 50", "Single Submit"] +title = "Performance of Submission Methods - Copy Operation tested Intra-Node on DDR" data = { x_label : sizes_nice, @@ -97,8 +98,8 @@ def main(): print(dfm) sns.catplot(x=x_label, y=y_label, hue=var_label, data=dfm, kind='bar', height=5, aspect=1, palette="viridis", errorbar=("ci", 100)) - plt.title("Performance of Submission Methods - Copy Operatione tested Intra-Node on DDR") - plt.savefig(os.path.join(folder_path, "plot-perf-submitmethod.png")) + plt.title(title) + plt.savefig(os.path.join(folder_path, "plot-perf-submitmethod.png"), bbox_inches='tight') plt.show() if __name__ == "__main__": diff --git a/benchmarks/benchmark-results/cross-copy-bench/plot-perf-enginelocation.png b/benchmarks/benchmark-results/cross-copy-bench/plot-perf-enginelocation.png index 98f085d..2e06268 100644 Binary files a/benchmarks/benchmark-results/cross-copy-bench/plot-perf-enginelocation.png and b/benchmarks/benchmark-results/cross-copy-bench/plot-perf-enginelocation.png differ diff --git a/benchmarks/benchmark-results/mtsubmit-bench/plot-cost-mtsubmit.png b/benchmarks/benchmark-results/mtsubmit-bench/plot-cost-mtsubmit.png index 9d75cba..25cf0dc 100644 Binary files a/benchmarks/benchmark-results/mtsubmit-bench/plot-cost-mtsubmit.png and b/benchmarks/benchmark-results/mtsubmit-bench/plot-cost-mtsubmit.png differ diff --git a/benchmarks/benchmark-results/submit-bench/plot-perf-submitmethod.png b/benchmarks/benchmark-results/submit-bench/plot-perf-submitmethod.png index e4b65a4..65c3bde 100644 Binary files a/benchmarks/benchmark-results/submit-bench/plot-perf-submitmethod.png and b/benchmarks/benchmark-results/submit-bench/plot-perf-submitmethod.png differ