Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-57025

Unable to switch to a customized tuned profile with disabled THP

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-10.0.beta
    • tuned
    • No
    • Low
    • sst_cs_infra_services
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      Following the solution[1]: How to disable transparent hugepages (THP) on Red Hat Enterprise Linux 7, 8 and 9

      During the option 1 that consists in disabling the THPs through the tuned service, it's not possible to enable the custom profile creayed with the THPs disabled:

      tuned-adm profile myprofile-nothp
      Unable to switch profile: Requested profile 'myprofile-nothp' doesn't exist.

      [1] https://access.redhat.com/solutions/1320153

      Please provide the package NVR for which bug is seen:

      kernel-6.11.0-0.rc5.22.el10.x86_64
      tuned-2.24.0-1.el10.noarch

      How reproducible:

      100%

      Steps to reproduce

      1. Install the tuned package if needed and start the service
      2. Check which profile is active
        # tuned-adm active
        Current active profile: throughput-performance
      3. Create customized profile
        # mkdir -p /etc/tuned/myprofile-nothp
        # cat /etc/tuned/myprofile-nothp/tuned.conf
        [main]
        include=throughput-performance

                 [vm]
                 transparent_hugepages=never

             4. Make the file executable
                 # chmod +x /etc/tuned/myprofile-nothp/tuned.conf

             5. Enable the profile
                 # tuned-adm profile myprofile-nothp
                  Unable to switch profile: Requested profile 'myprofile-nothp' doesn't exist.

      Expected results

      The steps described for disabling THPs through tuned to work as expected (or the documentation to be updated)

      Actual results

      Unable to enable the custom profile with THPs disabled

            jskarvad Jaroslav Skarvada
            mcasquer@redhat.com Mario Casquero
            Jaroslav Skarvada Jaroslav Skarvada
            Robin Hack Robin Hack
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: