giorgi128 / KLSM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kpqueue

This repository hosts development of a stand-alone version of the lock-free Wimmer k-priority queue (pheet.org).

Running benchmarks

Several benchmarking tools are provided, with the most heavily used and maintained one being the random throughput benchmark (src/bench/random.cpp). The simplest way to run benchmarks is by using the provided wrapper script:

$ make && ./bench.py -a klsm128,klsm256 -p 1,2,3,5,10,15,20 -r 5 -o results.csv

Figures can then be generated by running:

$ Rscript misc/plot.R results.csv && ls -lha fig.png

Dependencies are of course required but should be simple to determine either from error messages or the scripts themselves. Most scripts and binaries may be called with the standard '-h' argument for help.

About

License:GNU General Public License v3.0


Languages

Language:C++ 56.1%Language:C 42.2%Language:CMake 0.5%Language:Python 0.4%Language:Makefile 0.3%Language:R 0.3%Language:Shell 0.1%