Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

performance: more cost on CPU when upgrading to v0.13.0 #643

Open
LykxSassinator opened this issue Dec 27, 2023 · 1 comment
Open

performance: more cost on CPU when upgrading to v0.13.0 #643

LykxSassinator opened this issue Dec 27, 2023 · 1 comment

Comments

@LykxSassinator
Copy link

Problem Descriptions

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.

And according to profiling flame-graph, the grpcio module might introduce more cost on CompletionQueue::next().

  • Master(with v0.10.3 version)
    image

  • Upgraded pr(with 0.13.0 version)
    image

Source profiling files can be reviewed in: comparison.zip

@BusyJay
Copy link
Member

BusyJay commented Apr 16, 2024

Also check the release note in https://github.com/tikv/grpc-rs/releases/tag/v0.12.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants