Implementing Lookahead Information Passing on GPU.
crystal/bloom.cuhcontains the newly added bloom filter primitives.src/ops/bloom.cucontains the test for the bloom filter implementation.src/ops/bloom_join.cucontains our single join benchmark.src/jo_q33/*-{naive,lip}.cucontains our SSB Q3.3 join order robustness benchmark.
Run the following command to compile the ssb-jo benchmark.
make ssb-jo
Run the following command to execute the ssb-jo benchmark:
sh run_ssb_jo.sh
The Crystal-Opt library makes additional changes to the original Crystal library for better performance. The original Crystal library implements a collection of block-wide device functions that can be used to implement high performance implementations of SQL queries on GPUs.
You can also refer to the original Crystal library and their papers here.
# Generate the test data and transform into columnar layout
# Substitute <SF> with appropriate scale factor (eg: 1)
python util.py ssb <SF> gen
python util.py ssb <SF> transform
- Configure the benchmark settings
cd src/ssb/
# Edit SF and BASE_PATH in ssb_utils.h
- To run a query, say run q11
make bin/ssb/q11
./bin/ssb/q11