AIX Performance Resources part II: Disk I/O
AnthonyEnglish 270000RKFN Comments (2) Visits (18225)
I highlighted some of the excellent AIX performance tuning resources here. They particularly dealt with memory and paging space. Now to I/O tuning.
Fewer larger LUNs and checking queue_depth
Jaqui Lynch has the follow up article in her two-part performance tuning series. This one's on Disk I/O and Network Tuning. She deals especially with queue_depth and explains why one great big LUN with lots of spindles may need to have this tuned:
Jaqui also covers monitoring fibre channel adapters with the fcstat command. The changes will need to be done with some caution, but as I/O is more commonly the bottleneck on a slow system, it's worth looking into the systems you work on, especially the ones that are so slow that people have given up complaining about them and started complaining about you.
I implemented the memory tuning parameters on a SAP production system and it has had a marked improvement on paging space (from 24% to not in use at all now), and the dreaded revolutions of the clock hand - a complete scan of memory looking desperately for something spare - is down to 0. The vmstat -s is looking much healthier, thanks to Jaqui Lynch's first article, Paging, Memory and I/O DelaysLVM Monitoring
There is also Part II of the developerWorks article on Optimizing AIX 7 performance - Monitoring Logical volumes. This is especially helpful for placement of logical volumes if you're using local disk.
There are also good examples of how to monitor a volume group using the lvmstat command. You need to enable statistics first using
You can do this online - no need to varyoff and varyon the volume group.
Here's an example of the LVs in a volume group on a system I've been looking at. Good argument for naming your logical volumes according to the mount points rather than using lv00, lv01 etc.
When you've got a performance problem, sometimes the solution is to throw more iron at, but a simple tweak to a parameter here and there can have a vast improvement and also save money for more important things for the company ... like paying you.