Skip to content

Enhance system variable tidb_enable_gogc_tuner  #40849

@TonsnakeLin

Description

@TonsnakeLin

Enhancement

The system variable tidb_enable_gogc_tuner controls to enable or disable GOGC tuner which tune GOGC automaticly. If we enbale GOGC tuner, tidb will call runtime.ReadMemStats to collect memory stats which tiggers STW and blocks the tidb-server instance. We hope that it doesn't call runtime.ReadMemStats if we disable GOGC tuner, but it doesn't, tidb still call runtime.ReadMemStats when GOGC tunner is disabled, we should make it what as we hope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions