Is IORING_REGISTER_IOWQ_AFF expected to work on 5.17.0? #864
Unanswered
sharpobject
asked this question in
Q&A
Replies: 1 comment
-
We're setting the SQPOLL thread to core 2 and we're running the application's main thread (the one that talks to io_uring) in a cpuset that includes only core 5. We're observing that the iou-wrk threads are always scheduled to core 2 even though their mask says they could run on other cores and other cores are idle. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
We tried using IORING_REGISTER_IOWQ_AFF today to set affinity to
02
and the resulting iou-wrk threads still have affinity3f
(which is all cores for us). Is this expected to work? Is this fixed in some later kernel? It is possible to use IORING_REGISTER_IOWQ_AFF to set the affinity of the worker threads to some mask that has no bits in common with the application's threads and no bits in common with the SQPOLL thread?Beta Was this translation helpful? Give feedback.
All reactions