Re: [go-nuts] Re: go scheduler tracing

2020-06-17 Thread Ian Lance Taylor
On Wed, Jun 17, 2020 at 4:40 PM envee wrote: > > Hi Robert, It is in my first post in this thread. Basically, I want to know > why all my logical processors are not being used in my program. Thanks. New goroutines are added to the run queue for the P that creates them. When a P has nothing to

Re: [go-nuts] Re: go scheduler tracing

2020-06-17 Thread envee
Hi Robert, It is in my first post in this thread. Basically, I want to know why all my logical processors are not being used in my program. Thanks. On Thursday, 18 June 2020 07:24:40 UTC+10, Robert Engels wrote: > > What is the question? > > On Jun 17, 2020, at 4:06 PM, envee > > wrote: > >

Re: [go-nuts] Re: go scheduler tracing

2020-06-17 Thread Robert Engels
What is the question? > On Jun 17, 2020, at 4:06 PM, envee wrote: > > Hi, Is anyone able to help me here ? > Here is a (simplified) snippet of the code, in case it helps answering my > query. I basically create a goroutine for every input file (assume max 8) and > then wait for processing of

[go-nuts] Re: go scheduler tracing

2020-06-17 Thread envee
Hi, Is anyone able to help me here ? Here is a (simplified) snippet of the code, in case it helps answering my query. I basically create a goroutine for every input file (assume max 8) and then wait for processing of all files to finish. Each goroutine processes a line within the file and then