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

too many cpu cost in single_level::LocalQueue::pop #80

Open
guoxiangCN opened this issue Jun 30, 2023 · 0 comments
Open

too many cpu cost in single_level::LocalQueue::pop #80

guoxiangCN opened this issue Jun 30, 2023 · 0 comments

Comments

@guoxiangCN
Copy link

guoxiangCN commented Jun 30, 2023

here is an flame graph of tikv (storage-work-pool) when bench, i found around 15% cpu of all tikv cost in single_level::LocalQueue::pop
image

The call stack points to the crossbeam_ Epoch, this seems to be due to the overhead of an lock-free data structure. But I'm not sure if this is normal

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

1 participant