Re: [PATCH v9 1/1] io_uring: releasing CPU resources when polling

From: Jens Axboe
Date: Fri Nov 01 2024 - 10:06:59 EST


On 11/1/24 3:19 AM, hexue wrote:
> A new hybrid poll is implemented on the io_uring layer. Once IO issued,
> it will not polling immediately, but block first and re-run before IO
> complete, then poll to reap IO. This poll function could be a suboptimal
> solution when running on a single thread, it offers the performance lower
> than regular polling but higher than IRQ, and CPU utilization is also lower
> than polling.

This looks much better now.

Do you have a patch for liburing to enable testing of hybrid polling
as well? Don't care about perf numbers for that, but it should get
exercised.

--
Jens Axboe