-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.20.0
-
None
-
Quality / Stability / Reliability
-
False
-
-
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.
- relates to
-
OCPBUGS-36831 Wrong documentation about PerformanceProfile and hugepages
-
- New
-
- links to