Re: [PATCH 3/3] iocost_monitor: improve it by adding iocg wait_ms

From: Tejun Heo
Date: Mon Aug 07 2023 - 14:34:19 EST


On Fri, Aug 04, 2023 at 02:50:39PM +0800, chengming.zhou@xxxxxxxxx wrote:
> From: Chengming Zhou <zhouchengming@xxxxxxxxxxxxx>
>
> The iocg can have three throttled metrics: wait, debt, delay. This patch
> add missing wait_ms to IocgStat to show the latest wait_ms of iocg.
>
> As we are here, group iocg usage percents "inflt%" and "usage%" together,
> and group iocg throttled metrics "wait", "debt" and "delay" together.
>
> Effect after changes:
>
> nvme0n1 RUN per=50.0ms cur_per=177105.713:v1053528.587 busy= +0 vrate=135.00%:270.00% params=ssd_dfl(CQ)
> active weight hweight% inflt% usage% wait debt delay
> InterfererGroup0 * 100/ 100 54.28/ 9.09 0.34 24.07 0.00 0.00 0.00
> interfered * 84/ 1000 45.72/ 90.91 0.48 41.09 0.00 0.00 0.00
>
> Signed-off-by: Chengming Zhou <zhouchengming@xxxxxxxxxxxxx>

For 1-3:

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

--
tejun