23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The OST .../stats files can be used to track the performance of RPCs that the<br />

OST gets from all clients. It is possible to get a periodic dump of values from these<br />

files, for instance every 10s, that show the RPC rates (similar to iostat) by using the<br />

llstat.pl tool like:<br />

# llstat /proc/fs/lustre/osc/lustre-OST0000-osc/stats<br />

/usr/bin/llstat: STATS on 09/14/07 /proc/fs/lustre/osc/lustre-<br />

OST0000-osc/stats on 192.168.10.34@tcp<br />

snapshot_time 1189732762.835363<br />

ost_create 1<br />

ost_get_info 1<br />

ost_connect 1<br />

ost_set_info 1<br />

obd_ping 212<br />

You can clear the stats by giving the -c option to llstat.pl. You can also mention<br />

how frequently (after how many seconds) it should clear the stats by mentioning an<br />

integer in -i option. For example, following is the output with -c and -i10 (stats<br />

for every 10 seconds):<br />

$ llstat -c -i10 /proc/fs/lustre/ost/OSS/ost_io/stats<br />

/usr/bin/llstat: STATS on 06/06/07 /proc/fs/lustre/ost/OSS/ost_io/ \<br />

stats on 192.168.16.35@tcp<br />

snapshot_time 1181074093.276072<br />

/proc/fs/lustre/ost/OSS/ost_io/stats @ 1181074103.284895<br />

Name Cur.CountCur.Rate#EventsUnit\ last min avg max stddev<br />

req_waittime8 0 8 [usec] 2078\ 34 259.75 868 317.49<br />

req_qdepth 8 0 8 [reqs] 1\ 0 0.12 1 0.35<br />

req_active 8 0 8 [reqs] 11\ 1 1.38 2 0.52<br />

reqbuf_avail8 0 8 [bufs] 511\ 63 63.88 64 0.35<br />

ost_write 8 0 8 [bytes]1697677\72914212209.6238757991874.29<br />

/proc/fs/lustre/ost/OSS/ost_io/stats @ 1181074113.290180<br />

Name Cur.CountCur.Rate#EventsUnit \ lastmin avg max stddev<br />

req_waittime31 3 39 [usec] 30011\ 34 822.79 12245 2047.71<br />

req_qdepth 31 3 39 [reqs] 0\ 0 0.03 1 0.16<br />

req_active 31 3 39 [reqs] 58\ 1 1.77 3 0.74<br />

reqbuf_avail31 3 39 [bufs] 1977\ 63 63.79 64 0.41<br />

ost_write 30 3 38 [bytes]10284679\15019315325.16910694197776.51<br />

/proc/fs/lustre/ost/OSS/ost_io/stats @ 1181074123.325560<br />

Name Cur.CountCur.Rate#Events Unit \ last minavgmax stddev<br />

req_waittime21 2 60 [usec] 14970\ 34784.32122451878.66<br />

req_qdepth 21 2 60 [reqs] 0\ 0 0.02 1 0.13<br />

req_active 21 2 60 [reqs] 33\ 1 1.70 3 0.70<br />

reqbuf_avail21 2 60 [bufs] 1341\ 6363.82 64 0.39<br />

ost_write 21 2 59 [bytes]7648424\ 15019332725.08910694<br />

180397.87<br />

Chapter 20 <strong>Lustre</strong>Proc 20-27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!