Re: [PATCH v6] io_uring: Statistics of the true utilization of sq threads.

From: Jens Axboe
Date: Tue Dec 26 2023 - 11:32:27 EST



On Mon, 25 Dec 2023 13:44:38 +0800, Xiaobing Li wrote:
> Count the running time and actual IO processing time of the sqpoll
> thread, and output the statistical data to fdinfo.
>
> Variable description:
> "work_time" in the code represents the sum of the jiffies of the sq
> thread actually processing IO, that is, how many milliseconds it
> actually takes to process IO. "total_time" represents the total time
> that the sq thread has elapsed from the beginning of the loop to the
> current time point, that is, how many milliseconds it has spent in
> total.
>
> [...]

Applied, thanks!

[1/1] io_uring: Statistics of the true utilization of sq threads.
commit: 9f7e5872eca81d7341e3ec222ebdc202ff536655

Best regards,
--
Jens Axboe