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:07:15 UTC

[jira] [Created] (AMBARI-1946) Heatmap memory should not include cached memory as part of "used"

Jeff Sposetti created AMBARI-1946:
-------------------------------------

             Summary: 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


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