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

Unable to set vm.nr_hugepages = 4096 in CoreOS

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • No
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      We are setting vm.nr_hugepages = 4096 
      /etc/sysctl.d/huge.confon a HP Gen 10 system with 4 NUMA
      After reboot the value is back to 1024Here are the kernel parameters that we are using :transparent_hugepage=never
      isolcpus=1
      intel_iommu=on
      iommu=pt
      
      

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

      NAME="Red Hat Enterprise Linux CoreOS"
      VERSION="410.84.202212061416-0"
      

      How reproducible:

       

      Steps to Reproduce:

      1.sysctl -w vm.nr_hugepages=4096
      2.check the result (sysctl -a | grep nr_hugepages): value is 4096 
      3.reboot Value is back to 1024 
      

      Actual results:

      Actual results: 1024

      Expected results:

      Value should be permamently set to 4096

      Additional info:

      We are seeing the following errors in dmesg:

      pmd_set_huge: Cannot satisfy [mem 0xbc000000-0xbc200000] with a huge-page mapping due to MTRR override.

       

              tsedovic@redhat.com Tomas Sedovic
              sylabastrou Sylvain Labastrou (Inactive)
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: