Skip to content
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 load-test-qps parameter for dynamic client ramp up #739

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

OVI3D0
Copy link
Member

@OVI3D0 OVI3D0 commented Jan 30, 2025

Description

Adds a new --load-test-qps parameter for OSB. This parameter, when used with an appropriate test procedure such as:

{
  "name": "timed-mode-test-procedure",
  "schedule": [
    {
       "operation": "range",
       "warmup-time-period": {{ warmup_time | default(300) | tojson }},
       "ramp-up-time-period": {{ ramp_up_time | default(100) | tojson }},
       "time-period": {{ time_period | default(300) | tojson }},
       "target-throughput": {{ target_throughput | default(20) | tojson }},
       "clients": {{ search_clients | default(20) }}
    }
  ]
}

Overrides the target-throughput and client parameters, setting them to the integer value passed in by the user.
OSB then uses the ramp-up property introduced in #725 to ramp up the number of clients over time until the target QPS is hit.

Example command:
opensearch-benchmark execute-test --pipeline=benchmark-only --target-hosts=<cluster address> --workload=big5 --test-procedure=timed-mode-test-procedure --kill-running-processes --load-test-qps=30 --telemetry=node-states --telemetry-params="node-stats-include-indices-metrics:'search'"

Screenshot 2025-01-29 at 5 02 04 PM

Issues Resolved

#736

Testing

  • New functionality includes testing

make it + make test


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Michael Oviedo <mikeovi@amazon.com>
@OVI3D0 OVI3D0 force-pushed the dynamic-ramp-up branch 4 times, most recently from 0d9a2dd to cf76083 Compare January 30, 2025 01:23
@OVI3D0 OVI3D0 marked this pull request as ready for review January 30, 2025 01:39
Signed-off-by: Michael Oviedo <mikeovi@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant