-
Notifications
You must be signed in to change notification settings - Fork 508
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
Add documentation for OSB query randomization #8990
Add documentation for OSB query randomization #8990
Conversation
Signed-off-by: Peter Alfonsi <[email protected]>
Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Editorial review -> Merged. Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer. When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference). The doc reviewer will arrange for an editorial review. |
Signed-off-by: Peter Alfonsi <[email protected]>
Addressed most of the style guide complaints, but it seems to be upset by the proper noun "Zipf" as in "Zipf distribution". |
Adding a blocked label to this for now until the development PR is merged. I'll go ahead and edit the content in the meantime. |
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
Signed-off-by: Naarcha-AWS <[email protected]>
@peteralfonsi and @IanHoang: I added my edits on top of this. Can one or both of y'all take a look and make sure my adjustments are still technically accurate? |
Looks good to me. I tweaked the new language in the Overview section slightly, to make it clearer why we need to reuse values, and also to make it clearer that the generation of saved value pairs is something that OSB does itself, rather than something the user has to do. |
Signed-off-by: Peter Alfonsi <[email protected]>
9fad08d
to
883a25a
Compare
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Naarcha-AWS @peteralfonsi Please see my comments and changes and tag me for approval when complete. Thanks!
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
|
||
Use the following CLI flags to customize randomization: | ||
|
||
- `--randomization-enabled` turns randomization on and off. If randomization is not enabled, none of the randomization flags will have an effect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"will have an effect" => "will be applied"?
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]>
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
…s.md Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
@natebower: Fanit's suggestion implemented, waiting for your approval. |
_benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md
Outdated
Show resolved
Hide resolved
…s.md Signed-off-by: Nathan Bower <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Naarcha-AWS LGTM
* Add documentation for OSB query randomization Signed-off-by: Peter Alfonsi <[email protected]> * Address linter issues Signed-off-by: Peter Alfonsi <[email protected]> * Add writer edits Signed-off-by: Naarcha-AWS <[email protected]> * Tweak overview section slightly Signed-off-by: Peter Alfonsi <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * Remove passive voice Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * Update _benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * Update _benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md Signed-off-by: Nathan Bower <[email protected]> --------- Signed-off-by: Peter Alfonsi <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> Signed-off-by: Nathan Bower <[email protected]> Co-authored-by: Peter Alfonsi <[email protected]> Co-authored-by: Naarcha-AWS <[email protected]> Co-authored-by: Nathan Bower <[email protected]> (cherry picked from commit 9f34935) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add documentation for OSB query randomization Signed-off-by: Peter Alfonsi <[email protected]> * Address linter issues Signed-off-by: Peter Alfonsi <[email protected]> * Add writer edits Signed-off-by: Naarcha-AWS <[email protected]> * Tweak overview section slightly Signed-off-by: Peter Alfonsi <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * Remove passive voice Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * Update _benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * Update _benchmark/user-guide/optimizing-benchmarks/randomizing-queries.md Signed-off-by: Nathan Bower <[email protected]> --------- Signed-off-by: Peter Alfonsi <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> Signed-off-by: Nathan Bower <[email protected]> Co-authored-by: Peter Alfonsi <[email protected]> Co-authored-by: Naarcha-AWS <[email protected]> Co-authored-by: Nathan Bower <[email protected]> (cherry picked from commit 9f34935) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Adds a documentation page describing what OSB query randomization is and how to use it. As @IanHoang suggested in opensearch-project/opensearch-benchmark#712 I've put this under the Optimizing Benchmarks section.
Issues Resolved
Closes #8989
Version
The whole page describes how the feature will work once the pending opensearch-project/opensearch-benchmark#712 goes in, which will likely go into OSB 1.12. Most of the feature is present in OSB 1.3 and one flag was added in OSB 1.8. I can split up this PR into separate chunks to be backported separately if that's the right way to do things.
Frontend features
N/A
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.