-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create continous benchmark doc (#2352)
* improve Backport Pull Request Title & Description Quality (#2373) Signed-off-by: kpango <kpango@vdaas.org> Co-authored-by: Kosuke Morimoto <ksk@vdaas.org> * 📝 create continous benchmark doc Signed-off-by: vankichi <kyukawa315@gmail.com> * style: format code with Gofumpt and Prettier This commit fixes the style issues introduced in ace001a according to the output from Gofumpt and Prettier. Details: #2352 * ♻️ rafactor default params Signed-off-by: vankichi <kyukawa315@gmail.com> * style: format code with Gofumpt and Prettier This commit fixes the style issues introduced in 9880dfc according to the output from Gofumpt and Prettier. Details: #2352 * ♻️ Fix format Signed-off-by: vankichi <kyukawa315@gmail.com> * Revert "improve Backport Pull Request Title & Description Quality (#2373)" This reverts commit 4246def. * ♻️ remove dimension from con-bench Signed-off-by: vankichi <kyukawa315@gmail.com> * 📝 Add sample benchmark manifest Signed-off-by: vankichi <kyukawa315@gmail.com> * Update docs/performance/continuos-benchmatk.md Co-authored-by: Yusuke Kato <kpango@vdaas.org> Signed-off-by: Kiichiro YUKAWA <kyukawa315@gmail.com> * Update docs/performance/continuos-benchmatk.md Co-authored-by: Hiroto Funakoshi <hiroto.funakoshi.hiroto@gmail.com> Signed-off-by: Kiichiro YUKAWA <kyukawa315@gmail.com> --------- Signed-off-by: kpango <kpango@vdaas.org> Signed-off-by: vankichi <kyukawa315@gmail.com> Signed-off-by: Kiichiro YUKAWA <kyukawa315@gmail.com> Co-authored-by: Yusuke Kato <kpango@vdaas.org> Co-authored-by: Kosuke Morimoto <ksk@vdaas.org> Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> Co-authored-by: Hiroto Funakoshi <hiroto.funakoshi.hiroto@gmail.com>
- Loading branch information
1 parent
df33f92
commit cc7ab04
Showing
16 changed files
with
519 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,6 @@ jobs: | |
range: | ||
start: 1 | ||
end: 1000 | ||
dimension: 784 | ||
replica: 1 | ||
repetition: 1 | ||
job_type: "search" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,6 @@ spec: | |
start: 1 | ||
end: 1000 | ||
job_type: "search" | ||
dimension: 784 | ||
repetition: 1 | ||
replica: 1 | ||
rules: [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
apiVersion: vald.vdaas.org/v1 | ||
kind: ValdBenchmarkJob | ||
metadata: | ||
name: sample-job | ||
spec: | ||
# @schema {"name": "dataset", "type": "object"} | ||
# dataset -- dataset information | ||
dataset: | ||
# @schema {"name": "dataset.name", "type": "string" } | ||
# dataset.name -- the name of dataset | ||
name: "fashion-mnist" | ||
# @schema {"name": "dataset.indexes", "type": "integer"} | ||
# dataset.indexes -- the amount of indexes | ||
indexes: 60000 | ||
# @schema {"name": "dataset.group", "type": "string"} | ||
# dataset.group -- the hdf5 group name of dataset | ||
group: "train" | ||
# @schema {"name": "dataset.range", "type": "object"} | ||
# dataset.range -- the data range of indexes | ||
range: | ||
# @schema {"name": "dataset.range.start", "type": "integer"} | ||
# dataset.range.start -- start index number | ||
start: 1 | ||
# @schema {"name": "dataset.range.end", "type": "integer"} | ||
# dataset.range.end -- end index number | ||
end: 60000 | ||
url: "http://ann-benchmarks.com/fashion-mnist-784-euclidean.hdf5" | ||
job_type: "upsert" | ||
repetition: 1 | ||
replica: 1 | ||
rules: [] | ||
client_config: | ||
health_check_duration: "10s" | ||
rps: 2000 | ||
insert_config: | ||
skip_strict_exist_check: false | ||
upsert_config: | ||
skip_strict_exist_check: false | ||
target: | ||
host: "vald-lb-gateway.default.svc.cluster.local" | ||
port: 8081 | ||
global_config: | ||
version: v0.0.1 | ||
time_zone: JST | ||
logging: | ||
level: debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,183 @@ | ||
apiVersion: vald.vdaas.org/v1 | ||
kind: ValdBenchmarkScenario | ||
metadata: | ||
name: insert-search | ||
spec: | ||
# @schema {"name": "dataset", "type": "object"} | ||
# dataset -- dataset information | ||
dataset: | ||
# @schema {"name": "dataset.name", "type": "string" } | ||
# dataset.name -- the name of dataset | ||
name: "fashion-mnist" | ||
# @schema {"name": "dataset.indexes", "type": "integer"} | ||
# dataset.indexes -- the amount of indexes | ||
indexes: 100000 | ||
# @schema {"name": "dataset.group", "type": "string"} | ||
# dataset.group -- the hdf5 group name of dataset | ||
group: "train" | ||
# @schema {"name": "dataset.range", "type": "object"} | ||
# dataset.range -- the data range of indexes | ||
range: | ||
# @schema {"name": "dataset.range.start", "type": "integer"} | ||
# dataset.range.start -- start index number | ||
start: 1 | ||
# @schema {"name": "dataset.range.end", "type": "integer"} | ||
# dataset.range.end -- end index number | ||
end: 100000 | ||
# @schema {"name": "jobs", "type": "array", "items": {"type": "object"}} | ||
# jobs -- benchmark jobs | ||
jobs: | ||
- job_type: "insert" | ||
repetition: 1 | ||
replica: 1 | ||
rules: [] | ||
dataset: | ||
name: "fashion-mnist" | ||
indexes: 10000 | ||
group: "train" | ||
range: | ||
start: 1 | ||
end: 10000 | ||
insert_config: | ||
skip_strict_exist_check: true | ||
client_config: | ||
health_check_duration: "10s" | ||
rps: 2000 | ||
concurrency_limit: 150 | ||
ttl_seconds_after_finished: 100 | ||
- job_type: "upsert" | ||
repetition: 1 | ||
replica: 1 | ||
rules: [] | ||
dataset: | ||
name: "fashion-mnist" | ||
indexes: 20000 | ||
group: "train" | ||
range: | ||
start: 1 | ||
end: 20000 | ||
upsert_config: | ||
skip_strict_exist_check: true | ||
client_config: | ||
health_check_duration: "10s" | ||
rps: 2000 | ||
concurrency_limit: 150 | ||
ttl_seconds_after_finished: 100 | ||
- job_type: "search" | ||
repetition: 1 | ||
replica: 1 | ||
rules: [] | ||
search_config: | ||
epsilon: 0.1 | ||
radius: -1 | ||
num: 10 | ||
min_num: 10 | ||
timeout: "1m" | ||
enable_linear_search: false | ||
client_config: | ||
health_check_duration: "10s" | ||
rps: 2000 | ||
concurrency_limit: 150 | ||
ttl_seconds_after_finished: 100 | ||
- job_type: "upsert" | ||
repetition: 1 | ||
replica: 1 | ||
rules: [] | ||
dataset: | ||
name: "fashion-mnist" | ||
indexes: 30000 | ||
group: "train" | ||
range: | ||
start: 10001 | ||
end: 40000 | ||
search_config: | ||
epsilon: 0.1 | ||
radius: -1 | ||
num: 10 | ||
min_num: 5 | ||
timeout: "1m" | ||
upsert_config: | ||
skip_strict_exist_check: true | ||
client_config: | ||
health_check_duration: "10s" | ||
rps: 2000 | ||
concurrency_limit: 150 | ||
ttl_seconds_after_finished: 100 | ||
- job_type: "search" | ||
repetition: 1 | ||
replica: 1 | ||
rules: [] | ||
dataset: | ||
name: "fashion-mnist" | ||
indexes: 20000 | ||
group: "test" | ||
range: | ||
start: 1 | ||
end: 20000 | ||
search_config: | ||
epsilon: 0.1 | ||
radius: -1 | ||
num: 10 | ||
min_num: 10 | ||
timeout: "1m" | ||
enable_linear_search: false | ||
client_config: | ||
health_check_duration: "10s" | ||
rps: 4000 | ||
concurrency_limit: 150 | ||
ttl_seconds_after_finished: 100 | ||
- job_type: "exists" | ||
repetition: 1 | ||
replica: 1 | ||
rules: [] | ||
dataset: | ||
name: "fashion-mnist" | ||
indexes: 20000 | ||
group: "train" | ||
range: | ||
start: 1 | ||
end: 20000 | ||
client_config: | ||
health_check_duration: "10s" | ||
rps: 1000 | ||
concurrency_limit: 150 | ||
ttl_seconds_after_finished: 100 | ||
- job_type: "getobject" | ||
repetition: 1 | ||
replica: 1 | ||
rules: [] | ||
dataset: | ||
name: "fashion-mnist" | ||
indexes: 20000 | ||
group: "train" | ||
range: | ||
start: 1 | ||
end: 20000 | ||
client_config: | ||
health_check_duration: "10s" | ||
rps: 1000 | ||
concurrency_limit: 150 | ||
ttl_seconds_after_finished: 100 | ||
- job_type: "remove" | ||
repetition: 1 | ||
replica: 1 | ||
rules: [] | ||
dataset: | ||
name: "fashion-mnist" | ||
indexes: 40000 | ||
group: "train" | ||
range: | ||
start: 1 | ||
end: 40000 | ||
remove_config: | ||
skip_strict_exist_check: true | ||
client_config: | ||
health_check_duration: "10s" | ||
rps: 1000 | ||
concurrency_limit: 150 | ||
ttl_seconds_after_finished: 100 | ||
# @schema {"name": "target", "type": "array", "items": {"type": "object"}} | ||
# target -- target cluster host&port | ||
target: | ||
host: "vald-lb-gateway.default.svc.cluster.local" | ||
port: 8081 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.