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

From: Jens Axboe
Date: Wed Feb 28 2024 - 09:23:58 EST



On Wed, 28 Feb 2024 17:12:51 +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: 4c73fd7498f75e06462e94b907e9cc79e0726e0c

Best regards,
--
Jens Axboe