Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docs
Commits
d37c26e4
Commit
d37c26e4
authored
May 05, 2017
by
Richard Hartmann
Committed by
Brian Brazil
May 05, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
content/docs/operating/storage.md: Clarify GOGC (#731)
parent
2087d8fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
storage.md
content/docs/operating/storage.md
+2
-1
No files found.
content/docs/operating/storage.md
View file @
d37c26e4
...
@@ -41,7 +41,8 @@ Because Prometheus uses most of its heap for long-lived allocations of memory
...
@@ -41,7 +41,8 @@ Because Prometheus uses most of its heap for long-lived allocations of memory
chunks, the
chunks, the
[
garbage collection target percentage
](
https://golang.org/pkg/runtime/debug/#SetGCPercent
)
[
garbage collection target percentage
](
https://golang.org/pkg/runtime/debug/#SetGCPercent
)
is set to 40 by default. You can still override this setting via the
`GOGC`
is set to 40 by default. You can still override this setting via the
`GOGC`
environment variable as usual.
environment variable as usual. If you need to conserve CPU capacity and can
accept running with fewer memory chunks, try higher values.
For high-performance set-ups, you might need to adjust more flags. Please read
For high-performance set-ups, you might need to adjust more flags. Please read
through the sections below for details.
through the sections below for details.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment