-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Changelog entry for Go MADV; doc cleanup #1178
Conversation
CHANGELOG.md
Outdated
|
||
> On Linux, the runtime now uses MADV_FREE to release unused memory. This is more efficient but may result in higher reported RSS. The kernel will reclaim the unused data when it is needed. To revert to the Go 1.11 behavior (MADV_DONTNEED), set the environment variable GODEBUG=madvdontneed=1. | ||
|
||
To ensure correct memory reporting: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it really incorrect with those changes? Maybe precise
would fit here more
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true
PTAL @GiedriusS and thanks for review |
cmd/thanos/sidecar.go
Outdated
TSDBMinTime: model.Duration(2 * time.Hour), | ||
TSDBMaxTime: model.Duration(2 * time.Hour), | ||
} | ||
var ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this code change should be part of this PR, or am I missing smth?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is intentionally there, but can split if needed
Signed-off-by: Bartek Plotka <[email protected]>
I simplified PR with just doc and CHANGELOG change. @povilasv please read carefully.
Yes that's why I updated 0.4.0 release.
It's already there for newest unlreleased. |
👍 |
Signed-off-by: Bartek Plotka [email protected]