Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 20. Performance
The following chapter contains the most notable changes to performance between RHEL 8 and RHEL 9.
20.1. Notable changes to performance Copier lienLien copié sur presse-papiers!
Performance Co-Pilot rebased to version 6.0
Starting in RHEL 9.2, Performance Co-Pilot (PCP) has been updated to version 6.0. Notable improvements include:
Version 3 PCP archive support:
This includes support for instance domain change-deltas, Y2038-safe timestamps, nanosecond-precision timestamps, arbitrary timezones support, and 64-bit file offsets used throughout for larger (beyond 2GB) individual volumes.
This feature is currently opt-in via the
PCP_ARCHIVE_VERSIONsetting in the/etc/pcp.conffile.Version 2 archives remain the default.
Only OpenSSL is used throughout PCP. Mozilla NSS/NSPR use has been dropped:
This impacts
libpcp,PMAPIclients andPMCDuse of encryption. These elements are now configured and used consistently withpmproxyHTTPS support andredis-server, which were both already using OpenSSL.New nanosecond precision timestamp
PMAPIcalls forPCPlibrary interfaces that make use of timestamps.These are all optional, and full backward compatibility is preserved for existing tools.
The following tools and services have been updated:
pcp2elasticsearch- Implemented authentication support.
pcp-dstat-
Implemented support for the
top-alikeplugins. pcp-htop- Updated to the latest stable upstream release.
pmseries-
Added
sum,avg,stdev,nth_percentile,max_inst,max_sample,min_instandmin_samplefunctions. pmdabpf- Added CO-RE (Compile Once - Run Everywhere) modules and support for AMD64, Intel 64-bit, 64-bit ARM, and IBM Power Systems.
pmdabpftrace-
Moved example autostart scripts to the
/usr/sharedirectory. pmdadenki- Added support for multiple active batteries.
pmdalinux-
Updates for the latest
/proc/net/netstatchanges. pmdaopenvswitch- Added additional interface and coverage statistics.
pmproxy- Request parameters can now be sent in the request body.
pmieconf-
Added several
pmierules for Open vSwitch metrics. pmlogger_farm- Added a default configuration file for farm loggers.
pmlogger_daily_report- Some major efficiency improvements.
The sadf(1) tool now generates PCP archives from native sadc(1) archives
Starting in RHEL 9, the sadf(1) tool provided by the sysstat package can generate PCP archives from native sadc(1) archives.
By default, when the - flag is used with sadc(1), sadc(1) writes the data to the standard system activity daily data file. This file is named saDD and is located in the /var/log/sa directory by default. Conversely, when no input datafile is specified, the sadf(1) tool uses the standard system activity daily data file to generate archives. Pass numbers as an argument to tell sadf(1) to generate archives from data recorded that specified number of days in the past.
To generate a PCP archive from an
sadc(1)archive recorded 2 days ago, run:sadf -l -O pcparchive=/tmp/recording -2
# sadf -l -O pcparchive=/tmp/recording -2Copy to Clipboard Copied! Toggle word wrap Toggle overflow To show a list of metrics in the PCP archive generated from an
sadc(1)archive archive, run:Copy to Clipboard Copied! Toggle word wrap Toggle overflow To show the timespace of the archive and hostname of the PCP archive generated from an
sadc(1)archivepmdumplog --label /tmp/recording Log Label (Log Format Version 2) Performance metrics from host shard commencing Tue Jul 20 00:10:30.642477 2021 ending Wed Jul 21 00:10:30.222176 2021$ pmdumplog --label /tmp/recording Log Label (Log Format Version 2) Performance metrics from host shard commencing Tue Jul 20 00:10:30.642477 2021 ending Wed Jul 21 00:10:30.222176 2021Copy to Clipboard Copied! Toggle word wrap Toggle overflow You can then analyze the PCP archive generated from an
sadc(1)archive by using PCP commands, for example:pmchart --archive /tmp/recording
$ pmchart --archive /tmp/recordingCopy to Clipboard Copied! Toggle word wrap Toggle overflow
New PCP PMDA - pmdabpf
RHEL 9 is distributed with the pcp-pmda-bpf package, which provides the pmdabpf Performance Co-Pilot (PCP) Performance Metric Domain Agent (PMDA).
The pmdabpf PMDA extracts live performance data from eBPF programs utilizing BPF CO-RE (Compile Once - Run Everywhere), that is libbpf and BTF.
RHEL is equipped with dyninst version 13.0.0
The dyninst framework is rebased to upstream version 13.0.0 This version offers the following list of enhancements:
- Improved support for AMD GPU binaries
Improved parsing of x86 instructions and C++ DWARF constructs
For more information, see the upstream documentation.
RHEL is equipped with SystemTap version 5.3
SystemTap is rebased to version 5.3, and its multithreaded parsing capability improves startup performance by reducing initialization time by several seconds.