Re: [PATCH] getdelays: show average CPU/IO/SWAP/RECLAIM delays

From: KOSAKI Motohiro
Date: Mon May 09 2011 - 01:40:39 EST


> I find it very handy to show the average delays in milliseconds.
>
> Example output (on 100 concurrent dd reading sparse files):
>
> CPU count real total virtual total delay total delay average
> 986 3223509952 3207643301 38863410579 39.415ms
> IO count delay total delay average
> 0 0 0ms
> SWAP count delay total delay average
> 0 0 0ms
> RECLAIM count delay total delay average
> 1059 5131834899 4ms
> dd: read=0, write=0, cancelled_write=0
>
> CC: Mel Gorman <mel@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Wu Fengguang <fengguang.wu@xxxxxxxxx>
> ---
> Documentation/accounting/getdelays.c | 33 +++++++++++++++----------
> 1 file changed, 20 insertions(+), 13 deletions(-)

Cool.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/