Skip to content

Commit

Permalink
tiflash: update config max_threads and task_scheduler_active_set_soft…
Browse files Browse the repository at this point in the history
…_limit (#19929)
  • Loading branch information
Oreoxmt authored Feb 27, 2025
1 parent 6166e63 commit 1f4c4fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tiflash/tiflash-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ I/O 限流功能相关配置。

##### `max_threads`

- `max_threads` 指的是执行一个 MMP Task 的内部线程并发度。当值为 `0` 时,TiFlash 执行 MMP Task 的线程并发度为 CPU 核数
- `max_threads` 指的是执行一个 MMP Task 的内部线程并发度。当值为 `0` 时,TiFlash 执行 MMP Task 的线程并发度为 CPU 逻辑核数
- 该参数只有在系统变量 [`tidb_max_tiflash_threads`](/system-variables.md#tidb_max_tiflash_threads-从-v610-版本开始引入) 设置为 `-1` 时才会生效。
- 默认值:`0`

Expand Down Expand Up @@ -465,7 +465,7 @@ I/O 限流功能相关配置。
##### `task_scheduler_active_set_soft_limit` <span class="version-mark">从 v6.4.0 版本开始引入</span>

- 用于 MinTSO 调度器,表示一个 TiFlash 实例中最多可同时运行的查询数量。关于 MinTSO 调度器,详见 [TiFlash MinTSO 调度器](/tiflash/tiflash-mintso-scheduler.md)
- 默认值:`0`,即两倍的 vCPU 数量
- 默认值:`0`,即两倍的 CPU 逻辑核数

#### security <span class="version-mark">从 v4.0.5 版本开始引入</span>

Expand Down

0 comments on commit 1f4c4fb

Please sign in to comment.