C++ grpc callback sevrer cpu usage

47 views
Skip to first unread message

Aleh Linkin

unread,
Apr 14, 2022, 7:50:17 PM4/14/22
to grpc.io
Hi, everyone.
I have grpc callback server and try to send about 1500 unary ping-pongs per second and I get about 170% CPU usage on server with 32 CPU.

I'd like to understand is it ok because of 16th threads are used by callback server or I do something incorrectly?

Thank you.

Nicolas Noble

unread,
Apr 15, 2022, 12:13:09 AM4/15/22
to Aleh Linkin, grpc.io
170% CPU usage on 32 cores shouldn't be a lot. Using typical load metrics, this is about 5% per core. The load reporting for "all of the computing power is being used at max capacity" should be 3200% in your case. Of course it depends on your reporting tool.

--
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 grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/0d27e6df-63bc-499d-b685-c0874c35df71n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages