Skip to content

A library for building an in-memory, Adaptive Learned indEX

License

Notifications You must be signed in to change notification settings

illinoisdata/ALEX_ext

 
 

Repository files navigation

Benchmark Instruction

This is an instruction to benchmark ALEX for experiments in AirIndex: Versatile Index Tuning Through Data and Storage.

Please follow dataset and query key set instructions to setup the benchmarking environment. These are examples of environment reset scripts. The following assumes that the datasets are under /path/to/data/, key sets are under /path/to/keyset/ , indexes output are under /path/to/build_output and benchmark measurements output are under /path/to/benchmark_output

Build

To build the binaries

git submodule init
git submodule update --recursive
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make kv_build kv_benchmark
cd ..

To build indexes for all datasets

bash alex-build.sh /path/to/data /path/to/build_output 

Built indexes will be stored in /path/to/build_output folder

Benchmark (6.2 & 6.4)

Benchmark over 40 key set of 1M keys

bash alex-benchmark.sh /path/to/build_output /path/to/keyset /path/to/benchmark_output ~/reload_local.sh

The measurements will be recorded in /path/to/output folder.

About

A library for building an in-memory, Adaptive Learned indEX

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.8%
  • Other 1.2%