21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The Kb_read column<br />

The Kb_read column reports the total data (in KB) read from the physical volume<br />

during the measured interval.<br />

The Kb_wrtn column<br />

The Kb_wrtn column shows the amount of data (in KB) written to the physical<br />

volume during the measured interval.<br />

Taken alone, there is no unacceptable value for any of the above fields, because<br />

statistics are too closely related to application characteristics, system<br />

configuration, and type of physical disk drives and adapters. Therefore, when<br />

you are evaluating data, look for patterns and relationships. The most common<br />

relationship is between disk utilization (%tm_act) and data transfer rate (tps).<br />

To draw any valid conclusions from this data, you have to understand the<br />

application’s disk data access patterns, such as sequential, random, or<br />

combination, as well as the type of physical disk drives and adapters on the<br />

system. For example, if an application reads/writes sequentially, you should<br />

expect a high disk transfer rate (Kbps) when you have a high disk busy rate<br />

(%tm_act). Columns Kb_read and Kb_wrtn can confirm an understanding of an<br />

application's read/write behavior. However, these columns provide no<br />

information on the data access patterns.<br />

Generally, you do not need to be concerned about a high disk busy rate<br />

(%tm_act) as long as the disk transfer rate (Kbps) is also high. However, if you<br />

get a high disk busy rate and a low disk transfer rate, you may have a<br />

fragmented logical volume, file system, or individual file.<br />

Discussions of disk, logical volume, and file system performance sometimes lead<br />

to the conclusion that the more drives you have on your system, the better the<br />

disk I/O performance. This is not always true because there is a limit to the<br />

amount of data that can be handled by a disk adapter. The disk adapter can also<br />

become a bottleneck. If all your disk drives are on one disk adapter, and your hot<br />

file systems are on separate physical volumes, you might benefit from using<br />

multiple disk adapters. Performance improvement will depend on the type of<br />

access.<br />

To see if a particular adapter is saturated, use the iostat command and add up<br />

all the Kbps amounts for the disks attached to a particular disk adapter. For<br />

maximum aggregate performance, the total of the transfer rates (Kbps) must be<br />

below the disk adapter throughput rating. In most cases, use 70 percent of the<br />

throughput rate. In operating system versions later than <strong>AIX</strong> Version 4.3.3, the -a<br />

or -A option will display this information.<br />

Chapter 10. Performance problem determination 263

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

Saved successfully!

Ooh no, something went wrong!