Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 65873 invoked from network); 6 Nov 2009 10:52:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Nov 2009 10:52:56 -0000 Received: (qmail 23825 invoked by uid 500); 6 Nov 2009 10:52:56 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 23757 invoked by uid 500); 6 Nov 2009 10:52:56 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 23746 invoked by uid 99); 6 Nov 2009 10:52:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 10:52:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 10:52:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 64045234C045 for ; Fri, 6 Nov 2009 02:52:32 -0800 (PST) Message-ID: <1663066776.1257504752392.JavaMail.jira@brutus> Date: Fri, 6 Nov 2009 10:52:32 +0000 (UTC) From: "Vinod K V (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1167) Make ProcfsBasedProcessTree collect rss memory information In-Reply-To: <1690572128.1256845439370.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774269#action_12774269 ] Vinod K V commented on MAPREDUCE-1167: -------------------------------------- Quickly looked at your patch. Few questions: - Can you find out and put some details as to how standard is {{getconf}} command? Given {{ProcfsBasedProcessTree}} is for Linux only, we are only concerned about Linux distributions. I can find it on my Ubuntu dev box, but RHEL? - I think we should keep track of rssmem everywhere in terms of bytes. This would inclue ProcessInfo.rssMem; - The behaviour when PAGESIZE is -ve should be changed. The patch gives out negative rss sizes. Instead we should throw exceptions in {{ProcessInfo.getRss()}}, {{ProcfsBasedProcessTree.getCumulativeRssMem()}} etc. > Make ProcfsBasedProcessTree collect rss memory information > ---------------------------------------------------------- > > Key: MAPREDUCE-1167 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1167 > Project: Hadoop Map/Reduce > Issue Type: New Feature > Components: tasktracker > Affects Versions: 0.20.1 > Reporter: Scott Chen > Attachments: MAPREDUCE-1167-v2.patch, MAPREDUCE-1167.patch > > > Right now ProcfsBasedProcess collects only virtual memory. We can make it collect rss memory as well. > Later we can use rss in TaskMemoryManagerThread to obtain better memory management. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.