This commit is contained in:
Carl Pearson
2017-05-04 20:49:47 -05:00
parent c2b90958c4
commit 6edd1b3635
8 changed files with 5 additions and 20 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 KiB

After

Width:  |  Height:  |  Size: 143 KiB

View File

@@ -11,8 +11,8 @@ DPI=600
path = 'figures/cpu_matvec'
fig, ax = plt.subplots()
systems = ('BW (32T)', "Minsky (160T)")
mlfmm = (8.65e4, 4.71e4)
total = (1.2e5, 5.6e4)
mlfmm = (8.65e4, 4.84e4)
total = (1.2e5, 5.77e4)
x_pos = np.arange(len(systems))
ax.bar(x_pos, mlfmm, color='gray')
ax.bar(x_pos, [i-j for i,j in zip(total, mlfmm)], color='lightgray', bottom=mlfmm )
@@ -26,34 +26,19 @@ print path
path='figures/mlfmm_bw'
# fig, ax = plt.subplots()
# systems = ('1T', "32T", "1 GPU" ,"4 GPU", "16 GPU")
# mlfmm = (1.50e6, 8.64e4, 2.78e4, 7.01e3, 1.89e3)
# num = (45,45,45,45,47)
# x_pos = np.arange(len(systems))
# ax.bar(x_pos, [i/j for i,j in zip(mlfmm,num)], color='gray', log=True)
# ax.set_xticks(x_pos)
# ax.set_xticklabels(systems)
# ax.set_ylabel("Per-MLFMM Execution Time (ms)")
# plt.ylim([1, 1e5])
# # ax.set_title('How fast do you want to go today?')
# plt.savefig(path+'.pdf')
# plt.savefig(path+'.png', dpi=DPI)
# print path
width=0.25
fig, ax = plt.subplots()
systems = ('1T', "32T", "1 GPU" ,"4 GPU", "16 GPU")
mlfmm = (1.50e6, 8.64e4, 2.78e4, 7.01e3, 1.89e3)
num = (45,45,45,45,47)
x_pos = np.arange(len(systems))
ax.bar([p-width/2 for p in x_pos], [i/j for i,j in zip(mlfmm,num)], color='lightgray', log=True, width=0.25)
ax.bar([p-width/2 for p in x_pos], [i/j for i,j in zip(mlfmm,num)], color='darkgray', log=True, width=0.25)
ax2=ax.twinx()
ax2.bar([p+width/2 for p in x_pos], [mlfmm[0] / i for i in mlfmm], color='darkgray', log=True, width=0.25)
ax2.bar([p+width/2 for p in x_pos], [mlfmm[0] / i for i in mlfmm], color='lightgray', log=True, width=0.25)
ax.set_xticks(x_pos)
ax.set_xticklabels(systems)
ax.set_ylabel("Per-MLFMM Execution Time (ms)")
ax2.set_ylabel("Speedup over 1T")
# ax.set_title('How fast do you want to go today?')
plt.savefig(path+'.pdf')
plt.savefig(path+'.png', dpi=DPI)
print path
@@ -88,7 +73,7 @@ path="figures/mlfmm_minsky"
width = 10
fig, ax = plt.subplots()
systems = ('1T', "160T", "1 GPU" ,"4 GPU")
mlfmm = [1.25e6, 4.71e4, 5.22e3, 1.29e3]
mlfmm = [1.25e6, 4.84e4, 5.22e3, 1.29e3]
num = (44,44,44,44)
x_pos = [0,1,2,3]
sns.barplot(x_pos,