mirror of
https://github.com/talent-plan/tinykv.git
synced 2024-12-27 13:20:24 +08:00
5e089a2cd1
Signed-off-by: Connor <zbk602423539@gmail.com> Co-authored-by: Nick Cameron <nrc@ncameron.org> Co-authored-by: linning <linningde25@gmail.com> Co-authored-by: YangKeao <keao.yang@yahoo.com> Co-authored-by: andylokandy <andylokandy@hotmail.com> Co-authored-by: Iosmanthus Teng <myosmanthustree@gmail.com>
33 lines
874 B
TOML
33 lines
874 B
TOML
# PD Simulator Configuration
|
|
|
|
[tick]
|
|
## the tick interval when starting PD inside (default: "100ms")
|
|
sim-tick-interval = "100ms"
|
|
|
|
[store]
|
|
## the capacity size of a new store in GB (default: 1024)
|
|
store-capacity = 1024
|
|
## the available size of a new store in GB (default: 1024)
|
|
store-available = 1024
|
|
## the io rate of a new store in MB/s (default: 40)
|
|
store-io-per-second = 40
|
|
## the version of a new store (default: "2.1.0")
|
|
store-version = "2.1.0"
|
|
|
|
## the meaning of these configurations below are similar with config.toml
|
|
[server]
|
|
lease = 1
|
|
tso-save-interval = "200ms"
|
|
tick-interval = "100ms"
|
|
election-interval = "3s"
|
|
leader-priority-check-interval = "100ms"
|
|
|
|
[server.schedule]
|
|
split-merge-interval = "1ms"
|
|
max-store-down-time = "30s"
|
|
leader-schedule-limit = 32
|
|
region-schedule-limit = 128
|
|
replica-schedule-limit = 32
|
|
merge-schedule-limit = 32
|
|
store-balance-rate = 512.0
|