iostat -x is very useful to check disk i/o activities. Sometimes
it is said that "check %util is less than 100%" or "check svctm
is less than 50ms", but please do not fully trust these numbers.
For example, the following two cases (DBT-2 load on MySQL) used
same disks (two HDD disks, RAID1) and reached almost 100% util,
but performance numbers were very different (no.2 was about twice
as fast as no.1).
# iostat -xm 10
avg-cpu: %user %nice %system %iowait %steal %idle
21.16 0.00 6.14 29.77 0.00 42.93
Device: rqm/s wrqm/s r/s w/s rMB/s wMB/s
sdb 2.60 389.01 283.12 47.35 4.86 2.19
avgrq-sz avgqu-sz await svctm %util
43.67 4.89 14.76 3.02 99.83
# iostat -xm 10[Read more]
avg-cpu: %user %nice %system %iowait %steal %idle
40.03 0.00 16.51 16.52 0.00 26.94
Device: rrqm/s wrqm/s r/s …