Whamcloud - gitweb
LU-15564 osd: add allocation time histogram 50/46550/15
authorAlex Zhuravlev <bzzz@whamcloud.com>
Fri, 18 Feb 2022 08:39:12 +0000 (11:39 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 2 Nov 2022 07:12:30 +0000 (07:12 +0000)
commitf97ce54357bc91f7b1285febfc50d6087dd94c13
tree476ae8eeceaad8175a13df1f96c1477b3c6d23ed
parent9aaaebfa22ca1672bb03204d741a05b5ce93b468
LU-15564 osd: add allocation time histogram

add block mapping/allocation histogram to brw stats to debug
mballoc related issues.

$ lctl get_param osd*.*OST*.brw_stats
                           read      |     write
block maps msec        maps  % cum % |  maps        % cum %
1:    1522360 100 100   | 49272  99  99
2:          0   0 100   |    1   0  99
4:          0   0 100   |    1   0  99
8:          0   0 100   |    0   0  99
16:          0   0 100   |    0   0  99
32:          0   0 100   |    0   0  99
64:          0   0 100   |    1   0 100

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I1185386adc64e844de71e25a4e439e493e5e5bc5
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/46550
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/lprocfs_status.h
lustre/obdclass/lprocfs_status_server.c
lustre/osd-ldiskfs/osd_io.c