The rapid growth of io_uring
The rapid growth of io_uring
Posted Jan 27, 2020 1:44 UTC (Mon) by farnz (subscriber, #17727)In reply to: The rapid growth of io_uring by cesarb
Parent article: The rapid growth of io_uring
While you can't have the kernel choose which buffer is in use for each pending read, you can make use of IORING_OP_POLL_ADD to poll all 1,000 network connections via the uring, and then use IORING_OP_READV to read only from the connections that are ready, using a smaller number of buffers than there are connections.
That's basically the same work level as epoll + read, but with both the epoll and the read being done asynchronously.
