Skip to content

Commit

Permalink
Adding new aoss vector search param fields target_throughput, `repe…
Browse files Browse the repository at this point in the history
…titions` and `time_period` (#334)

* Adding target_throughput, repetitions and time_period to aoss' search-only test procedure

Signed-off-by: Emanuel Aseghehey <aseghey@amazon.com>

* Adding target_throughput, repetitions and time_period to aoss' search-only test procedure

Signed-off-by: Emanuel Aseghehey <aseghey@amazon.com>

* Adding default values to repetitions and time_period

Signed-off-by: Emanuel Aseghehey <emanuelaseghey9@gmail.com>

---------

Signed-off-by: Emanuel Aseghehey <aseghey@amazon.com>
Signed-off-by: Emanuel Aseghehey <emanuelaseghey9@gmail.com>
Co-authored-by: Emanuel Aseghehey <aseghey@amazon.com>
  • Loading branch information
aseghehey and Emanuel Aseghehey authored Jul 3, 2024
1 parent 7c5ddaa commit f4a830e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions vectorsearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ This workload allows the following parameters to be specified using `--workload-
| query_count | Number of queries for search operation |
| query_body | Json properties that will be merged with search body |
| search_clients | Number of clients to use for running queries |
| repetitions | Number of repetitions until the data set is exhausted (default 1) |
| target_throughput | Target throughput for each query operation in requests per second (default 10) |
| time_period | The period of time dedicated for the benchmark execution in seconds (default 900) |



Expand Down
5 changes: 4 additions & 1 deletion vectorsearch/test_procedures/aoss/search-only-schedule.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"index": "{{ target_index_name | default('target_index') }}",
"detailed-results": true,
"k": {{ query_k | default(100) }},
"repetitions": {{ repetitions | default(1) }},
"field" : "{{ target_field_name | default('target_field') }}",
"data_set_format" : "{{ query_data_set_format | default('hdf5') }}",
"data_set_path" : "{{ query_data_set_path }}",
Expand All @@ -16,5 +17,7 @@
"id-field-name": "{{ id_field_name }}",
"body": {{ query_body | default ({}) | tojson }}
},
"clients": {{ search_clients | default(1)}}
"clients": {{ search_clients | default(1)}},
"target-throughput": {{ target_throughput | default(10) }},
"time-period": {{ time_period | default(900) }}
}

0 comments on commit f4a830e

Please sign in to comment.