GOMAXPROCS basically tells you how many parallel units of work can happen at a time. It should by default be equal to the number of CPUs you have on your machine. For optimizing gRPC-go performance I won't recommend updating it manually. If there's a specific scenario that you are looking to advise feel free to share more information and we can go from there.
On Sunday, January 14, 2018 at 10:19:43 PM UTC-8, longguang yue wrote: > > Hi,all: > in my cace of a golang grpc server, i set GOMAXPROCS as 160, but > the server just use 10 cpus. i do some to optimise, but a bit improvement. > > > how to let grpc server uss as many as cpus and can process as many as > packets? > > thanks > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/209d786e-41ca-4f86-8d99-167e9311afbb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
