From ae8dfa153d516f9fbff9409a4a8ce831b55a9745 Mon Sep 17 00:00:00 2001 From: Tiziano Zito Date: Fri, 16 Aug 2024 19:00:25 +0200 Subject: [PATCH] add axes labels everywhere and change some colors to avoid confusion --- architecture/memory.py | 5 +- architecture/memory_bandwidth.svg | 705 +++++----- architecture/memory_clock.svg | 442 +++--- architecture/memory_latency.svg | 544 +++---- benchmark_low_level/bandwidth-cpu4.svg | 1721 ----------------------- benchmark_low_level/bandwidth-t14.svg | 335 +++-- benchmark_low_level/latency-cpu4.svg | 1796 ------------------------ benchmark_low_level/latency-t14.svg | 444 +++--- benchmark_low_level/plot.py | 10 +- 9 files changed, 1327 insertions(+), 4675 deletions(-) delete mode 100644 benchmark_low_level/bandwidth-cpu4.svg delete mode 100644 benchmark_low_level/latency-cpu4.svg diff --git a/architecture/memory.py b/architecture/memory.py index c3c2e66..5dc36cc 100644 --- a/architecture/memory.py +++ b/architecture/memory.py @@ -52,6 +52,7 @@ for t in yticks: else: ylabels.append('') plt.yticks(yticks, ylabels) +plt.ylabel('GB/s') plt.tick_params(axis='y', which='both', reset=True, labelright=True, right=True) plt.savefig('memory_bandwidth.svg') @@ -68,7 +69,7 @@ yticks = list(line[1:]*0.1)+list(line[1:])+list(line[1:2]*10) ylabels = [] for value in yticks: if value in (0.1, 0.5, 1., 1.5, 5., 10.): - ylabels.append(f'{value}') + ylabels.append(f'{value} ns') else: ylabels.append('') plt.yticks(yticks, ylabels) @@ -91,7 +92,7 @@ yticks = range(8,41) ylabels = [] for t in yticks: if not t%5: - ylabels.append(str(t)) + ylabels.append(str(t)+' ns') else: ylabels.append('') plt.yticks(yticks, ylabels) diff --git a/architecture/memory_bandwidth.svg b/architecture/memory_bandwidth.svg index f2a2c59..9d579a6 100644 --- a/architecture/memory_bandwidth.svg +++ b/architecture/memory_bandwidth.svg @@ -6,11 +6,11 @@ - 2024-03-09T19:41:24.478245 + 2024-08-16T18:39:22.726694 image/svg+xml - Matplotlib v3.6.3, https://matplotlib.org/ + Matplotlib v3.8.3, https://matplotlib.org/ @@ -42,16 +42,16 @@ z +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - - + @@ -141,11 +141,11 @@ z +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -246,11 +246,11 @@ z +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -348,11 +348,11 @@ z +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -404,11 +404,11 @@ z +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -430,11 +430,11 @@ L 213.040909 64.8 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -456,11 +456,11 @@ L 241.786364 64.8 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -482,11 +482,11 @@ L 270.531818 64.8 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -548,11 +548,11 @@ z +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -574,11 +574,11 @@ L 328.022727 64.8 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -600,11 +600,11 @@ L 356.768182 64.8 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -626,11 +626,11 @@ L 385.513636 64.8 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -652,11 +652,11 @@ L 414.259091 64.8 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -678,11 +678,11 @@ L 443.004545 64.8 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -775,11 +775,11 @@ z +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -801,11 +801,11 @@ L 500.495455 64.8 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -829,26 +829,26 @@ L 529.240909 64.8 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - - + - - + @@ -868,16 +868,16 @@ L 3.5 0 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -885,16 +885,16 @@ L 550.8 460.396641 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -902,16 +902,16 @@ L 550.8 453.070778 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -919,16 +919,16 @@ L 550.8 445.744914 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -936,16 +936,16 @@ L 550.8 438.41905 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -965,16 +965,16 @@ L 550.8 431.093187 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -982,16 +982,16 @@ L 550.8 423.767323 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -999,16 +999,16 @@ L 550.8 416.441459 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1016,16 +1016,16 @@ L 550.8 409.115595 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1033,16 +1033,16 @@ L 550.8 401.789732 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1064,16 +1064,16 @@ L 550.8 394.463868 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1081,16 +1081,16 @@ L 550.8 387.138004 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1098,16 +1098,16 @@ L 550.8 379.81214 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1115,16 +1115,16 @@ L 550.8 372.486277 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1132,16 +1132,16 @@ L 550.8 365.160413 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1163,16 +1163,16 @@ L 550.8 357.834549 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1180,16 +1180,16 @@ L 550.8 350.508685 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1197,16 +1197,16 @@ L 550.8 343.182822 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1214,16 +1214,16 @@ L 550.8 335.856958 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1231,16 +1231,16 @@ L 550.8 328.531094 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1262,16 +1262,16 @@ L 550.8 321.205231 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1279,16 +1279,16 @@ L 550.8 313.879367 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1296,16 +1296,16 @@ L 550.8 306.553503 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1313,16 +1313,16 @@ L 550.8 299.227639 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1330,16 +1330,16 @@ L 550.8 291.901776 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1361,16 +1361,16 @@ L 550.8 284.575912 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1378,16 +1378,16 @@ L 550.8 277.250048 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1395,16 +1395,16 @@ L 550.8 269.924184 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1412,16 +1412,16 @@ L 550.8 262.598321 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1429,16 +1429,16 @@ L 550.8 255.272457 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1460,16 +1460,16 @@ L 550.8 247.946593 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1477,16 +1477,16 @@ L 550.8 240.62073 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1494,16 +1494,16 @@ L 550.8 233.294866 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1511,16 +1511,16 @@ L 550.8 225.969002 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1528,16 +1528,16 @@ L 550.8 218.643138 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1559,16 +1559,16 @@ L 550.8 211.317275 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1576,16 +1576,16 @@ L 550.8 203.991411 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1593,16 +1593,16 @@ L 550.8 196.665547 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1610,16 +1610,16 @@ L 550.8 189.339683 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1627,16 +1627,16 @@ L 550.8 182.01382 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1658,16 +1658,16 @@ L 550.8 174.687956 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1675,16 +1675,16 @@ L 550.8 167.362092 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1692,16 +1692,16 @@ L 550.8 160.036228 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1709,16 +1709,16 @@ L 550.8 152.710365 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1726,16 +1726,16 @@ L 550.8 145.384501 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1757,16 +1757,16 @@ L 550.8 138.058637 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1774,16 +1774,16 @@ L 550.8 130.732774 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1791,16 +1791,16 @@ L 550.8 123.40691 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1808,16 +1808,16 @@ L 550.8 116.081046 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1825,16 +1825,16 @@ L 550.8 108.755182 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1856,16 +1856,16 @@ L 550.8 101.429319 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1873,16 +1873,16 @@ L 550.8 94.103455 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1890,16 +1890,16 @@ L 550.8 86.777591 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1907,16 +1907,16 @@ L 550.8 79.451727 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1924,16 +1924,16 @@ L 550.8 72.125864 +" clip-path="url(#p7b33492dc5)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1951,10 +1951,110 @@ L 550.8 64.8 + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + @@ -2053,7 +2153,7 @@ L 550.8 480.6 L 550.8 64.8 " style="fill: none; stroke: #ffffff; stroke-linejoin: miter; stroke-linecap: square"/> - + @@ -2192,39 +2292,6 @@ L 2675 3117 z " transform="scale(0.015625)"/> - - - - + diff --git a/architecture/memory_clock.svg b/architecture/memory_clock.svg index f379707..1330e40 100644 --- a/architecture/memory_clock.svg +++ b/architecture/memory_clock.svg @@ -6,11 +6,11 @@ - 2024-03-09T19:41:24.639302 + 2024-08-16T18:39:22.912183 image/svg+xml - Matplotlib v3.6.3, https://matplotlib.org/ + Matplotlib v3.8.3, https://matplotlib.org/ @@ -42,16 +42,16 @@ z +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - - + @@ -141,11 +141,11 @@ z +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -246,11 +246,11 @@ z +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -348,11 +348,11 @@ z +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -404,11 +404,11 @@ z +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -430,11 +430,11 @@ L 213.040909 64.8 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -456,11 +456,11 @@ L 241.786364 64.8 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -482,11 +482,11 @@ L 270.531818 64.8 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -548,11 +548,11 @@ z +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -574,11 +574,11 @@ L 328.022727 64.8 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -600,11 +600,11 @@ L 356.768182 64.8 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -626,11 +626,11 @@ L 385.513636 64.8 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -652,11 +652,11 @@ L 414.259091 64.8 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -678,11 +678,11 @@ L 443.004545 64.8 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -775,11 +775,11 @@ z +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -801,11 +801,11 @@ L 500.495455 64.8 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -829,31 +829,31 @@ L 529.240909 64.8 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - - + - - + - - + + + + + + + + - + + + + @@ -889,16 +940,16 @@ z +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -906,16 +957,16 @@ L 550.8 419.284863 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -923,16 +974,16 @@ L 550.8 383.417807 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -940,32 +991,38 @@ L 550.8 357.969726 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + - - + + + + + - + + + + @@ -973,16 +1030,16 @@ L 550.8 338.230661 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -990,16 +1047,16 @@ L 550.8 322.10267 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1007,16 +1064,16 @@ L 550.8 308.466648 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1024,16 +1081,16 @@ L 550.8 296.654589 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1041,32 +1098,38 @@ L 550.8 286.235614 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + - - + + + + + - + + + + @@ -1074,16 +1137,16 @@ L 550.8 276.915524 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1091,16 +1154,16 @@ L 550.8 215.600387 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1108,16 +1171,16 @@ L 550.8 179.733331 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1125,32 +1188,38 @@ L 550.8 154.28525 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + - - + + + + + - + + + + @@ -1158,16 +1227,16 @@ L 550.8 134.546184 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1175,16 +1244,16 @@ L 550.8 118.418194 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1192,16 +1261,16 @@ L 550.8 104.782172 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1209,16 +1278,16 @@ L 550.8 92.970113 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1226,41 +1295,47 @@ L 550.8 82.551138 +" clip-path="url(#p30eff73cc4)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + - - + + + + + - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + @@ -1497,7 +1572,6 @@ Q 1734 442 1862 794 L 2675 3117 z " transform="scale(0.015625)"/> - - - + diff --git a/architecture/memory_latency.svg b/architecture/memory_latency.svg index 12c5030..ff91f61 100644 --- a/architecture/memory_latency.svg +++ b/architecture/memory_latency.svg @@ -6,11 +6,11 @@ - 2024-03-09T19:41:24.785734 + 2024-08-16T18:39:23.040253 image/svg+xml - Matplotlib v3.6.3, https://matplotlib.org/ + Matplotlib v3.8.3, https://matplotlib.org/ @@ -42,16 +42,16 @@ z +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - - + @@ -158,11 +158,11 @@ z +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -237,11 +237,11 @@ z +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -338,11 +338,11 @@ z +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -378,11 +378,11 @@ z +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -404,11 +404,11 @@ L 218.388901 64.8 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -454,11 +454,11 @@ z +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -521,11 +521,11 @@ z +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -547,11 +547,11 @@ L 308.636258 64.8 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -573,11 +573,11 @@ L 338.71871 64.8 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -599,11 +599,11 @@ L 368.801163 64.8 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -625,11 +625,11 @@ L 398.883615 64.8 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -651,11 +651,11 @@ L 428.966068 64.8 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -677,11 +677,11 @@ L 459.04852 64.8 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -703,11 +703,11 @@ L 489.130973 64.8 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -731,26 +731,26 @@ L 519.213425 64.8 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - - + - - + @@ -758,16 +758,16 @@ L 3.5 0 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -775,30 +775,83 @@ L 550.8 467.60625 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + - - + + + + + + + + + + - + + + + @@ -806,16 +859,16 @@ L 550.8 454.6125 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -823,16 +876,16 @@ L 550.8 441.61875 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -840,16 +893,16 @@ L 550.8 428.625 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -857,16 +910,16 @@ L 550.8 415.63125 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -874,30 +927,36 @@ L 550.8 402.6375 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + - - + + + + + - + + + + @@ -905,16 +964,16 @@ L 550.8 389.64375 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -922,16 +981,16 @@ L 550.8 376.65 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -939,16 +998,16 @@ L 550.8 363.65625 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -956,16 +1015,16 @@ L 550.8 350.6625 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -973,30 +1032,36 @@ L 550.8 337.66875 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + - - + + + + + - + + + + @@ -1004,16 +1069,16 @@ L 550.8 324.675 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1021,16 +1086,16 @@ L 550.8 311.68125 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1038,16 +1103,16 @@ L 550.8 298.6875 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1055,16 +1120,16 @@ L 550.8 285.69375 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1072,30 +1137,36 @@ L 550.8 272.7 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + - - + + + + + - + + + + @@ -1103,16 +1174,16 @@ L 550.8 259.70625 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1120,16 +1191,16 @@ L 550.8 246.7125 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1137,16 +1208,16 @@ L 550.8 233.71875 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1154,16 +1225,16 @@ L 550.8 220.725 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1171,30 +1242,36 @@ L 550.8 207.73125 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + - - + + + + + - + + + + @@ -1202,16 +1279,16 @@ L 550.8 194.7375 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1219,16 +1296,16 @@ L 550.8 181.74375 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1236,16 +1313,16 @@ L 550.8 168.75 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1253,16 +1330,16 @@ L 550.8 155.75625 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1270,30 +1347,36 @@ L 550.8 142.7625 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + - - + + + + + - + + + + @@ -1301,16 +1384,16 @@ L 550.8 129.76875 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1318,16 +1401,16 @@ L 550.8 116.775 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1335,16 +1418,16 @@ L 550.8 103.78125 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1352,16 +1435,16 @@ L 550.8 90.7875 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + @@ -1369,37 +1452,43 @@ L 550.8 77.79375 +" clip-path="url(#p5bfe3102cf)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - + - - + + + + + - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + @@ -1634,7 +1723,6 @@ Q 1734 442 1862 794 L 2675 3117 z " transform="scale(0.015625)"/> - - - + diff --git a/benchmark_low_level/bandwidth-cpu4.svg b/benchmark_low_level/bandwidth-cpu4.svg deleted file mode 100644 index b9d228c..0000000 --- a/benchmark_low_level/bandwidth-cpu4.svg +++ /dev/null @@ -1,1721 +0,0 @@ - - - - - - - - 2024-08-11T00:38:33.367447 - image/svg+xml - - - Matplotlib v3.8.3, https://matplotlib.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/benchmark_low_level/bandwidth-t14.svg b/benchmark_low_level/bandwidth-t14.svg index 31d8601..cc99a94 100644 --- a/benchmark_low_level/bandwidth-t14.svg +++ b/benchmark_low_level/bandwidth-t14.svg @@ -6,7 +6,7 @@ - 2024-08-11T01:06:13.801419 + 2024-08-16T18:58:33.224677 image/svg+xml @@ -42,16 +42,16 @@ z +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - - + @@ -165,11 +165,11 @@ z +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -200,11 +200,11 @@ z +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -219,11 +219,11 @@ L 139.124026 64.8 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -259,11 +259,11 @@ z +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -319,11 +319,11 @@ z +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -371,11 +371,11 @@ z +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -425,11 +425,11 @@ z +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -445,11 +445,11 @@ L 241.786364 64.8 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -466,11 +466,11 @@ L 262.318831 64.8 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -487,11 +487,11 @@ L 282.851299 64.8 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -508,11 +508,11 @@ L 303.383766 64.8 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -545,11 +545,11 @@ z +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -564,11 +564,11 @@ L 344.448701 64.8 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -583,11 +583,11 @@ L 364.981169 64.8 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -602,11 +602,11 @@ L 385.513636 64.8 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -622,11 +622,11 @@ L 406.046104 64.8 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -642,11 +642,11 @@ L 426.578571 64.8 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -662,11 +662,11 @@ L 447.111039 64.8 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -683,11 +683,11 @@ L 467.643506 64.8 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -704,11 +704,11 @@ L 488.175974 64.8 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -725,11 +725,11 @@ L 508.708442 64.8 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -962,22 +962,36 @@ z +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - - + - - + + + + + + + + + + @@ -985,16 +999,16 @@ L -3.5 0 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - - + + + + + + + @@ -1027,18 +1046,23 @@ z +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - - + + + + + + + @@ -1046,18 +1070,23 @@ L 550.8 376.65 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - - + + + + + + + @@ -1065,18 +1094,23 @@ L 550.8 324.675 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - - + + + + + + + @@ -1084,18 +1118,23 @@ L 550.8 272.7 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - - + + + + + + + @@ -1103,18 +1142,23 @@ L 550.8 220.725 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - - + + + + + + + @@ -1122,18 +1166,23 @@ L 550.8 168.75 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - - + + + + + + + @@ -1141,25 +1190,30 @@ L 550.8 116.775 +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #00008b; stroke-opacity: 0.4; stroke-width: 1.5; stroke-linecap: square"/> +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #00008b; stroke-opacity: 0.4; stroke-width: 1.5; stroke-linecap: square"/> +" clip-path="url(#pe2eb61778b)" style="fill: none; stroke: #00008b; stroke-opacity: 0.4; stroke-width: 1.5; stroke-linecap: square"/> - - + @@ -1648,7 +1695,7 @@ z - + @@ -1665,7 +1712,7 @@ z - + diff --git a/benchmark_low_level/latency-cpu4.svg b/benchmark_low_level/latency-cpu4.svg deleted file mode 100644 index 6a4590f..0000000 --- a/benchmark_low_level/latency-cpu4.svg +++ /dev/null @@ -1,1796 +0,0 @@ - - - - - - - - 2024-08-11T00:38:33.451789 - image/svg+xml - - - Matplotlib v3.8.3, https://matplotlib.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/benchmark_low_level/latency-t14.svg b/benchmark_low_level/latency-t14.svg index d31e7b5..469c577 100644 --- a/benchmark_low_level/latency-t14.svg +++ b/benchmark_low_level/latency-t14.svg @@ -6,7 +6,7 @@ - 2024-08-11T01:06:13.942142 + 2024-08-16T18:58:33.332734 image/svg+xml @@ -42,16 +42,16 @@ z +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - - + @@ -165,11 +165,11 @@ z +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -200,11 +200,11 @@ z +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -240,11 +240,11 @@ z +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -300,11 +300,11 @@ z +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -352,11 +352,11 @@ z +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -406,11 +406,11 @@ z +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -426,11 +426,11 @@ L 241.786364 64.8 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -447,11 +447,11 @@ L 262.318831 64.8 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -468,11 +468,11 @@ L 282.851299 64.8 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -489,11 +489,11 @@ L 303.383766 64.8 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -526,11 +526,11 @@ z +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -545,11 +545,11 @@ L 344.448701 64.8 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -564,11 +564,11 @@ L 364.981169 64.8 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -583,11 +583,11 @@ L 385.513636 64.8 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -603,11 +603,11 @@ L 406.046104 64.8 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -623,11 +623,11 @@ L 426.578571 64.8 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -643,11 +643,11 @@ L 447.111039 64.8 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -664,11 +664,11 @@ L 467.643506 64.8 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -685,11 +685,11 @@ L 488.175974 64.8 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -706,11 +706,11 @@ L 508.708442 64.8 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -943,22 +943,46 @@ z +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - - + - - + + + + + + + + @@ -966,11 +990,11 @@ L -3.5 0 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -978,11 +1002,11 @@ L 550.8 426.203372 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -990,11 +1014,11 @@ L 550.8 394.383385 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -1002,11 +1026,20 @@ L 550.8 371.806744 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + + + + + + + + + + @@ -1014,11 +1047,11 @@ L 550.8 354.294942 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -1026,11 +1059,11 @@ L 550.8 339.986757 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -1038,11 +1071,11 @@ L 550.8 327.889359 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -1050,11 +1083,11 @@ L 550.8 317.410117 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -1062,16 +1095,16 @@ L 550.8 308.16677 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - - - + + + + + + @@ -1104,11 +1140,11 @@ z +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -1116,11 +1152,11 @@ L 550.8 245.501686 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -1128,11 +1164,11 @@ L 550.8 213.681699 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -1140,11 +1176,21 @@ L 550.8 191.105058 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + + + + + + + + + + + @@ -1152,11 +1198,11 @@ L 550.8 173.593256 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -1164,11 +1210,11 @@ L 550.8 159.285071 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -1176,11 +1222,11 @@ L 550.8 147.187673 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -1188,11 +1234,11 @@ L 550.8 136.708431 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + @@ -1200,19 +1246,22 @@ L 550.8 127.465083 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - - - + + + + + + @@ -1220,105 +1269,107 @@ L 550.8 119.196628 +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #ffffff; stroke-width: 0.8; stroke-linecap: square"/> - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +" clip-path="url(#p42017ee748)" style="fill: none; stroke: #00008b; stroke-opacity: 0.4; stroke-width: 1.5; stroke-linecap: square"/> - + @@ -1377,7 +1428,7 @@ z - + @@ -1388,7 +1439,7 @@ z - + @@ -1399,7 +1450,7 @@ z - + @@ -1520,25 +1571,6 @@ L 594 3500 L 594 4494 L 1172 4494 z -" transform="scale(0.015625)"/> - - + - + - + @@ -1707,12 +1739,12 @@ z - + - + - + @@ -1762,7 +1794,7 @@ z - + diff --git a/benchmark_low_level/plot.py b/benchmark_low_level/plot.py index 981d298..621f00d 100644 --- a/benchmark_low_level/plot.py +++ b/benchmark_low_level/plot.py @@ -31,9 +31,9 @@ def get_labels(x): line = np.linspace(1, 10, 9, endpoint=False) yticks = list(line)+list(line*10)+list(line[:2]*100) -ylabels = (1, 10, 100) -ticks = {'l': (yticks, [str(int(i)) if i in ylabels else '' for i in yticks]), - 'bw': (range(5,46,5), range(5,46,5)), +ylabels = {1 : '1 ns', 5 : '5 ns', 10 : '10 ns', 50 : '50 ns', 100: '100 ns'} +ticks = {'l': (yticks, [ylabels[i] if i in ylabels else '' for i in yticks]), + 'bw': (range(5,46,5), [f'{i} GB/s' for i in range(5,46,5)]), } # manually set limits, to disable set to ylim = None @@ -81,6 +81,10 @@ for type_ in ('bw', 'l'): xlabels = get_labels(x1) plt.figure(figsize=(8.5,7.5)) + if type_ == 'l': + # plot two empy plots so we advance the color cyle (bad trick) + _ = plt_func([],[]) + _ = plt_func([],[]) p1, = plt_func(x1, y1, 'o') plt.ylabel(ylabel) plt.xlabel(xlabel)