CPU usage high on v1.37.1 on Yocto environment (while using UDS)

61 views
Skip to first unread message

Suraj Kottayi

unread,
Nov 21, 2024, 3:55:00 PM11/21/24
to grpc.io
What version of gRPC and what language are you using?

gRPC : v1.37.1
protobuf : v3.15.2

What operating system (Linux, Windows,...) and version?

Yocto dunfell

What runtime / compiler are you using (e.g. python version or version of gcc)

gnu 9.3

What did you do?
  1. Called synchronous RPC call through an insecure channel
  2. The RPC call is delegated into a UDS (unix domain socket)
  3. Another app reads this socket, performs tls authentication and send it to remote server
  4. The proto files are custom cannot be shared, but contains huge no of messages.
What did you expect to see?
  • CPU usage to be same as that of connection with a local server.
  • Client-Local Server (local server running on the same hardware) direct communication consumed less CPU
What did you see instead?
  • Client-Remote Server (server running on remote) indirect communication through another app (for tls authentication) consumes higher CPU.

cpu_high

Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).

See TROUBLESHOOTING.md for how to diagnose problems better.

Anything else we should know about your project / environment?

MV Shiva Prasad

unread,
Nov 27, 2024, 5:40:22 AM11/27/24
to grpc.io
What gRPC language are you using?

Suraj Kottayi

unread,
Dec 2, 2024, 7:15:39 AM12/2/24
to grpc.io
c++ 17
Reply all
Reply to author
Forward
0 new messages