Andreas Dilger
2006-May-19 07:36 UTC
[Lustre-discuss] Is there any way to get ost and mds performance?
On Nov 19, 2004 01:13 +0000, Tad Lake wrote:> Is there any way to get ost and mds performance? For example, i want to > know one ost read how much bytes in one second, what should i do ?You can use llobdstat.pl to decode the obdfilter "stats" /proc entry per OST. llobdstat.pl /proc/fs/lustre/obdfilter/OST{whatever}/stats 1 it will give you stats for that OST each second. For example: R 0 ( 0 0.00Mb)/s W 0 ( 0 138.52Mb)/s R 0 ( 0 0.00Mb)/s W 0 ( 0 112.30Mb)/s R 0 ( 0 0.00Mb)/s W 0 ( 0 0.00Mb)/s st:4 R 0 ( 0 0.00Mb)/s W 0 ( 0 0.00Mb)/s R 0 ( 0 0.02Mb)/s W 0 ( 0 0.00Mb)/s R 0 ( 0 118.80Mb)/s W 0 ( 0 0.00Mb)/s R 0 ( 0 101.94Mb)/s W 0 ( 0 0.00Mb)/s shows first writes, 4 statfs RPCs, then reads. You can also use "llstat.pl" to decode the "stats" entry for all targets: llstat.pl /proc/fs/lustre/mdt/MDT/mds/stats 1 /proc/fs/lustre/mdt/MDT/mds/stats @ 1101721382.513324 Name Cur.Cnt Cur.Rate #Events Unit min avg max stddev req_waittime 0 0 111837 [usec] 5 36.10 724 49.30 req_qdepth 0 0 111837 [reqs] 0 0.36 9 0.87 req_active 0 0 111837 [reqs] 1 1.99 11 1.55 reqbuf_avail 0 0 133822 [bufs] 126 127.79 128 0.41 mds_getattr 0 0 3621 [usec] 21 33.92 122 15.03 mds_getattr_name 0 0 100 [usec] 105 128.23 178 14.49 mds_close 0 0 19257 [usec] 32 144.83 12860 386.73 mds_reint 0 0 5521 [usec] 39 6306.19 208241 19256.20 mds_connect 0 0 10 [usec]1876 2234.10 3751 631.80 mds_getstatus 0 0 10 [usec] 16 18.50 29 3.81 mds_statfs 0 0 983 [usec] 17 138.43 245 76.08 mds_sync 0 0 14103 [usec] 876 1939.98 32148 1028.23 ldlm_enqueue 0 0 48681 [usec] 42 588.13 169448 3109.87 obd_ping 0 0 19551 [usec] 17 33.60 112 17.05 Cheers, Andreas -- Andreas Dilger
Tad Lake
2006-May-19 07:36 UTC
[Lustre-discuss] Is there any way to get ost and mds performance?
Hi all: Is there any way to get ost and mds performance? For example, i want to know one ost read how much bytes in one second, what should i do ? _________________________________________________________________ ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn