Skip to content

io_uring_wait_cqe_timeout() with a 1ms timeout not returning for seconds #810

Answered by bateyejoe
bateyejoe asked this question in Q&A
Discussion options

You must be logged in to vote

So, to summarize, the end result of all this is that the problems I was seeing on 5.19 where I could block in io_uring_wait_cqe_timeout() for multiple seconds with a 1ms timeout, are all gone in 6.1.39. I'm running the same build of my original test app that had the problems in 5.19 under 6.1.39 and I'm not seeing any extended blocking in the wait and performance is close to epoll, even when not using multishot receives. So apparently there were some internal improvements between 5.19 and 6.1.

Replies: 6 comments 28 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bateyejoe
Comment options

Comment options

You must be logged in to vote
26 replies
@bateyejoe
Comment options

@axboe
Comment options

@bateyejoe
Comment options

@bateyejoe
Comment options

Answer selected by bateyejoe
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bateyejoe
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants