Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Go garbage collection target percentage to 400% #5034

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Commits on Jun 28, 2024

  1. Set Go garbage collection target percentage to 400%

    After removal of memory_ballast extension in v0.97.0, the Go garbage collection is running more aggressively, which
    increased CPU usage and leads to reduced throughput of the collector. This change reduces the frequency of garbage
    collection cycles to improves performance of the collector for typical workloads. As a result, the collector will
    report higher memory usage, but it will be bound to the same configured limits. If you want to revert to the previous
    behavior, set the `GOGC` environment variable to `100`.
    dmitryax committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    94159d3 View commit details
    Browse the repository at this point in the history