Chapter 10. Optimizing the system performance using the web console


Learn how to set a performance profile in the RHEL web console to optimize the performance of the system for a selected task.

10.1. Performance tuning options in the web console

Red Hat Enterprise Linux 9 provides several performance profiles that optimize the system for the following tasks:

  • Systems using the desktop
  • Throughput performance
  • Latency performance
  • Network performance
  • Low power consumption
  • Virtual machines

The TuneD service optimizes system options to match the selected profile.

In the web console, you can set which performance profile your system uses.

Additional resources

10.2. Setting a performance profile in the web console

Depending on the task you want to perform, you can use the web console to optimize system performance by setting a suitable performance profile.

Prerequisites

Procedure

  1. Log in to the RHEL 9 web console.

    For details, see Logging in to the web console.

  2. Click Overview.
  3. In the Configuration section, click the current performance profile.

    Image displaying the Overview pane of the cockpit interface.

  4. In the Change Performance Profile dialog box, set the required profile.

    Image displaying the Change performance profile dialog box.

  5. Click Change Profile.

Verification

  • The Overview tab now shows the selected performance profile in the Configuration section.

10.3. Monitoring performance on the local system by using the web console

Red Hat Enterprise Linux web console uses the Utilization Saturation and Errors (USE) Method for troubleshooting. The new performance metrics page has a historical view of your data organized chronologically with the newest data at the top.

In the Metrics and history page, you can view events, errors, and graphical representation for resource utilization and saturation.

Prerequisites

  • You have installed the RHEL 9 web console.

    For instructions, see Installing and enabling the web console.

  • The cockpit-pcp package, which enables collecting the performance metrics, is installed.
  • The Performance Co-Pilot (PCP) service is enabled:

    # systemctl enable --now pmlogger.service pmproxy.service

Procedure

  1. Log in to the RHEL 9 web console.

    For details, see Logging in to the web console.

  2. Click Overview.
  3. In the Usage section, click View metrics and history.

    Image displaying the Overview pane of the cockpit interface.

    The Metrics and history section opens:

    • The current system configuration and usage: Image displaying the current system configuration and usage
    • The performance metrics in a graphical form over a user-specified time interval: Image displaying the performance metrics of the CPU

10.4. Monitoring performance on several systems by using the web console and Grafana

Grafana enables you to collect data from several systems at once and review a graphical representation of their collected Performance Co-Pilot (PCP) metrics. You can set up performance metrics monitoring and export for several systems in the web console interface.

Prerequisites

  • You have installed the RHEL 9 web console.

    For instructions, see Installing and enabling the web console.

  • You have installed the cockpit-pcp package.
  • You have enabled the PCP service:

    # systemctl enable --now pmlogger.service pmproxy.service
  • You have set up the Grafana dashboard. For more information, see Setting up a grafana-server.
  • You have installed the redis package.

    Alternatively, you can install the package from the web console interface later in the procedure.

Procedure

  1. Log in to the RHEL 9 web console.

    For details, see Logging in to the web console.

  2. In the Overview page, click View metrics and history in the Usage table.
  3. Click the Metrics settings button.
  4. Move the Export to network slider to active position.

    Metrics settings

    If you do not have the redis package installed, the web console prompts you to install it.

  5. To open the pmproxy service, select a zone from a drop-down list and click the Add pmproxy button.
  6. Click Save.

Verification

  1. Click Networking.
  2. In the Firewall table, click the Edit rules and zones button.
  3. Search for pmproxy in your selected zone.
Important

Repeat this procedure on all the systems you want to watch.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.