Skip to content

Commit

Permalink
Update OMP benchmarking results
Browse files Browse the repository at this point in the history
  • Loading branch information
e-dang committed Jun 30, 2020
1 parent 93a2bb0 commit 2cdcfe8
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
7 changes: 7 additions & 0 deletions results/data/omp_coreset_optlloyd_14.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
num threads = 14
Method: optk++
Parallelism: omp
Coreset: 1
Data: /u/home/e/ericdang/Kmeans/data/data_1000000_10_50.txt
0.736452s wall, 5.670000s user + 0.020000s system = 5.690000s CPU (772.6%)
Error: 1.00084e+07
6 changes: 6 additions & 0 deletions results/data/omp_optlloyd_14.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Method: optk++
Parallelism: omp
Coreset: 0
Data: /u/home/e/ericdang/Kmeans/data/data_1000000_10_50.txt
3.321027s wall, 33.230000s user + 0.020000s system = 33.250000s CPU (1001.2%)
Error: 1.00041e+07
8 changes: 4 additions & 4 deletions results/plot_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ def parse_method(filename):
if __name__ == "__main__":
times = parse_times()

# opt_serial, opt_parallel = plot_times(times, OMP, OPTLLOYD, SERIAL_COLOR2, PARALLEL_COLOR2)
opt_serial, opt_parallel = plot_times(times, OMP, OPTLLOYD, SERIAL_COLOR2, PARALLEL_COLOR2)
# opt_coreset_serial, opt_coreset_parallel = plot_times(
# times, OMP, OPTLLOYD, SERIAL_COLOR1, PARALLEL_COLOR1, coreset=True)

opt_serial, opt_parallel = plot_times(times, MPI, OPTLLOYD, SERIAL_COLOR2, PARALLEL_COLOR2)
# opt_serial, opt_parallel = plot_times(times, MPI, OPTLLOYD, SERIAL_COLOR2, PARALLEL_COLOR2)
# opt_coreset_serial, opt_coreset_parallel = plot_times(
# times, MPI, OPTLLOYD, SERIAL_COLOR1, PARALLEL_COLOR1, coreset=True)

Expand All @@ -135,7 +135,7 @@ def parse_method(filename):

plt.legend(handles=[opt_serial, opt_parallel], loc='center', bbox_to_anchor=(0.825, 0.75))
# plt.legend(handles=[opt_coreset_serial, opt_coreset_parallel], loc='center', bbox_to_anchor=(0.825, 0.75))
plt.title('MPI OptLloyd KMeans')
plt.title('OMP OptLloyd KMeans')
plt.tight_layout()
# plt.show()
plt.savefig('mpi_optlloyd.png', dpi=1400)
plt.savefig('omp_optlloyd.png', dpi=1400)
Binary file modified results/plots/omp_optlloyd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/plots/omp_optlloyd_coreset.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2cdcfe8

Please sign in to comment.