diff --git a/dynamic-config.md b/dynamic-config.md index 7c588e01f3f6a..5ef120a43f50a 100644 --- a/dynamic-config.md +++ b/dynamic-config.md @@ -126,7 +126,7 @@ The following TiKV configuration items can be modified online: | Configuration item | Description | | :--- | :--- | -| `raftstore.raft-entry-max-size` | The maximum size of a single log | +| `raftstore.raft-max-inflight-msgs` | The number of Raft logs to be confirmed. If this number is exceeded, the Raft state machine slows down log sending. | | `raftstore.raft-log-gc-tick-interval` | The time interval at which the polling task of deleting Raft logs is scheduled | | `raftstore.raft-log-gc-threshold` | The soft limit on the maximum allowable number of residual Raft logs | | `raftstore.raft-log-gc-count-limit` | The hard limit on the allowable number of residual Raft logs | @@ -157,6 +157,7 @@ The following TiKV configuration items can be modified online: | `raftstore.hibernate-timeout` | The shortest wait duration before entering hibernation upon start. Within this duration, TiKV does not hibernate (not released). | | `raftstore.apply-pool-size` | The number of apply thread pool size | | `raftstore.store-pool-size` | The number of store thread pool size | +| `readpool.unified.max-thread-count` | The maximum number of threads in the thread pool that uniformly processes read requests, which is the size of the UnifyReadPool thread pool | | `coprocessor.split-region-on-table` | Enables to split Region by table | | `coprocessor.batch-split-limit` | The threshold of Region split in batches | | `coprocessor.region-max-size` | The maximum size of a Region | diff --git a/tikv-configuration-file.md b/tikv-configuration-file.md index fa7be347fa3cd..8837cf71840bd 100644 --- a/tikv-configuration-file.md +++ b/tikv-configuration-file.md @@ -211,7 +211,8 @@ Configuration items related to the single thread pool serving read requests. Thi ### `max-thread-count` + The maximum working thread count of the unified read pool or the UnifyReadPool thread pool. When you modify the size of this thread pool, refer to [Performance tuning for TiKV thread pools](/tune-tikv-thread-performance.md#performance-tuning-for-tikv-thread-pools). -+ Default value: `MAX(4, CPU * 0.8)` ++ Value range: `[min-thread-count, MAX(4, CPU)]`. In `MAX(4, CPU)`, `CPU` means the number of your CPU cores. `MAX(4, CPU)` takes the greater value out of `4` and the `CPU`. ++ Default value: MAX(4, CPU * 0.8) ### `stack-size` @@ -495,7 +496,7 @@ Configuration items related to Raftstore. ### `raft-max-inflight-msgs` -+ The number of Raft logs to be confirmed. If this number is exceeded, log sending slows down. ++ The number of Raft logs to be confirmed. If this number is exceeded, the Raft state machine slows down log sending. + Default value: `256` + Minimum value: greater than `0` @@ -733,7 +734,7 @@ Configuration items related to Raftstore. ### `apply-pool-size` -+ The allowable number of threads in the pool that flushes data to storage. When you modify the size of this thread pool, refer to [Performance tuning for TiKV thread pools](/tune-tikv-thread-performance.md#performance-tuning-for-tikv-thread-pools). ++ The allowable number of threads in the pool that flushes data to storage, which is the size of the Apply thread pool. When you modify the size of this thread pool, refer to [Performance tuning for TiKV thread pools](/tune-tikv-thread-performance.md#performance-tuning-for-tikv-thread-pools). + Default value: `2` + Minimum value: greater than `0` @@ -1462,7 +1463,8 @@ Configuration items related to BR backup. ### `num-threads` + The number of worker threads to process backup -+ Default value: `MIN(CPU * 0.5, 8)`. ++ Default value: `MIN(CPU * 0.5, 8)` ++ Value range: `[1, CPU]` + Minimum value: `1` ### `enable-auto-tune` New in v5.4.0