Browse Source

rework the multithread benchmark plot to be more compact for use in the thesis

master
Constantin Fürst 11 months ago
parent
commit
1ec7d438b2
  1. BIN
      benchmarks/benchmark-plots/plot-perf-mtsubmit.png
  2. BIN
      benchmarks/benchmark-plotters/__pycache__/common.cpython-39.pyc
  3. 11
      benchmarks/benchmark-plotters/plot-cost-mtsubmit.py
  4. BIN
      thesis/images/plot-perf-mtsubmit.png

BIN
benchmarks/benchmark-plots/plot-perf-mtsubmit.png

Before

Width: 563  |  Height: 522  |  Size: 37 KiB

After

Width: 563  |  Height: 432  |  Size: 16 KiB

BIN
benchmarks/benchmark-plotters/__pycache__/common.cpython-39.pyc

11
benchmarks/benchmark-plotters/plot-cost-mtsubmit.py

@ -10,11 +10,11 @@ from common import calc_throughput, index_from_element
runid = "Run ID" runid = "Run ID"
x_label = "Thread Count" x_label = "Thread Count"
y_label = "Throughput in GiB/s" y_label = "Throughput in GiB/s"
var_label = "Thread Counts"
thread_counts = ["1t", "2t", "4t", "8t", "12t"]
thread_counts_nice = ["1 Thread", "2 Threads", "4 Threads", "8 Threads", "12 Threads"]
engine_counts = ["1mib-1e", "1mib-4e", "1gib-1e", "1gib-4e"]
engine_counts_nice = ["1 E/WQ and 1 MiB", "4 E/WQ and 1 MiB", "1 E/WQ and 1 GiB", "4 E/WQ and 1 GiB"]
var_label = "Transfer Size"
thread_counts = ["1t", "2t", "12t"]
thread_counts_nice = ["1 Thread", "2 Threads", "12 Threads"]
engine_counts = ["1mib-1e", "1gib-1e"]
engine_counts_nice = ["1 MiB", "1 GiB"]
title = \ title = \
"""Total Throughput showing cost of MT Submit\n """Total Throughput showing cost of MT Submit\n
@ -94,7 +94,6 @@ def main():
sns.barplot(x=x_label, y=y_label, hue=var_label, data=df, palette="rocket", errorbar="sd") sns.barplot(x=x_label, y=y_label, hue=var_label, data=df, palette="rocket", errorbar="sd")
plt.title(title)
plt.savefig(os.path.join(output_path, "plot-perf-mtsubmit.png"), bbox_inches='tight') plt.savefig(os.path.join(output_path, "plot-perf-mtsubmit.png"), bbox_inches='tight')
plt.show() plt.show()

BIN
thesis/images/plot-perf-mtsubmit.png

After

Width: 563  |  Height: 432  |  Size: 16 KiB

Loading…
Cancel
Save