Skip to content

Commit 93a552e

Browse files
authored
chore: tweak parameters for seqdb benchmarks (#162)
1 parent 627de89 commit 93a552e

File tree

6 files changed

+389
-145
lines changed

6 files changed

+389
-145
lines changed

benchmarks/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ download-dataset:
22
cd ./dataset/logs && bash download.sh
33

44
prepare-dataset: download-dataset
5-
cd ./dataset && rm -rdf docs-*.json && python3 distribute.py ./logs -n 10
5+
cd ./dataset && rm -rdf docs-*.log && python3 distribute.py ./logs -n 32
66

77
docker-run-seqdb:
88
docker compose -f docker-compose.yml -f docker-compose-seqdb.yml up -d

benchmarks/configs/file.d/seq-db.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,20 @@ pipeline-settings: &pipeline-settings
66

77
pipeline-input-settings: &pipeline-input-settings
88
type: file
9-
workers_count: 16
9+
workers_count: 4
1010
offsets_op: 'reset'
1111
persistence_mode: 'async'
1212
paths:
1313
include:
14-
- '/var/file.d/logs/*.log'
14+
- '/var/file.d/logs/docs-*.log'
1515

1616
pipeline-output-settings: &pipeline-output-settings
1717
type: elasticsearch
1818
index_format: logs-index
1919
connection_timeout: 20s
20-
workers_count: 32
21-
batch_flush_timeout: 200ms
20+
batch_size: 4096
21+
workers_count: 256
22+
batch_flush_timeout: 5s
2223

2324
pipelines:
2425
seqdb:

0 commit comments

Comments
 (0)