You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Though this line is directly copied from ycsb, it neglects the fact that ZETAN is determined by the num_keys_ and ZIPFIAN_CONSTANT.
In ycsb's implementation, the num_keys_ is also fixed, so the ZETAN can be a constant. See:
Using a fnv1a-32 is not consistent with yscb (fnv1a-64). It may cause hash collision and make keyspace not fully-covered when num_keys_ is closed with 2^32-1.
The text was updated successfully, but these errors were encountered:
ZETAN is not a constant
ALEX/src/benchmark/zipf.h
Line 10 in 4370da6
Though this line is directly copied from ycsb, it neglects the fact that ZETAN is determined by the num_keys_ and ZIPFIAN_CONSTANT.
In ycsb's implementation, the num_keys_ is also fixed, so the ZETAN can be a constant. See:
https://github.com/brianfrankcooper/YCSB/blob/dbe92a1fbd24be061fcf01e56838afb83e6f9c58/core/src/main/java/site/ycsb/generator/ScrambledZipfianGenerator.java#L35
https://github.com/brianfrankcooper/YCSB/blob/dbe92a1fbd24be061fcf01e56838afb83e6f9c58/core/src/main/java/site/ycsb/generator/ZipfianGenerator.java#L244
Hash function's keyspace may be too small
ALEX/src/benchmark/zipf.h
Line 60 in 4370da6
Using a fnv1a-32 is not consistent with yscb (fnv1a-64). It may cause hash collision and make keyspace not fully-covered when num_keys_ is closed with 2^32-1.
The text was updated successfully, but these errors were encountered: