Bug 1249610 - [RFE] add alias for transparent_hugepages
Summary: [RFE] add alias for transparent_hugepages
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tuned
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: Tereza Cerna
URL:
Whiteboard:
Keywords: FutureFeature, Upstream
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-03 12:01 UTC by Tereza Cerna
Modified: 2016-11-04 07:23 UTC (History)
3 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2016-11-04 07:23:43 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2479 normal SHIPPED_LIVE tuned bug fix and enhancement update 2016-11-03 14:08:42 UTC

Description Tereza Cerna 2015-08-03 12:01:48 UTC
There "transparent_hugepage" is in /etc/default/grub

# cat /etc/default/grub | grep GRUB_CMDLINE_LINUX=
GRUB_CMDLINE_LINUX="console=tty0 elevator=noop crashkernel=auto rd.lvm.lv=rhel_sheep-6/root rd.lvm.lv=rhel_sheep-6/swap console=ttyS0 transparent_hugepage=never"

and "transparent_hugepages" in /usr/lib/tuned/*/tuned.conf

# grep -ri transparent /usr/lib/tuned/*/tuned.conf 
/usr/lib/tuned/network-latency/tuned.conf:transparent_hugepages=never
/usr/lib/tuned/oracle/tuned.conf:transparent_hugepages=never

I think that it is confusing. Please add alias for transparent_hugepages into tuned.

Comment 3 Jaroslav Škarvada 2016-07-18 14:29:10 UTC
Fixed by the following upstream commit:
https://git.fedorahosted.org/cgit/tuned.git/commit/?id=cf8f326c44ac2693531de5c9dba146a783a29943

Comment 5 Tereza Cerna 2016-08-19 09:16:25 UTC
============================
Verified in:
    tuned-2.7.1-2.el7.noarch
PASS
============================

# cat /etc/tuned/testprofile1/tuned.conf
[vm]
transparent_hugepage=never
# tuned-adm profile testprofile1
# cat /sys/kernel/mm/transparent_hugepage/enabled
always madvise [never]

# cat /etc/tuned/testprofile2/tuned.conf
[vm]
transparent_hugepages=never
# tuned-adm profile testprofile2
# cat /sys/kernel/mm/transparent_hugepage/enabled
always madvise [never]

============================
Reproduced in:
    tuned-2.5.1-4.el7.noarch
FAIL
============================

# cat /etc/tuned/testprofile1/tuned.conf
[vm]
transparent_hugepage=never
# tuned-adm profile testprofile1
# cat /sys/kernel/mm/transparent_hugepage/enabled
[always] madvise never                                >>>> FAIL

# cat /etc/tuned/testprofile2/tuned.conf
[vm]
transparent_hugepages=never
# tuned-adm profile testprofile2
# cat /sys/kernel/mm/transparent_hugepage/enabled
always madvise [never]

Comment 7 errata-xmlrpc 2016-11-04 07:23:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2479.html


Note You need to log in before you can comment on or make changes to this bug.