opensearch-project / opensearch-benchmark-workloads

Official workloads used by OpenSearch Benchmark (OSB)
https://opensearch.org/docs/latest/benchmark/
11 stars 58 forks source link

[FEATURE] VectorSearch - Ability to control target-throughput and time-period #317

Closed mcm2100 closed 1 day ago

mcm2100 commented 3 weeks ago

Is your feature request related to a problem?

When running VectorSearch workload tests for AOSS collections, I am unable to set target-throughput for Indexing and Search operations as I am for other workloads. Additionally, I am unable to specify a time-period for the workload to run for longer running tests. This leads my VectorSearch OSB tests to be unreliable as both the traffic and test duration are unable to be set granularly.

What solution would you like?

I would like to be able to set these test properties for VectorSearch workloads as I can in other AOSS workload tests so that target-throughput and time-period can be set explicitly.

mcm2100 commented 3 weeks ago

I am able to side step these issues myself by manually editing the opensearch-benchmark-workloads package myself to expose 'target-throughput' and manually add 'repetitions' to simulate extending test duration. But would like these to be readily available parameters without needing to adjust source code

gkamat commented 2 weeks ago

This is a reasonable expectation. We should enhance the workload with this capability. @VijayanB, what do you think?

VijayanB commented 3 days ago

Thanks for raising this issue. It will definitely add value to vector search. Please feel free to contribute.