You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2014/06/02 13:25:01 UTC
[jira] [Resolved] (AMBARI-5973) Usability: Add checks for THP to
the Ambari pre-req check for Linux
[ https://issues.apache.org/jira/browse/AMBARI-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Onischuk resolved AMBARI-5973.
-------------------------------------
Resolution: Fixed
Committed to trunk
> 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.2#6252)