This tool provides a microbenchmarking suit to undestand the design of CUDA-capable GPGPUs in handling outstanding memory requests. Refer to  to read the methodology.
steps to run the benchmarks:
Modify the Makefile and set CUDAHOME to the CUDA root. (notice: $CUDAHOME/bin/nvcc should be valid)
Compile OpenACC library (This library is outsourced from IPMACC project):
$ make openacc
Modify run_single_config.sh file and set destination CUDA GPU:
optional: modify the run_all_config.sh file and specify the range of threads, loads per threads, and memory patterns.
$ bash ./run_all_config.sh
raw results will be stored in the log/data*.spc. In each file, each row reports the times measured for certains number of threads. There three independent runs are reported. Eeach run reports the numbers measured by up to 16 concurrent warps.
post-process the data and retrieve latency/variance correponding to each thread by running auxil/calcvar.py:
$ python calcvar.py -f log/data_2merged_2loads.spc
processed output will be stored at the same location with the suffix of .csv. Plot the data with your favorite visualizing tool, e.g. gnuplot.
since run_single_config.sh appends the output to the file, it is recommended to clear the last run log before every run (using
make clean command)
Author: Ahmad Lashgar
Affiliation: University of Victoria
- We assume the cache hierarchy is not blocking.
- For GPUs with L2 cache (Fermi and above), all memory requests are served from L2, if the size of data on the GPU DRAM is lower than the cache size. In this case, to conclude the saturation of outstanding memory handling resources, the size of L2 cache must be consider, since some variations in the delay may correspond to L2 cache misses. In our evaluations in , we kept the data size always below 560K.
 Ahmad Lashgar, Ebad Salehi, and Amirali Baniasadi. Understanding Outstanding Memory Request Handling Resources in GPGPUs. To be appeared in The Sixth International Symposium on Highly Efficient Accelerators and Reconfigurable Technologies (HEART). Boston MA, USA, June 1-2, 2015.