Skip to content

Commit

Permalink
add core ngt benchmark
Browse files Browse the repository at this point in the history
Signed-off-by: kpango <[email protected]>
  • Loading branch information
kpango committed Sep 27, 2023
1 parent 594b23b commit 4979f3d
Show file tree
Hide file tree
Showing 42 changed files with 2,632 additions and 2,009 deletions.
3 changes: 3 additions & 0 deletions charts/vald-helm-operator/crds/valdrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ spec:
type: boolean
enable_proactive_gc:
type: boolean
error_buffer_limit:
type: integer
minimum: 1
index_path:
type: string
initial_delay_max_duration:
Expand Down
1 change: 1 addition & 0 deletions charts/vald/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ Run the following command to install the chart,
| agent.ngt.enable_copy_on_write | bool | `false` | enable copy on write saving for more stable backup |
| agent.ngt.enable_in_memory_mode | bool | `true` | in-memory mode enabled |
| agent.ngt.enable_proactive_gc | bool | `false` | enable proactive GC call for reducing heap memory allocation |
| agent.ngt.error_buffer_limit | int | `10` | maximum number of core ngt error buffer pool size limit |
| agent.ngt.index_path | string | `""` | path to index data |
| agent.ngt.initial_delay_max_duration | string | `"3m"` | maximum duration for initial delay |
| agent.ngt.kvsdb.concurrency | int | `6` | kvsdb processing concurrency |
Expand Down
5 changes: 5 additions & 0 deletions charts/vald/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,11 @@
"type": "boolean",
"description": "enable proactive GC call for reducing heap memory allocation"
},
"error_buffer_limit": {
"type": "integer",
"description": "maximum number of core ngt error buffer pool size limit",
"minimum": 1
},
"index_path": {
"type": "string",
"description": "path to index data"
Expand Down
3 changes: 3 additions & 0 deletions charts/vald/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1723,6 +1723,9 @@ agent:
# @schema {"name": "agent.ngt.broken_index_history_limit", "type": "integer", "minimum": 0}
# agent.ngt.broken_index_history_limit -- maximum number of broken index generations to backup
broken_index_history_limit: 0
# @schema {"name": "agent.ngt.error_buffer_limit", "type": "integer", "minimum": 1}
# agent.ngt.error_buffer_limit -- maximum number of core ngt error buffer pool size limit
error_buffer_limit: 10
# @schema {"name": "agent.sidecar", "type": "object"}
sidecar:
# @schema {"name": "agent.sidecar.enabled", "type": "boolean"}
Expand Down
Loading

0 comments on commit 4979f3d

Please sign in to comment.