Chapter 5. Setting up to Measure Performance of Applications
Red Hat Enterprise Linux includes several applications that can help a developer identify the causes of application performance loss.
-
Select the
Debugging Tools
,Development Tools
, andPerformance Tools
Add-ons during the system installation to install the tools OProfile, perf, and pcp. Install the tools SystemTap, which allows some types of performance analysis, and Valgrind, which includes modules for performance measurement.
# yum install valgrind systemtap systemtap-runtime
NOTE: Red Hat Developer Toolset is shipped as a Software Collection. The
scl
utility allows you to use it, running commands with the Red Hat Developer Toolset binaries used in preference to the Red Hat Enterprise Linux system equivalent.Run a SystemTap helper script for setting up the SystemTap environment.
# stap-prep
NoteRunning this script installs very large kernel debuginfo packages.
For more frequently updated versions of SystemTap, OProfile, and Valgrind, install the Red Hat Developer Toolset package perftools.
# yum install devtoolset-9-perftools
Additional Resources
- Red Hat Developer Toolset User Guide — Part IV., Performance Monitoring Tools