-
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
db_bench: allow restricting the range of keys for a read benchmark to the range of database keys #101
Comments
@isaac-io & I have discussed and agreed on the following: |
Note that currently EDIT: I seem to have confused |
Following a discussion with @isaac-io, it seems db_bench already has 2 existing parameters that users may use to achieve the same purpose: 'reads' / 'writes'. These parameters, when specified, control the number of keys (when not specified, the number of keys is set by the 'num' parameter. |
Can we close this issue then? Should we run the paired bloom filter benchmark with these settings in order to ensure that it works before we close? |
@erez-speedb - Could you please try to use these parameters and see if indeed these parameters enable us to get what we want? |
With num=$(($rows * 10000)) |
Verified as working with the existing parameters. |
Currently
db_bench
doesn't allow controlling the range of the keys that's being read during a read workload, so for the new paired bloom filter (#29) this causes the workload to bypass the filter completely in case the keys aren't in the range of the data in the database.Add an option to restrict the key generation so that all of the keys are generated in the range during a read workload, so that the filter paths will be hit and we would be able to measure the impact of the changes in a real world scenario.
The text was updated successfully, but these errors were encountered: