Benchmarking: b eff

From Define Wiki
Jump to navigation Jump to search

Benchmark


Build

Built using the following:

[david@head-boston b_eff]$ module load openmpi/gcc/64/1.6.5-mlnx-ofed
[david@head-boston b_eff]$ which mpicc 
/usr/mpi/gcc/openmpi-1.6.5/bin/mpicc

Command to build:

  mpicc -o b_eff -DMEMORY_PER_PROCESSOR=1024 b_eff.c -lm

Run

Standard mpirun, no flags required

[david@compute001 b_eff]$ mpirun -np 2 ./b_eff 
b_eff =   2811.608 MB/s = 1405.804 *   2 PEs with 1024 MB/PE on Linux compute001 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed Oct 16 18:37:12 UTC 2013 x86_64

Output

Each run of the benchmark on a particular system results in a set of output files. (Default prefix is b_eff.)

  • b_eff.prot a detailed protocol
  • b_eff.short a short version of the protocol
  • b_eff.sum a short overview
  • b_eff.plot a file with data for plotting
  • b_eff.gps a script for gnuplot
  • b_eff.tex a LaTeX source file to create a benchmark report

With only 3-steps you can create a nice benchmark report with charts. What you need is:

  • Gnuplot (version 3.7 or newer)
  • an installation of LaTeX
  • b_eff.plot b_eff.gps b_eff.tex

Commands:

 
          gnuplot b_eff.gps
          latex b_eff.tex
          dvips b_eff.dvi