ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Sposetti (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-5973) Usability: Add checks for THP to the Ambari pre-req check for Linux
Date Wed, 19 Nov 2014 16:02:34 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14218051#comment-14218051
] 

Jeff Sposetti commented on AMBARI-5973:
---------------------------------------

Hi, This change only added the host check and does not automatically turn off/disable. It
is still up to the user to decide if they want to ignore the check or turn off THP on their
own before proceeding.

> Usability: Add checks for THP to the Ambari pre-req check for Linux
> -------------------------------------------------------------------
>
>                 Key: AMBARI-5973
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5973
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.7.0
>
>
> We need to add checks for Transparent Huge Page. With it enabled, we have
> pretty horrible performance, and it's enabled by default on RHEL.
> Reference: <https://access.redhat.com/site/documentation/en-
> US/Red_Hat_Enterprise_Linux/6/html/Performance_Tuning_Guide/s-memory-
> transhuge.html>
> What we need to do pseudo code:
> if (`cat /sys/kernel/mm/redhat_transparent_hugepage/enabled` != 'never'); then  
> echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled  
> end
> We need to add a check, and then add the 'echo never' to the python script.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message