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

is there a way to show which cpu is currently processing the tcp request in tcp_uring? #168

Open
kolinfluence opened this issue May 21, 2023 · 1 comment

Comments

@kolinfluence
Copy link

is there a way to show which cpu is currently processing the tcp request in tcp_uring?

@ihciah
Copy link
Member

ihciah commented May 24, 2023

Usually the threads do not bind to cpu cores. It will be scheduled by the kernel.
If you want it, you can bind the thread to the cpu core.
You can bind by yourself, or use our util(https://github.com/bytedance/monoio/blob/master/monoio/src/utils/bind_to_cpu_set.rs)

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