GAP Benchmark Suite¶
You can run the reference implementation of the GAP (Graph Algorithm Performance) Benchmark Suite. We provide scripts that cross-compile the graph kernels for RISCV.
For more information about the benchmark itself, please refer to the site: http://gap.cs.berkeley.edu/benchmark.html
- Only the Kron input graph is currently supported.
- Benchmark uses
graph500input graph size of 2^20 vertices by default.
testinput size has 2^10 vertices and can be used by specifying an argument into make:
make gapbs input=test
- The reference input size with 2^27 verticies is not currently supported.
By default, the gapbs workload definition runs the benchmark multithreaded with number of threads equal to the number of cores. To change the number of threads, you need to edit
firesim/deploy/workloads/runscripts/gapbs-scripts/gapbs.sh. Additionally, the workload does not verify the output of the benchmark by default. To change this, add a
--verify parameter to the json.
To Build Binaries and RootFSes:
cd firesim/deploy/workloads/ make gapbs
Run Resource Requirements:
f1_16xlarges=0 m4_16xlarges=0 f1_2xlarges=6
./run-workload.sh workloads/gapbs.ini --withlaunch
Simulation times are host and target dependent. For reference, on a
four-core rocket-based SoC with a DDR3 + 1 MiB LLC model, with a 90
MHz host clock,
graph500 input sizes finish in a few minutes.