Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-64676

PerforamanceProfile: Setting hugepage sizes without also specifying defaultHugepagesSize breaks kernel commandline processing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.20.0
    • Node Tuning Operator
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

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

      Description of problem:

      If you set hugepages without setting defaultHugepagesSize, the template creates a broken template

      Version-Release number of selected component (if applicable):

      4.20.1

      How reproducible:

      100%

      Steps to Reproduce:

          1. Apply the following PerformanceProfile spec:
        spec:
          additionalKernelArgs:
          - rcupdate.rcu_normal_after_boot=0
          - efi=runtime
          - vfio_pci.enable_sriov=1
          - vfio_pci.disable_idle_d3=1
          - module_blacklist=irdma
          hugepages:
            pages:
            - count: 32
              size: 1G
      
          2. Check the system after reboot, looking for the additionalKernelArgs
          3. 
          

      Actual results:

          The additional args should be in /proc/cmdline

      Expected results:

          They are not.

      Additional info:

      Root cause looks to be the PerformanceProfile template which assumes that if you set any hugepages you would have also set defaultHugepagesSize, and if not it produces a profile which confuses the tuned engine.    

              titzhak Talor Itzhak
              jramsay1@redhat.com Jim Ramsay
              None
              Martin Sivak
              Liquan Cui Liquan Cui
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: