이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 4. Disabling the resource optimization service


4.1. Removing resource optimization files and data

Using Ansible to disable the resource optimization service

Perform the following steps on each system to disable and uninstall the resource optimization service.

Procedure

  1. Download the Ansible Playbook with the following command:

    $ curl -O https://raw.githubusercontent.com/RedHatInsights/ros-backend/v1.0/ansible-playbooks/ros_disable.yml
    Copy to Clipboard Toggle word wrap
  2. Run the Ansible Playbook using command:

    # ansible-playbook -c local ros_disable_and_clean_up.yml
    Copy to Clipboard Toggle word wrap

Uninstalling the playbook does not stop or remove the Performance Co-Pilot (PCP) toolkit. Note that PCP may support multiple applications. If you are using PCP exclusively for the resource optimization service, and desire to remove PCP as well, there are a couple options. You can stop and disable the pmlogger and pmcd services, or remove PCP completely by uninstalling the pcp package from the system.

Manually disabling the resource optimization service without the use of Ansible

The use of Ansible is recommended to expedite the uninstallation process. If you choose to not use Ansible, use the manual procedure that follows:

Procedure

  1. Disable resource optimization service metrics collection by removing this line from /etc/pcp/pmlogger/control.d/local

    LOCALHOSTNAME	n   y	PCP_LOG_DIR/pmlogger/ros	-r -T24h10m -c config.ros -v 100Mb
    Copy to Clipboard Toggle word wrap
  2. Restart PCP so that resource optimization service metrics collection is effectively stopped:

    $ sudo systemctl pmcd pmlogger
    Copy to Clipboard Toggle word wrap
  3. Remove the resource optimization service configuration file

    $ sudo rm /var/lib/pcp/config/pmlogger/config.ros
    Copy to Clipboard Toggle word wrap
  4. Remove the resource optimization data from the system

    $ sudo rm -rf /var/log/pcp/pmlogger/ros
    Copy to Clipboard Toggle word wrap
  5. If you are not using PCP for anything else, you can remove it from your system

    $ sudo yum remove pcp
    Copy to Clipboard Toggle word wrap

4.2. Disabling kernel pressure stall information (PSI)

Procedure

  1. Edit the /etc/default/grub file and remove psi=1 from the GRUB_CMDLINE_LINUX line.
  2. Regenerate the grub configuration file.

    [user]$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
    Copy to Clipboard Toggle word wrap
  3. Reboot the system.

Verification step

When PSI is disabled, /proc/pressure does not exist.

맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat