Skip to content

Commit eebd83f

Browse files
author
rishabh mittal
committed
tikv config: fix bg-cpu-throttle-threshold description
- Floor is 1 CPU core, not zero (per worker.rs:304-309) - Clarify 'background tasks' links to resource control background task types (import, br, ddl, stats) not internal compaction/GC
1 parent 1e3ffcb commit eebd83f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tikv-configuration-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2694,7 +2694,7 @@ Specifies the flow control strategy for low-priority tasks. TiKV ensures that hi
26942694

26952695
### `bg-cpu-throttle-threshold` <span class="version-mark">New in v8.5.6 and v9.0.0</span>
26962696

2697-
+ Specifies the CPU utilization percentage threshold at which background task throttling begins. When CPU utilization reaches this value, TiKV starts to reduce the resource budget allocated to background tasks (such as compaction and garbage collection). The background task budget scales linearly from full down to zero as CPU utilization increases from this threshold toward [`fg-cpu-throttle-threshold`](#fg-cpu-throttle-threshold).
2697+
+ Specifies the CPU utilization percentage threshold at which background task throttling begins. Background tasks are tasks marked with a background resource group, including `import`, `br`, `ddl`, and `stats` task types (see [Background task types](/tidb-resource-control-background-tasks.md#background-parameters)). When CPU utilization reaches this value, TiKV starts to reduce the resource budget allocated to background tasks. The budget scales linearly from the configured limit down to a minimum floor of 1 CPU core as CPU utilization increases from this threshold toward [`fg-cpu-throttle-threshold`](#fg-cpu-throttle-threshold).
26982698
+ Default value: `60.0`
26992699
+ Unit: percentage (%)
27002700

0 commit comments

Comments
 (0)