beautypg.com

HP StorageWorks Scalable File Share User Manual

Page 83

background image

Viewing performance statistics

4–27

You can view the disk statistics stored in the

/proc/scsi/sd_iostats

and

/proc/driver/cciss/

cciss_iostats/

directories, as shown in the following examples. In these examples, the system uses

EVA4000 storage arrays:

# ls /proc/scsi/sd_iostats/

sda sdb sdc sdd sde

# cat /proc/scsi/sd_iostats/sda

index: 0 snapshot_time: 2751.766944
size reads total writes total
512 2280 2280 4152 4152
1024 47 94 16 32
2048 185 926 10 50
4096 108 864 18 144
8192 48 824 16 336
16384 17 576 4 166
32768 12 1184 5 466
65536 2 256 26 4808
131072 0 0 499 128192
262144 0 0 2 1024
total 2699 7004 4748 139370

# cat /proc/scsi/sd_iostats/sdc

index: 2 snapshot_time: 2738.568408
size reads total writes total
512 0 0 0 0
total 0 0 0 0

# cat /proc/driver/cciss/cciss_iostats/c1d1

index: 0 snapshot_time: 2815.086499
size reads total writes total
512 1 1 0 0
1024 1 2 0 0
2048 0 0 0 0
4096 6829 54632 7824 62592
8192 643 12200 1519 26048
16384 767 31304 440 18456
32768 737 51280 399 33096
65536 2264 488744 814 182208
total 11242 638163 10996 322400

The output shows the number of read and write operations of a given size to the disks. In general, larger

read and write sizes result in better performance.

You can view the information in the

/proc/fs/lustre/obdfilter/

directory as shown in the following

examples:

# find /proc/fs/lustre/ -name brw_stats
/proc/fs/lustre/obdfilter/ost9/brw_stats
/proc/fs/lustre/obdfilter/ost10/brw_stats

# cat /proc/fs/lustre/obdfilter/ost9/brw_stats
snapshot_time: 1096994351:750068 (secs:usecs)

read write
pages per brw brws % cum % | rpcs % cum %
1: 0 0 0 | 0 0 0
2: 0 0 0 | 0 0 0
4: 0 0 0 | 0 0 0
8: 0 0 0 | 1 0 0
16: 0 0 0 | 0 0 0
32: 0 0 0 | 0 0 0
64: 0 0 0 | 0 0 0
128: 0 0 0 | 39623 99 100