Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B64C618151 for ; Wed, 10 Feb 2016 09:32:18 +0000 (UTC) Received: (qmail 84150 invoked by uid 500); 10 Feb 2016 09:32:18 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 84101 invoked by uid 500); 10 Feb 2016 09:32:18 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 84084 invoked by uid 99); 10 Feb 2016 09:32:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2016 09:32:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 254A32C1F58 for ; Wed, 10 Feb 2016 09:32:18 +0000 (UTC) Date: Wed, 10 Feb 2016 09:32:18 +0000 (UTC) From: "Jan Lukavsky (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-4681) ProcfsBasedProcessTree should not calculate private clean pages 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/YARN-4681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lukavsky updated YARN-4681: ------------------------------- Attachment: YARN-4681.patch Added backward compatibility, removed some warnings. > ProcfsBasedProcessTree should not calculate private clean pages > --------------------------------------------------------------- > > Key: YARN-4681 > URL: https://issues.apache.org/jira/browse/YARN-4681 > Project: Hadoop YARN > Issue Type: Improvement > Components: nodemanager > Affects Versions: 2.6.0, 2.7.0 > Reporter: Jan Lukavsky > Attachments: YARN-4681.patch, YARN-4681.patch > > > ProcfsBasedProcessTree in Node manager calculates memory used by a process tree by parsing {{/etc//smaps}}, where it calculates {{min(Pss, Shared_Dirty) + Private_Dirty + Private_Clean}}. Because not {{mlocked}} private clean pages can be reclaimed by kernel, this should be changed to calculating only {{Locked}} pages instead. -- This message was sent by Atlassian JIRA (v6.3.4#6332)