-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paired-Bloom-Filter: Balancing rounding to batches between the bottom-most level and other levels #369
Comments
What is the compatibility with existing tables? Can the original code read the new filter? Historically, RocksDB version X can read files written by version X+Y. If it cannot, there will be an error thrown (like unknown version). |
@mrambacher the code that was changed was only the filter builder code, the reader code is the same as the previous version so if someone created a bloom filter with the previous version and wants to read it with the new version there should be no problem. I will push today a clean version which is based on the current main. |
Test show the same performance |
…most level and rest of the levels (#369)
@noamhaham did you had the code review? |
Moving for QA before additional perf test. |
@erez-speedb Yes it was reviewed by Udi |
…most level and rest of the levels (#369)
…most level and rest of the levels (#369)
@Yuval-Ariel - Why did you assign to me? |
since blackbox failed |
failure seems related to 61974b1 , https://github.com/speedb-io/speedb/actions/runs/4155651486/jobs/7189154145#step:6:573 . |
…most level and rest of the levels (#369)
…most level and rest of the levels (#369)
…most level and rest of the levels (#369)
…most level and rest of the levels (#369)
…most level and rest of the levels (#369)
…most level and rest of the levels (#369)
…most level and rest of the levels (#369)
Improvement of the bloom filter was introduced via a more sophisticated rounding policy of the number of blocks to an integer multiplication of batch size. Some of the files are rounded up and some are rounded down. With this policy the total deviation of memory consumption from the predefined budget should be minimal.
Changes were pushed to the branch:
paired_bloom_filter_second_improvement
The text was updated successfully, but these errors were encountered: