Difference between revisions of "OpenMP/Benchmarks"

From GRASS-Wiki
Jump to: navigation, search
m (Neighborhood analysis)
(Neighborhood analysis)
Line 3: Line 3:
 
Performance using OpenMP and different compilers:
 
Performance using OpenMP and different compilers:
 
  source|svn/sandbox/soeren/benchmarks/neighborhood_openmp/
 
  source|svn/sandbox/soeren/benchmarks/neighborhood_openmp/
 +
 +
Best to run it 4 times for each case, discard the first and average the next 3.
 +
 +
Example usage:
 +
unset OMP_NUM_THREADS
 +
time ./neighbor 5000 5000 23
 +
 +
export OMP_NUM_THREADS=1
 +
time ./neighbor 5000 5000 23
 +
 +
...
 +
 +
export OMP_NUM_THREADS=6
 +
time ./neighbor 5000 5000 23
  
  

Revision as of 17:00, 23 July 2013

Neighborhood analysis

Performance using OpenMP and different compilers:

source|svn/sandbox/soeren/benchmarks/neighborhood_openmp/

Best to run it 4 times for each case, discard the first and average the next 3.

Example usage:

unset OMP_NUM_THREADS
time ./neighbor 5000 5000 23

export OMP_NUM_THREADS=1
time ./neighbor 5000 5000 23

...

export OMP_NUM_THREADS=6
time ./neighbor 5000 5000 23


results table:

CPU Number of cores OMP NUM THREADS Time "real" Time "user" Time "sys" Compiler Compiler version OS System RAM
Intel i7 3770 4 real (8 w/ hyperthread) unset (all) example entry gcc 4.4.8 Ubuntu 12.04 8 gb