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

From: hexue
Date: Mon Nov 04 2024 - 04:40:38 EST


On 11/1/2024 08:06, Jens Axboe wrote:
>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.

Sure, I'll add some liburing test cases and submit patch soon.
Thank you.

--
Xue