You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jeff Sposetti (JIRA)" <ji...@apache.org> on 2013/04/16 15:15:16 UTC
[jira] [Updated] (AMBARI-1946) Heatmap memory should not include
cached memory as part of "used"
[ https://issues.apache.org/jira/browse/AMBARI-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Sposetti updated AMBARI-1946:
----------------------------------
Assignee: Yusaku Sako
> Heatmap memory should not include cached memory as part of "used"
> -----------------------------------------------------------------
>
> Key: AMBARI-1946
> URL: https://issues.apache.org/jira/browse/AMBARI-1946
> Project: Ambari
> Issue Type: Bug
> Components: client
> Affects Versions: 1.2.2
> Reporter: Jeff Sposetti
> Assignee: Yusaku Sako
> Attachments: AMBARI-1946.patch
>
>
> The "Memory Used %" is currently calculated using thie forumla:
> (mem_total - mem_free)/mem_total
> Although this is accurate, the total includes mem_cached (file system cache), which the kernal can take back whenever it wants to.
> Therefore, formula can be doing this instead:
> (mem_total - mem_free - mem_cached)/mem_total
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira