Skip to content

Add benchmark configs to support intra segment on open PR#20479

Merged
prudhvigodithi merged 6 commits intoopensearch-project:mainfrom
prudhvigodithi:benchmark
Jan 27, 2026
Merged

Add benchmark configs to support intra segment on open PR#20479
prudhvigodithi merged 6 commits intoopensearch-project:mainfrom
prudhvigodithi:benchmark

Conversation

@prudhvigodithi
Copy link
Copy Markdown
Member

Description

Add benchmark configs to support intra segment, more details #19704

Related Issues

Related to #19694 and part of #18851.

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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: Prudhvi Godithi <pgodithi@amazon.com>
@prudhvigodithi prudhvigodithi requested review from a team, jed326 and peternied as code owners January 26, 2026 16:47
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Jan 26, 2026

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
📝 Walkthrough

Walkthrough

Two new benchmark configurations added to define intra-segment test procedures for big5 and http_logs workloads with auto concurrent segment search mode and cluster settings.

Changes

Cohort / File(s) Summary
Benchmark Configuration Additions
\.github/benchmark-configs.json
Added two new configuration blocks (id_13, id_14) defining intra-segment test procedures with concurrent segment search mode set to auto; includes cluster-benchmark-configs, cluster_configuration, and baseline_cluster_config entries for big5 and http_logs workloads (+38 lines)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested labels

skip-changelog

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'Add benchmark configs to support intra segment on open PR' is related to the main change but is vague and unclear. The phrase 'on open PR' is confusing and appears unrelated to the actual changeset about adding benchmark configurations. Clarify the title to remove 'on open PR' and be more specific, e.g., 'Add benchmark configurations for intra-segment search' or 'Add intra-segment benchmark configurations'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description check ✅ Passed The description provides the required sections with meaningful content: a clear description referencing related PR for more details, related issues identified, and completed checklist acknowledgments.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In @.github/benchmark-configs.json:
- Around line 227-245: The baseline config for id_14 mismatches the snapshot
shard count: WORKLOAD_PARAMS.snapshot_name is "http_logs_3_shards" but
baseline_cluster_config is "x64-c5.2xlarge-1-shard-0-replica-snapshot-baseline";
update baseline_cluster_config to the corresponding 3-shard baseline (e.g., a
name following the 3-shard snapshot pattern) or, if the intent was a 1-shard
baseline, update WORKLOAD_PARAMS.snapshot_name to the correct 1-shard snapshot
and verify snapshot_base_path "10.3.2" is correct for the chosen snapshot;
ensure id_14's baseline_cluster_config and WORKLOAD_PARAMS.snapshot_name are
consistent.
📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 672039d and b032356.

📒 Files selected for processing (1)
  • .github/benchmark-configs.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (19)
  • GitHub Check: precommit (21, windows-latest)
  • GitHub Check: precommit (25, windows-latest)
  • GitHub Check: precommit (25, macos-15-intel)
  • GitHub Check: precommit (25, ubuntu-24.04-arm)
  • GitHub Check: precommit (21, macos-15-intel)
  • GitHub Check: precommit (21, macos-15)
  • GitHub Check: precommit (21, ubuntu-24.04-arm)
  • GitHub Check: precommit (21, ubuntu-latest)
  • GitHub Check: assemble (25, ubuntu-latest)
  • GitHub Check: precommit (25, macos-15)
  • GitHub Check: assemble (21, ubuntu-24.04-arm)
  • GitHub Check: precommit (25, ubuntu-latest)
  • GitHub Check: precommit (21, windows-2025, true)
  • GitHub Check: assemble (21, ubuntu-latest)
  • GitHub Check: assemble (25, windows-latest)
  • GitHub Check: assemble (25, ubuntu-24.04-arm)
  • GitHub Check: assemble (21, windows-latest)
  • GitHub Check: detect-breaking-change
  • GitHub Check: Analyze (java)
🔇 Additional comments (1)
.github/benchmark-configs.json (1)

208-226: LGTM for id_13 configuration.

The new intra-segment benchmark config for big5 workload is well-structured and consistent with existing patterns. The snapshot name ("big5_1_shard_single_client") aligns with the baseline config naming convention, and the DATA_INSTANCE_TYPE ("c5.2xlarge") matches the baseline cluster config reference.

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
@prudhvigodithi
Copy link
Copy Markdown
Member Author

This should be in par with the nightly configuration opensearch-project/opensearch-build#5932 (comment).

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
@prudhvigodithi prudhvigodithi mentioned this pull request Jan 26, 2026
3 tasks
@prudhvigodithi prudhvigodithi changed the title Add benchmark configs to support intra segment Add benchmark configs to support intra segment on open PR Jan 26, 2026
@github-project-automation github-project-automation bot moved this from Todo to In Progress in Performance Roadmap Jan 27, 2026
@prudhvigodithi prudhvigodithi merged commit d864716 into opensearch-project:main Jan 27, 2026
32 of 54 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Performance Roadmap Jan 27, 2026
Copy link
Copy Markdown
Contributor

@jainankitk jainankitk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wondering if it is better to have support for providing the config parameters as part of the run to not create new configurations for each new parameter.

"baseline_cluster_config": "x64-r5.xlarge-1-shard-0-replica-snapshot-baseline"
},
"id_13": {
"description": "Intra-segment search test-procedure for big5 with concurrent segment search mode as auto",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this duplicate id_8 configuration?

Copy link
Copy Markdown
Member Author

@prudhvigodithi prudhvigodithi Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar discussion in past #18353 (comment). The id_13 is to test only with intra-segment test procedure. With inputs we can have one id and multiple such configurations.

tanyabti pushed a commit to tanyabti/OpenSearch that referenced this pull request Feb 24, 2026
…-project#20479)

* Add benchmark configs

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Add benchmark configs

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* test almalinux:9

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* test almalinux:8

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Update to r5

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

---------

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants