Skip to content

flowinfra: make max_running_flows default depend on the number of CPUs #12040

@cockroach-teamcity

Description

@cockroach-teamcity

Exalate commented:

cockroachdb/cockroach#71787 --- Release note (ops change): The meaning of sql.distsql.max_running_flows cluster setting has been extended so that when the value is negative, it would be multiplied by the number of CPUs on the node to get the maximum number of concurrent remote flows on the node. The default value is -128, meaning that on a 4 CPU machine we will have up to 512 concurrent remote DistSQL flows, but on a 8 CPU machine up to 1024. The previous default was 500.

Jira Issue: DOC-1694

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions