why grpc server can not use as many cpus as possiable
35 views
Skip to first unread message
longguang yue
unread,
Jan 15, 2018, 1:19:43 AM1/15/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
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
mmu...@google.com
unread,
Jan 17, 2018, 7:50:30 PM1/17/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
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.