Re: [go-nuts] Go scheduler tracing questions

2022-02-04 Thread Ian Lance Taylor
On Fri, Feb 4, 2022 at 4:13 PM envee wrote: > > Hi All, > I have an application which always has about 2000 goroutines running. (I > checked this by querying prometheus metrics at regular intervals.) This > number sounds reasonably correct to me because at the start I launch 1000 > goroutines a

[go-nuts] Go scheduler tracing questions

2022-02-04 Thread envee
Hi All, I have an application which always has about 2000 goroutines running. (I checked this by querying prometheus metrics at regular intervals.) This number sounds reasonably correct to me because at the start I launch 1000 goroutines and each of these 1000 goroutines spawns 1 goroutine each

[go-nuts] go scheduler tracing

2020-06-15 Thread envee
I am running a program which reads multiple gzipped input files and performs some processing on each line of the file. It creates 8 goroutines (1 per input file which is to be processed. the number of such files can be thought to remain 8 at the max). Each of the go routines send to a buffered c