Skip to content

lemolatoon/ebi

Repository files navigation

EBI

Float Compressions and Original File Format for databases

Currently under developments.

Reporoducing the results

About SIMD

Configure target cpu by setting envvars when building:

AVX2:

$ RUSTFLAGS="-C target-cpu=haswell" TARGET_CPU=haswell cargo build --release

AVX512: (if your CPU supports)

$ RUSTFLAGS="-C target-cpu=native" TARGET_CPU=native cargo build --release

[De]Compression and Queries

Ensure that your datasets are in the DATA_DICT

# create binary files from csv
$ cargo run --bin csv2bin --release -- "DATA_DICT/*"
$ cd experimenter
# create directory for saving experiment checkpoints
$ mkdir save compressor_configs data/filter_config
$ sudo ../target/release/experimenter all -c compressor_configs --exact-precision -f DATA_DICT/filter_config -b DATA_DICT/binary --create-config --n 10 --in-memory -s save

Results will be saved in DATA_DICT/result

1-NN on UCRArchive_2018

$ cd experimenter
$ sudo ../target/release/experimenter -i DATA_DICT/UCRArchive_2018/ ucr2018 -o DATA_DICT

Results will be saved in DATA_DICT/result

Matrix Multiplication with CUDA

$ cd experimenter
$ cargo build --release --features=cuda # Please also specify your RUSTFLAGS and TARGET_CPU
$ sudo ../target/release/experimenter matrix-cuda -o OUTDIR

embeddings

$ cd experimenter
$ sudo ../target/release/experimenter -i DATA_DICT embedding -o DATA_DICT

Results will be saved in DATA_DICT/result

TPC-H

$ cd tools
$ uv run gen-tpch.py # generate files on tools/tpch_data/
$ cd experimenter
$ sudo ../target/release/experimenter tpch -i DATA_DIR -o OUT_DIR

Results will be saved in OUT_DIR/tpch

Plotting

See tools/README.md.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributions

By contributing to this project, you agree that your contributions will be licensed under the MIT License, unless you explicitly state otherwise in your submission.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published