now In my application 48 core set GODEBUG=gctrace=1 the gc CPU percent is 17% but my server request have many long time case want to know the CPU percent in witch percentage is hight??
在 2017年3月27日星期一 UTC+8下午6:55:47,Dave Cheney写道: > > > > On Monday, 27 March 2017 21:12:44 UTC+11, 刘桂祥 wrote: >> >> Hi Dave: >> very thanks your timely response >> two more question >> 1. GODEBUG=gctrace=1 Do have some method get these quota >> from runtime package apis ? >> > > no > > >> 2. In go1.7 the concurent gc could occupy all cpu core ?? does >> it have cpu usgae limit ? >> > > no > > > >> >> >> 在 2017年3月27日星期一 UTC+8下午5:28:38,Dave Cheney写道: >>> >>> You can enable monitoring of the gc with this environment variable >>> >>> GODEBUG=gctrace=1 >>> >>> The format of the output is described on this page. >>> >>> https://golang.org/pkg/runtime/ >>> >>> -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.