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
cmd/compile: compiling with GOGC=off shows runtime.mallocgc uses 11.8% of run time #14850
Comments
Regalloc definitely needs a once-over for allocation reduction. A lot of On Thu, Mar 17, 2016 at 4:22 PM, Dave Cheney notifications@github.com
|
mallocgc is the allocation function, so if it shows up
in cpu profile, it simply means the programs spent
a lot of time allocating.
I don't think disable GC will reduce time spent on it.
|
Thank you for your reply. My question is why does mallocgc take 12% of run Reducing the number of allocations is also useful and everyone is focused On Fri, 18 Mar 2016, 11:01 Minux Ma, notifications@github.com wrote:
|
Mcentral.grow is dominated by faulting in pages, and that's 1/3rd of the On Thu, Mar 17, 2016 at 5:12 PM, Dave Cheney notifications@github.com
|
Thanks Keith, that explains what I am seeing. This process grows to around On Fri, Mar 18, 2016 at 11:42 AM, Keith Randall notifications@github.com
|
Anything to do here or can we close this? |
I think this can be closed. It's the same old story, use less memory, pay On Mon, Mar 21, 2016 at 7:58 PM, Brad Fitzpatrick notifications@github.com
|
go version
)?go version devel +56e0ecc Thu Mar 17 04:20:02 2016 +0000 linux/amd64
go env
)?linux/amd64
mallocgc should take less of the overall run time
The text was updated successfully, but these errors were encountered: