is there a way to show which cpu is currently processing the tcp request in tcp_uring?
kolinfluence opened this issue · 1 comments
kolinfluence commented
is there a way to show which cpu is currently processing the tcp request in tcp_uring?
ihciah commented
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)