Troubleshooting performance issue in RHEL
Updated
I/O and file system performance can be affected by any of the following factors:
- Data write or read patterns
- Data alignment with underlying geometry
- Block size
- File system size
- Journal size and location
- Recording access times
- Ensuring data reliability
- Pre-fetching data
- Pre-allocating disk space
- File fragmentation
- Resource contention
So there are some questions we need to clarify before we proceed with the troubleshooting:
- Is this a Database or an Application system, other? Explain.
- Is this new or existing Hardware /OS / Software?
- Any recent changes in Hardware /OS / Software?
- Does this/these systems have shared SAN storage?
- Is this a node of a cluster? Type?
- Please describe the environment. Include items such as Load Balancers.
- Are there specific times/dates this issue occurs?
- During "poor" Performance testing, is the system pingable, ssh'able?
- How are you Seeing or Monitoring this poor Performance testing?
- When present, what impact does the issue have on the system? For example, programs or processes taking longer to complete? How much longer?
The following data will be required in order to troubleshoot performance issue:
-
iostat logs during your time of most heavy load. Open a separate terminal window and execute the following command:
# iostat -Ntkx 1 | tee -a CASENUMBER-$(hostname)-iostat.txt
Let this iostat utility run for at least an hour if not more. Once the time has past, please stop this process and attach the resulting file to the case.
If we are getting the latency sporadic or spontaneous, we can use collectl which is a great tool to capture the system's performance.
Additional RHEL Performance Resources
- What exactly is the meaning of value "await" reported by iostat?
- High I/O wait time
- Tuning Red Hat Enterprise Linux for Oracle and Oracle RAC performance
- What is the recommended I/O scheduler for a database workload in Red Hat Enterprise Linux?
- How to determine how much I/O load is coming currently with the value of %util appeared by running 'iostat -x' in RHEL ?
SBR
Product(s)
Category
Components
Article Type