Repository for the paper "FreSh: Lock-Free Index for Sequence Similarity Search", Panagiota Fatourou, Eleftherios Kosmas, Themis Palpanas, George Paterakis. Under review, VLDB 2022.
FreSh is the the first lock-free (thus, highly fault-tolerant) data series index that exhibits the same performance as the state-of-the-art lock-based in-memory indexes.
To compile FreSh, use:
cd ads/
autoreconf
chmod u+x configure
./configure
automake
make
Create required folders
mkdir results
mkdir perf
Install jemalloc (for better performance) following the instructions here: 'https://github.com/jemalloc/jemalloc/blob/dev/INSTALL.md'
The main parameters of FreSh are listed below:
--timeseries-size [<int>]
(default: 256)
--dataset [<string>]
--dataset-size [<int>]
--queries [<string>]
--queries-size [<int>]
--leaf-size [<int>]
--initial-lbl-size
--min-leaf-size
--flush-limit
--in-memory
--cpu-type [<int>]
: defines the number of threads
--function-type [<int>]
: defines the algorithm to run
--ts-group-length [<int>]
--backoff-power [<int>]
: setting it to -1
disables backoff
./bin/ads --dataset "/spare/ekosmas/Datasets/Random/dataset100GB.bin" --dataset-size "104857600" --queries "/spare/ekosmas/Datasets/Random/query100.bin" --queries-size "100" --leaf-size 2000 --initial-lbl-size 2000 --min-leaf-size 2000 --flush-limit 1000000 --in-memory --cpu-type 80 --function-type 999777013 --ts-group-length 512 --backoff-power -1
./bin/ads --dataset "/spare/ekosmas/Datasets/Sift/sift_len_128.bin" --dataset-size "104857600" --queries "/spare/ekosmas/Datasets/Sift/queries_size100_sift.bin" --queries-size "100" --leaf-size 2000 --initial-lbl-size 2000 --min-leaf-size 2000 --flush-limit 1000000 --in-memory --cpu-type 40 --function-type 999777013 --ts-group-length 512 --backoff-power 100000 --timeseries-size 128
Panagiota Fatourou, Professor, University of Crete, ICS-FORTH, University of Paris and LIPADE ([email protected])
Eleftherios Kosmas, Postdoctoral Researcher, University of Crete and ICS-FORTH ([email protected])
Themis Palpanas, Professor, University of Paris and LIPADE ([email protected])
George Paterakis, Student, University of Crete and ICS-FORTH ([email protected])
This code is provided under the LGPL-2.1 License
FreSh is developed under the Platon research project.