-
Bug
-
Resolution: Done-Errata
-
Critical
-
rhel-9.4
-
None
-
tuned-2.25.1-2.el9_6
-
None
-
Low
-
1
-
rhel-net-perf
-
ssg_core_services
-
2
-
False
-
False
-
-
None
-
N&P-25_2
-
None
What were you trying to do that didn't work?
Use tuned to set up both hugepages size via kargs on ostree system
Please provide the package NVR for which bug is seen:
tuned-2.22.1-1.4.20240530git5385fa99.el9fdp.noarch
How reproducible:
100%
Steps to reproduce
- [bootloader]
cmdline_microshift_hp=+hugepagesz=2M hugepages=15 hugepagesz=1G hugepages=1
Expected results
Kernel arguments are passed to `rpm-ostree kargs` in specified order so it's possible to set both 1G and 2M hugepages
Actual results
- in /var/log/tuned/tuned.log:
2024-07-02 03:32:55,567 INFO tuned.plugins.plugin_bootloader: rpm-ostree kargs - appending: '['skew_tick=1', 'tsc=reliable', 'rcupdate.rcu_normal_after_boot=1', 'nohz=on', 'nohz_full=', 'rcu_nocbs=', 'tuned.non_isolcpus=00000003', 'intel_pstate=disable', 'nosoftlockup', 'hugepagesz=2M', 'hugepagesz=1G', 'hugepages=15', 'hugepages=1']'; deleting: '[]' - $ cat /proc/cmdline
BOOT_IMAGE=(hd0,msdos2)/ostree/rhel-c7eb6ece2deba99088611c03998c47a2eadc306686030ab35f05438c2e13ea19/vmlinuz-5.14.0-427.22.1.el9_4.x86_64+rt crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M rd.lvm.lv=rhel/root fips=0 console=ttyS0,115200n8 root=/dev/mapper/rhel-root rw ostree=/ostree/boot.1/rhel/c7eb6ece2deba99088611c03998c47a2eadc306686030ab35f05438c2e13ea19/0 skew_tick=1 tsc=reliable rcupdate.rcu_normal_after_boot=1 nohz=on nohz_full= rcu_nocbs= tuned.non_isolcpus=00000003 intel_pstate=disable nosoftlockup hugepagesz=2M hugepagesz=1G hugepages=15 hugepages=1 - sudo journalctl:
Jul 02 03:34:12 localhost kernel: HugeTLB: allocating 15 of page size 1.00 GiB failed. Only allocated 1 hugepages.
Jul 02 03:34:12 localhost kernel: HugeTLB: hugepages= specified twice without interleaving hugepagesz=, ignoring hugepages=1
- links to
-
RHBA-2025:151205
tuned update