Running pprof on a program that has O(10^6) cpu-bound goroutines loses ~50% of samples.
Code is github.com/btracey/stackmc/examples/paper/rosen_unif
Svg of pprof output: http://stanford.edu/~btracey/gobench/stackmc/graph.svg
Working now on a shorter reproducer
[btracey@zion ~]$ go env
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
The text was updated successfully, but these errors were encountered:
Here is a shorter reproducing code. This takes a couple minutes on my machine, but
changing the inner loop computation to size 1000 rather than 100000 did not reproduce
I don't think it was fixed by that revision.
[btracey@zion ~]$ go version
go version devel +ad0ee2227396 Wed May 07 18:49:13 2014 +0400 linux/amd64
I downloaded the source after that revision was committed, though I don't know if there
is a lag, and I'm not sure how to check that that CL is included in my version.
I don't see any good way to fix this. Unless it comes up more often I'm just going to
live with it.
If you want to just ignore the lost profile data, you can give pprof the option