Open LykxSassinator opened 10 months ago
When trying to upgrade the grpcio version from v0.10.3 to the latest version v0.13.0 in TiKV, it seems that it costs more CPU compared to the previous version v0.10.3.
grpcio
v0.10.3
v0.13.0
And according to profiling flame-graph, the grpcio module might introduce more cost on CompletionQueue::next().
CompletionQueue::next()
Master(with v0.10.3 version)
Upgraded pr(with 0.13.0 version)
Source profiling files can be reviewed in: comparison.zip
Also check the release note in https://github.com/tikv/grpc-rs/releases/tag/v0.12.0.
Problem Descriptions
When trying to upgrade the
grpcio
version fromv0.10.3
to the latest versionv0.13.0
in TiKV, it seems that it costs more CPU compared to the previous version v0.10.3.And according to profiling flame-graph, the
grpcio
module might introduce more cost onCompletionQueue::next()
.Master(with v0.10.3 version)
Upgraded pr(with 0.13.0 version)
Source profiling files can be reviewed in: comparison.zip