This commit is contained in:
Carl Pearson
2017-05-04 20:36:58 -05:00
parent 74664b43a4
commit c2b90958c4
7 changed files with 22 additions and 5 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 143 KiB

View File

@@ -26,22 +26,39 @@ 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(x_pos, [i/j for i,j in zip(mlfmm,num)], color='gray', log=True)
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)
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)
ax.set_xticks(x_pos)
ax.set_xticklabels(systems)
ax.set_ylabel("Per-MLFMM Execution Time (ms)")
plt.ylim([1, 1e5])
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
# path="figures/mlfmm_minsky"
path="figures/mlfmm_minsky"
# fig, ax = plt.subplots()
# systems = ('1T', "160T", "1 GPU" ,"4 GPU")
# mlfmm = (1.25e6, 4.71e4, 5.22e3, 1.29e3)
@@ -57,7 +74,7 @@ print path
# plt.savefig(path+'.png', dpi=DPI)
# print path
path="figures/mlfmm_minsky"
# fig, ax = plt.subplots()
# systems = ('1T', "160T", "1 GPU" ,"4 GPU")
# mlfmm = [1.25e6, 4.71e4, 5.22e3, 1.29e3]
@@ -84,7 +101,7 @@ ax2 = ax.twinx()
sns.barplot(x_pos,
[mlfmm[0] / i for i in mlfmm],
color="LightGray", ax=ax2, log=True)
ax2.set_ylabel("Speedup")
ax2.set_ylabel("Speedup over 1T")
new_width = 0.25