Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C66401067A for ; Tue, 16 Apr 2013 14:55:16 +0000 (UTC) Received: (qmail 40629 invoked by uid 500); 16 Apr 2013 14:55:16 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 40562 invoked by uid 500); 16 Apr 2013 14:55:16 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 40524 invoked by uid 99); 16 Apr 2013 14:55:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2013 14:55:16 +0000 Date: Tue, 16 Apr 2013 14:55:15 +0000 (UTC) From: "Jeff Sposetti (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-1946) Heatmap memory should not include cached memory as part of "used" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeff Sposetti updated AMBARI-1946: ---------------------------------- Description: The "Memory Used %" is currently calculated using the formula: (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 was: 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 > 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 the formula: > (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