This project conducts a benchmark of memory and graph algorithms. It compares DRAM against persistent memory, PMEM.
Linux OS
C++14 compliant compiler. (g++ 7.5.0 was used for this project)
PDMK (libpmem 1.1)
To build the program:
user@dir:~$ make
To build in debug mode:
user@dir:~$ make debug
Make sure to clean when switching between release and debug
To build the assembly:
user@dir:~$ make assembly
To run the program, run:
user@dir:~$ ./run.sh
The script run.sh contains the input parameters for the program. The machined used for experiementation required certain OMP environment variables to be set, please modify as required.
The output of the program will be printed to the console as well as saved in a directory. A directory under ./output/ will be created based on the time the script was started. Then, all output will be saved to output.txt. The program will also generate csv files containing the metrics for each benchmark. The average results are reported. For the graph benchmarks, the units are TEPS in Millions. For the memory benchmarks, the units are specified in the file.
To delete all built files, run:
user@dir:~$ make clean