RCL Microbenchmark
==================
(C) Jean-Pierre Lozi, Gaël Thomas, Julia Lawall, Gilles Muller, 2011

Building the liblock
--------------------

1. Enter the liblock directory
2. Run 'make'

Building the microbenchmark
---------------------------

In order to build the microbenchmark, PAPI (http://icl.cs.utk.edu/papi/) must be installed on your system.

1. Enter the microbenchmark directory
2. Run 'make'

Running the benchmark
---------------------

To run the latencies test: ./latencies.sh
To run the DCM (data cache misses) test: ./dcm_clients.sh
To run the DCM test on the server core (RCL only): ./dcm_server.sh

The results will be output to the results/ directory. Alternatively, you can unpack the provided archive.

To plot the results:
Latencies: ./plot_dcm.sh | gnuplot > dcm.pdf
DCMs:      ./plot_latencies.sh | gnuplot > latencies.pdf

