Skip to content

Commit db04855

Browse files
committed
Merge remote-tracking branch 'upstream/master' into update-sysvars-from-source
2 parents 40f6c55 + 862fe1a commit db04855

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

pd-configuration-file.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,16 @@ Configuration items related to scheduling
244244
+ The number of Region scheduling tasks performed at the same time
245245
+ Default value: `2048`
246246
247+
### `hot-region-schedule-limit`
248+
249+
+ Controls the hot Region scheduling tasks that are running at the same time. It is independent of the Region scheduling.
250+
+ Default value: `4`
251+
252+
### `hot-region-cache-hits-threshold`
253+
254+
+ The threshold used to set the number of minutes required to identify a hot Region. PD can participate in the hotspot scheduling only after the Region is in the hotspot state for more than this number of minutes.
255+
+ Default value: `3`
256+
247257
### `replica-schedule-limit`
248258
249259
+ The number of Replica scheduling tasks performed at the same time

tikv-configuration-file.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,21 @@ Configuration items related to the sharing of block cache among multiple RocksDB
300300
+ Default value: 45% of the size of total system memory
301301
+ Unit: KB|MB|GB
302302

303+
## storage.io-rate-limit
304+
305+
Configuration items related to the I/O rate limiter.
306+
307+
### `max-bytes-per-sec`
308+
309+
+ Limits the maximum I/O bytes that a server can write to or read from the disk (determined by the `mode` configuration item below) in one second. When this limit is reached, TiKV prefers throttling background operations over foreground ones. The value of this configuration item should be set to the disk's optimal I/O bandwidth, for example, the maximum I/O bandwidth specified by your cloud disk vendor. When this configuration value is set to zero, disk I/O operations are not limited.
310+
+ Default value: `"0MB"`
311+
312+
### `mode`
313+
314+
+ Determines which types of I/O operations are counted and restrained below the `max-bytes-per-sec` threshold. Currently, only the write-only mode is supported.
315+
+ Optional value: `"write-only"`
316+
+ Default value: `"write-only"`
317+
303318
## raftstore
304319

305320
Configuration items related to Raftstore

0 commit comments

Comments
 (0)