Skip to content

Use logical cpu number as the default value of fine grained stream count #55543

@windtalker

Description

@windtalker

Bug Report

Please answer these questions before submitting your issue. Thanks!
Currently, TiDB use physical cpu cores as the default value of fine grained stream count, this is due to TiFlash used to use physical cpu cores as its default max_threads.
From v7.5.0, TiFlash use logical cpu cores as the default value of max_threads, TiDB should update the default fine grained stream count to logical cpu cores as well

1. Minimal reproduce step (Required)

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

Metadata

Metadata

Assignees

Labels

affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.severity/majorsig/executionSIG executiontype/bugThe issue is confirmed as a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions